>>>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.