Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create DLL called from VB showing a form
Message
De
18/05/2001 17:22:50
Pamela Bulmahn
The University of Iowa
Iowa, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Create DLL called from VB showing a form
Divers
Thread ID:
00509001
Message ID:
00509001
Vues:
56
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform