By Dominic Olivastro.
Previously I had posted (in the VB Helper discussion group) that you can not use CommandLine or APP.Name, in a DLL. Since then, I've discovered that you *CAN* use the WinAPI function, GetCommandLine, which returns both the APP.Name and the command line. This won't work in the debugger, but it will in the compiled executable.
|