Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create DLL called from VB showing a form
Message
From
18/05/2001 17:22:50
Pamela Bulmahn
The University of Iowa
Iowa, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Create DLL called from VB showing a form
Miscellaneous
Thread ID:
00509001
Message ID:
00509001
Views:
55
I have a requirement to generate data from VFP for a scheduling process written in VB. The VFP program must ask the user for some information to determine the type of information to send back. The VFP program needs to be a .DLL rather than an .EXE so that the VB program will wait for the VFP process to complete before resuming execution.

I have written the data collection logic, can call it from the VB routine and can get data back, but... I can not figure out how to communicate with the user from the VFP program to get the selection criteria.

The program that I have written creates a class based on custom and is OLEPublic. I attempted to add a form to the class and added the form objects in code, which seem to have been created but it will not show. I get an error if I try to use the Show method and simply making it visible doesn't do anything.

I then tried to use a messagebox but it errors on "User Interface option not allowed at this time."

I know this can be done, but I can't figure out how.

Thank you in advance for any help you can provide.
Pamela.
Next
Reply
Map
View

Click here to load this message in the networking platform