Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filename.vcx is not an object file.
Message
 
To
17/09/1997 16:26:02
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00050451
Message ID:
00050473
Views:
23
>>>>Hello guys,
>>>>I have added some classes to the "wizstyle.vcx" in 3.0b,
>>>>and when I try to open those clases in 5.0 I receive the
>>>>message "wizstyle.vcx" is not an object file. Any ideas in
>>>>what could it be ?
>>>>=THIS.thanks("in advance")
>>>
>>>Luis,
>>> swapping Vcx's between 3 & 5 is not a great idea... The problem is, the VCX stores a compiled version of your VCX stuff inside, and when the VFP 5 sees the 3.0 compiled stuff, it freaks out..
>>>
>>>(Before doing this.. Please backup your files!!!)
>>>
>>>On this note, in your command window type the following:
>>>
>>>(Do This is in VFP 5!!!)
>>>
>>>USE .VCX
>>>REPLACE all Objcode with ""
>>>
>>>USE
>>>
>>>Now try to open your VCX, normally... This should suffice... However, you will have the same sort of problem going back down to VFP 3..
>>>
>>>Thanx!
>>>
>>>Tony Miller
>>>Vancouver, Wa
>>
>>Thanks Tony, it worked..!!
>
>Luis,
> It is a pain, but you may have to watch out for this, I tried this once or twice, and sometimes it would not work..
>
> Do you need to work in both versions??
>
>Thanx!
>
>Tony Miller
>Vancouver, Wa

No,I don't need to work in both versions. I am just moving one project from 3.0b to 5.0, and you know what, I found after I tried what you said,
that COMPILE CLASSLIB fix the problem also, which make sense.
Thanks again for your help.
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Previous
Reply
Map
View

Click here to load this message in the networking platform