Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveX for HealthCare
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00106776
Message ID:
00106806
Vues:
24
>>>Does anyone have any experience getting ActiveX for Healthcare working in VFP? >>I can't quite figure out the syntax I should be using for the CREATEOBJECT >>call....
>>If you drop ActiveX on form/class, save it and then look at code in Class
>>Browser, it may give some hints, I hope.
>
>No such luck. :-( It isn't an OCX, it's a DLL. The Visual Basic sample that comes with it reads like this.
>
>It is important for applications to both properly connect and disconnect from the AHCMessenger.
>1. Create an AHCMessenger object
>
Dim oAHC As New AHCMessenger
>
>2. Call the Connect method on the object and supply the registered application name
>
    Dim oMsgMan As IHCMessageManager
>    Set oMsgMan = oAHC.Connect("MyApplication")
>
>3. When finished, call the Disconnect method and clear the AHCMessenger object
>
    oAHC.Disconnect
>Set oAHC = Nothing
>
>
>I've tried CREATEOBJECT('AHCMessenger'), and several variations, but each time, it can't find the class. Do I need to DECLARE DLL here, instead?

I would think so. Does VB-sample contains any kind of DECLAREation?
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform