Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Let/get/set or something
Message
General information
Forum:
Visual Basic
Category:
ActiveX controls
Miscellaneous
Thread ID:
00438845
Message ID:
00438889
Views:
12
>>Using VB 6 in an ActiveX EXE with a severe time crunch ...
>>
>>Anyone have a good example of let/get/set (or ...) What I want to do is create a a pair of class modules (or ...) and be able to access properties in the following manner:
>>
>>x = class1.property1
>>y = class2.property1
>>
>>a = class1.property2
>>b = class2.property2
>>
>>....
>>Maybe, I am barking up the wrong tree and class mods are not the best way achieve this result. Any input is good input.
>>
>>Thanks in advance,
>
>You can create public properties the sloppy way by simply creating public module level variables and directly accessing them without using property let/get.

I need to be able to access these from a createobject in other languages in a classic form how can I do that
myObj.TargetDir = "c:\temp"
myObj.TargetFile = "temp.log"
myObj.SourceDir = "h:\testing"
myObj.MyActionExecution
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform