Problem is solved. There are two Errors:
1. Msgbox is not being shown. I use messagebox.show .instead.
2. There is always a first commandline-arg containig the program-Name. So the setup-form has never been called.
Best regards
Thomas
User Profile
Collapse
-
Sub Main not being executed in complied program
Hi there,
I've written a Programm which shall be started with or without Parameters. Without Parameters, a setup-form is loaded, with Parameters, a FTP-Transfer-form is loaded. I've included a Sub main-procedure and deactivated the Framework and everything works fine but only within the IDE. If I start the compiled exe-file, the Sub main is noz executed.
Here's the code:
...Code:Public Sub Main() Dim lDoSetup
No activity results to display
Show More
Leave a comment: