Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mtdll, stored procedure, or what?
Message
From
05/07/2003 13:10:38
 
 
To
05/07/2003 11:59:17
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00807175
Message ID:
00807184
Views:
22
This message has been marked as the solution to the initial question of the thread.
Hi David

>what I'm looking for is how to get enhanced functionalities from VFP-created utilities but do it from an ASP page, via VBScript, or whatever is the means for an interactive web page to call VFP functionality.
>
>So, HOW do I do that...or where can I look to find out?

Basically you need to create an instance of your DLL's OLEPUBLIC class in your script.

Assuming your DLL is named "VFPMTDLL" and it contains a class definition named "VFPCLASS" then you could access it in VBScript like this:
[%

' *** Instantiate the class
Set oVFPObject = CreateObject( "VFPMTDLL.VFPCLASS" )

'*** Call a method on it
cRetVal = OVFPObject.DoSomething()

%]
NB: Replace "]" with (>) and "[" with (<) in script
----
Regards
Andy Kramek
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform