|
-
Feb 2nd, 2000, 11:57 AM
#1
Thread Starter
Addicted Member
I need to use a Sub Main() to initiate which form my program needs to start according to the user's preferences. Do I declare the Sub main function in the General Declarations section or am I suppose to do it in a .Bas module?
-
Feb 2nd, 2000, 11:59 AM
#2
PowerPoster
In a bas module...make sure your startup form is set to Sub Main() in the Project Properties dialog as well.
Public Sub Main()
...
Your code
...
End Sub
-
Feb 2nd, 2000, 12:51 PM
#3
Thread Starter
Addicted Member
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
|