Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a reference with code ~Need help~
Message
General information
Forum:
Visual Basic
Category:
Windows API functions
Miscellaneous
Thread ID:
00274231
Message ID:
00274426
Views:
31
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform