Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't use My.vcx
Message
 
 
To
15/11/2006 19:51:48
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01170124
Message ID:
01170525
Views:
12
Hi Eugen,

You can open my.vcx in the Class Browser and rename mybase.vcx to any other name. After that you can either rebuild my.app or delete it. I'm not sure why it was included at all.

>I would like to use the new My classlib of the Sedna October CTP, but it seems I set a trap for myself years ago, when I created a Baseclass library named 'Mybase.vcx' containing all my first VFP- derived classes like mytextbox, myspinner, myform...
>
>Now I can instantiate:
>
>LOCAL My AS My
>My = NEWOBJECT('My', 'my.vcx')
>
>and it works as long as I don't use one of my own baseclasses - or their children. Then the My. object does not contain the namespaces Computer, App or Settings any more.
>In a compiled App I get the error 'Unknown Element App'.
>
>Will I have to rename my basic classlib - and how, without breaking all my derived classes?
>
> *** Sorry, seems to be misplaced here - I posted this thread again in category Sedna
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform