Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveX component can't create object
Message
Information générale
Forum:
Internet
Catégorie:
Active Server Page
Divers
Thread ID:
00385280
Message ID:
00385293
Vues:
13
>I use a VFP COM done with VFP SP3. It a sample COM that have one procedure.
>When if create the object in a ASP page I get this error:
>
>Microsoft VBScript runtime error '800a01ad'
>
>ActiveX component can't create object
>
>/mfug/mfugreport.asp, line 3
                       ^^^^^^ It line 2 Sorry.
>
>I can create the object on me VFP command window.
>What a my missing?
>
>This is the ASP code:
>
>< %'Instance registered VFP COM Server
>Set oVFPObject = Server.CreateObject("mfugserv.mfugserv")
>
>If IsObject(oVFPObject) Then
>
>  ' Call VFP DLL -- let it do the rest of the work
>
>  x=oVFPObject.MFUGReport()
>
>  'Release object variable
>  Set oVFPObject = Nothing
>Else
>  Response.Write("Could not load COM Object MHCom.MHCom")
>
>End if% >
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform