Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
To use a dll in fox
Message
From
09/01/2003 13:23:30
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00739800
Message ID:
00739899
Views:
5
>i want to use a dll in fox, example CRAXDRT o crystal or one that i made myself in vb or c#. i go to the menu of fox, tools, option, control and make an add. but i still dont know how to use, cause i dont see them.
>
>can somebody can send me a code example and some guide?
>
>regards,
>
>Ing. Carlos Gomez Collado


Assuming it's a COM DLL, you'd instantiate (get a reference to it) using CreateObject() as in:
oWSH = CreateObject("WScript.Shell")
oCrystal=CreateObject("Crystal.CRPE.Application")
See: http://fox.wikis.com/wc.dll?Wiki~CreateObject~VFP

Note: Don't forget you can post in Spanish, if you want, in the UT's Spanish language section.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Reply
Map
View

Click here to load this message in the networking platform