Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DLL Registration
Message
De
19/03/2003 06:25:39
Leo Kool
Agis Automatisering BV
Harmelen, Pays-Bas
 
 
À
19/03/2003 01:52:01
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00767393
Message ID:
00767430
Vues:
15
I've a little proc to do this in VFP:
Procedure mvRegister(tcDll, tcPath, tlUnregister)
	Local loShell
	loShell = CreateObject('WScript.Shell')
	loShell.Run('Regsvr32 ' + ForcePath(tcDll, tcPath) + Iif(tlUnregister, ' /u', '') + ' /s', 0, .T.)
EndProc
HTH,
Leo

>Hi,
>
>Is there a way to create a program that will register a dll?
>what I do right now is I register the dll by typing REGSVR32 + Path of Dll + Dll Name in the run command of windows.
>
>Thanks in advance.
>Mike
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform