|
-
May 17th, 2002, 11:20 PM
#1
Thread Starter
New Member
Forms and Message Box do not show on Active EXE
Hi, I created an Active EXE that contain a visible form, and that also uses a Main() sub as the start up. The form can be shown when a client makes a call to the Active EXE's public class. However, when I try to run the Active EXE in a stand alone fashion, my form and message box do NOT show up! Even after I put form.show in the Main() sub. Can anyone tell me why this is happening?
-
May 18th, 2002, 04:04 AM
#2
Hyperactive Member
Not sure. Are you positive you've set the startup properly?
Also, I was always under the impression that ActiveX EXEs were just for creating objects from.. not to run stand alone.. I guess they should do though.
Try changing the startup object to the form, rather than Sub Main().
-
May 18th, 2002, 05:36 AM
#3
It should work fine and you can use App.StartMode to see if it was startes as an exe or a component.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|