Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form disappears
Message
From
02/09/2008 19:12:31
Neil Mc Donald
Cencom Systems P/L
The Sun, Australia
 
 
To
02/09/2008 19:03:12
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01344341
Message ID:
01344343
Views:
11
Maybe, open the form as a dbf and pack it, after you back it up first.

>Here is something wierd. I have an old app that hasn't been used for a couple of years. It still runs fine on my PC but when loaded on another PC will start but the mainform is nowhere to be seen. The following code in in my login form and launches the mainform.
>
>sele control
>loca for allt(item) = "firstform"
>*set step on
>if found()
>	firstform = allt(value)
>*	try
>		do form &firstform
>*		catch
>*			messagebox("Cannot launch " + &firstform, 16)
>*		endtry
>*	else
>*		messagebox("Cannot locate the main form.",16)
>endif
>thisform.release
>
>The try/catch and the else phrase was added in an attempt to find out if the users pc couldn't find the form. Now here is what's wierd, on MY PC the program works fine without the added code, but with the added code the program starts and runs but the main form is gone. The debugger shows that the mainform.visible has been set to false. Has anyone run into something like this before?
>
>Thanks
Regards N Mc Donald
Previous
Reply
Map
View

Click here to load this message in the networking platform