Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating Activex control in VB and using in VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Creating Activex control in VB and using in VFP
Divers
Thread ID:
00347663
Message ID:
00347663
Vues:
48
Hi Guys
Im new to VB and Im trying to build an Activex control to place on an HTML page.

I have a project called called project1.
In it i have a usercontrol
in the user control i have a command button called command1.
in the click event i have some code to priont to the LPT direct.

I place the activex control on a form I click the button it works fine. When i try to call the click event from another command button on the VFP Form it says object name does not exist

I call the OLEcontrol Printer in VFP
and then in the click event of the command button i use the foll.
thisform.printer.command_click()

Can any one help me. I need to trigger the click event from VFP.

TIA
Fred Besterwitch, MCP

The harder you work. The luckier you get.
Répondre
Fil
Voir

Click here to load this message in the networking platform