Results 1 to 3 of 3

Thread: Forms and Message Box do not show on Active EXE

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    2

    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?

  2. #2
    Hyperactive Member
    Join Date
    Apr 2002
    Location
    uk
    Posts
    327
    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().

  3. #3
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    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
  •  



Click Here to Expand Forum to Full Width