Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use proc. in Class Definitions.
Message
From
08/09/1998 01:40:33
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
08/09/1998 01:35:42
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00133942
Message ID:
00133946
Views:
13
>>>I want to use the functions / procedures in REgistry.prg
>>>available in samples/classes .
>>>
>>>I nkow how to use the procedures in DLL/VCX.
>>>ie we use
>>>ofox = createobject()
>>>and then use ofxox.method
>>>
>>>Since I have CLass Definition in PRG how to use it.
>>>
>>>awaiting early answer,
>>You use "set procedure to cProcFile".
>
>Thanks Cetin. It is working.
>Should I use the rest the same way
>ie createobject and so on ?
However you like. Since it now knows where the class definition is, it's used. From createobject help definition :
"Visual FoxPro searches for the class or OLE object in the following order:

1. Visual FoxPro base classes.
2. User-defined class definitions in memory in the order they were loaded.
3. Classes in the current program.
4. Classes in .VCX class libraries opened with SET CLASSLIB.
5. Classes in procedure files opened with SET PROCEDURE.
6. Classes in the Visual FoxPro program execution chain.
7. The OLE Registry."
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform