Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need help registering 3rd party vcx class
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00594050
Message ID:
00594063
Views:
25
No need to apoligize. That is what this forum is for. Welcome aboard.

You do not need to register a VCX. This is a VFP Class Library. Look at CreateObject or NewObject in the VFP Help.

In general, there are two ways to use a class in the classlib:
set classlib to VCX_Name [additive]
oWhatever = createobject('class_name')

OR

oWhatever = newobject('class_name', 'VCX_Name')
Then you can set properties of the object or call methods of the object:
oWhatever.PropertyX = 'X' 
oWhatEver.SomeMethod()

OR

with oWhatever
   .PropertyX = 'X' 
   .SomeMethod()
endwith
>sorry guys but i am real new to vfp and oop programming in general. i want to use some objects that are in a third party vcx in my forms. how do i register the vcx class and then register the objects? have looked at a couple of reference manuals but i guess it is so simple i am overlooking it. then the last question is after i get this to work and create an .exe. does the recipient person need to register the controls on their machine or will the .exe take this into account?
>
>thanks,
>
>nancy
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform