Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a reference with code ~Need help~
Message
Information générale
Forum:
Visual Basic
Catégorie:
Fonctions API de Windows
Divers
Thread ID:
00274231
Message ID:
00274426
Vues:
32
>I tried the following only to get the "error '463' Class not registered on local machine" I regserv32 uninstalled the dll and reinstalled it... MetaFile is the class name that shows up when i use the project/reference -> Object method. How can I find out what it wants as the class name. Any ideas?
>
>
>    Dim objBlankForm As Object
>    Set objBlankForm = CreateObject("MetaFile", "C:\xe\bform1999.dll")
>
Reference your component, and declare explicitly your object as Metafile.????.

This MetaFile.??? is exactly what you need to paste in your CreateObject statement.

And by the way, your second parameter is invalid. Put nothing there. The registry will tell which DLL to launch.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform