Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding methods to a class object
Message
From
15/08/2007 19:44:20
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01248400
Message ID:
01248412
Views:
31
I understood about half of that. I think I'm tired. I'll come back to it tomorrow, but if this helps, it is an OLE on a form right now, but I want to just have the OLE in a PRG so I can create a DLL that is accessed from another EXE during runtime.

>>Almost. OLEPUBLIC is just a keyword, like PUBLIC. But I am trying to make a PRG-based class of the visual OLE that is based on Winsock. I didn't know that converting from the visual to code was an option in the Class Browser.
>>
>
>Take your existing form, open it in the class browser, then use View Code button.
>
>Grab the code and translate it into the program.
>
>Unfortunately, I'm afraid you would run into limitation. You would not be able to add an object to the class based on session. It has to be a form.
>
>Or you can have two classes. One is session based and another Winsock based. This way it would work.
>
>>>Are you working with the existing visual form class and trying to convert it into OLEPUBLIC class based on session?
>>>
>>>Start from the visual form and check the code in the Class Browser. Then convert it.
>>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform