Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EXECSCRIPT and (EXE) classlibs
Message
From
06/12/2004 15:37:24
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00967239
Message ID:
00967308
Views:
12
>>>>I have the following code that is executed in a EXECSCRIPT:
SET CLASSLIB TO MyClass IN MyExe.EXE ALIAS XXX1 ADDITIVE
.
>>>>I consistently get a dialog wanting to locate the 'missing' classlib.
>>>>I've tried specifying the full path of the .EX but still no joy.
>>>>
>>>>Any ideas?
>>>>
>>>>Thanks
>>>
>>>Jim, I don't see that at all. What else is in your EXECSCRIPT? Are you sure that MYCLASS is a .VCX class library, and not a class in the library (of some other name)?
>>
>>Sorry, Fred, I thought I had not sent this because it was only partial...
>>
>>What I get the needing the classlib located on is a subsequent CREATEOBJECT().
>>The class *IS* in the SETted classlib of above yet it indicates cannot find C:\MyApp\MySource\MyClasses\Myclass1.vcx!
>>
>>The execscript is running 'under' an exe - I revise while in the exe, then I tell it to run it.
>>The class in question *IS* in the SET classlib. However, the specific class is reasonably 'complex' with other classes, some in another classlib, used in it. I *do* have a set classlib for the other class too.
>>
>>I've tried a few things and it just won't work UNLESS I make the named class lib(s) available in the path or if I do LOCATE them when asked.
>>
>>Thanks for any ideas.
>
>Ah, now I see what you're saying. It appears to be fixed in VFP9, but in VFP8/SP1, it can't find the .EXE file.

Thanks, Fred (and again sorry for the quick trigger on the first message).
I really need it now, but VFP9 is MUCH better than never.
I guess that you're surmising that it can't find the .EXE?

cheers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform