Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MTS
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
MTS
Divers
Thread ID:
00226588
Message ID:
00226588
Vues:
71
HI:

I need register an COM object in a package in MTS from VFP

I have this code:

catalog = CreateObject("MTSAdmin.Catalog.1")
packages = catalog.GetCollection("Packages")
newPack = packages.Add
newPackID = ''
newPackID = newPack.Key
newPack.Value("Name") = "Paquete2"
packages.SaveChanges
componentsInNewPack = packages.GetCollection("ComponentsInPackage", newPackID)
util = componentsInNewPack.GetUtilInterface
util.InstallComponent("c:\web\pruebas7\proy2.dll", "c:\web\pruebas7\proy2.tlb","")
Return

The package is created but the com object is nos inserted. I think the problem is in the last line because there is an adv with "you have not memory to..."

The same code traslated to VBScript in a .ASP have the same problem.
Any help?

TIA

Alberto Rodriguez
Spain
Répondre
Fil
Voir

Click here to load this message in the networking platform