Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is this the way 'do form ...' is supposed to work?
Message
From
15/07/2003 18:03:36
Joel Leach
Memorial Business Systems, Inc.
Tennessee, United States
 
 
To
12/07/2003 00:08:47
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00809526
Message ID:
00810454
Views:
13
Hi Bill,

>I have an exe with nothing but classlibs in it (myLibraries.exe)
>I have another exe with no classlibs in it (myMain.exe). It has "set classlib to myClasses in myLibraries.exe".
>
>A class inside myLibraries.exe does a "Do Form ....."
>During Runtime:
>When I run myMain.exe,
>If the form is not in myLibraries.exe, I get an error "...scx does not exist", even though it's inside myMain.exe.
>
>The classes in myLibraries call prgs that are not inside myLibraries.exe and they are found (although they are in a procedure file file with "set procedure" inside myMain.exe).
>

Mark is correct. The class libraries and forms must be in the same app/exe. There is a work around in the MSKB, but it was too painful for me.
Joel Leach
Microsoft Certified Professional
Blog: http://www.joelleach.net
Previous
Reply
Map
View

Click here to load this message in the networking platform