Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal vs. Non-Modal
Message
From
10/09/2002 15:26:55
 
 
To
09/09/2002 14:47:25
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00698445
Message ID:
00698992
Views:
13
This message has been marked as the solution to the initial question of the thread.
If your code is calling the non-modal form and you want to display it as modal, you can display the form using:
myform.show vbModal
I don't know of any property that you can check to see if it is modal or not.

hth.

Rhonda

>I am trying to distribute an app but on 1st run,
>I get the following error:
>
>
RunTime Error - 401
>
>Can't show a non-modal form when a modal form is displayed
>
>This happens on the 1st run because I am using an .ini file to locate
>the MSAccess database. Once the user points to the databse, the path
>is written to the .ini file. The user must point to it upon initial
>startup or any time they move it to a new location. My question is how
>can I tell if a form is modal or not?
>
>TIA for any help
Previous
Reply
Map
View

Click here to load this message in the networking platform