msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

VB6 Object References

 
Post new topic   Reply to topic    msvisual.com Forum Index -> OLE
Author Message
Tom Boward



Joined: 04 Oct 2007
Posts: 1

PostPosted: Mon Jun 21, 2004 3:18 pm    Post subject: VB6 Object References Reply with quote

I’m creating an application that will report dependency information for
a given Visual Basic Project. The application simply reads the .vbp
file, obtains the GUIDs, and looks to HKEY_CLASSES_ROOT for confirmation
that the resource has been registered.

The problem I’m facing is that the TypeLib Version number in VB and the
Version number in the registry don’t always agree.


Here's an example. For a given object, the registry has:

My Computer
|
+- HKEY_CLASSES_ROOT
|
+- TypeLib
|
+- {8633DD40-F3E5-1234-BB1C-FF9A9C37DE0B}
|
+- 2d.0 <-- TypeLib Version?
|
+- 0 <-- Localization Flag?
|
+- Win32 <-- File Path


The project file has:

Reference=*\G{8633DD40-F3E5-1234-BB1C-FF9A9C37DE0B}#4.0#0#PATH
\FILE.dll#FILE.dll
It is my understanding that the #4.0 in field position 2 is the TypeLib
version, and the #0 is the localization flag.


The file reports the version as 45. I'm guessing the registry is
storing a hex value, hence the 2d.0. The question is why does the vbp
value differ, and how can I get the win32 key value without knowing
which version it is listed under?

TIA,
Tom Boward

Archived from group: microsoft>public>vb>ole
Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
OLE OBJECT Control Where i Find a OLE OBJECT CONTROL in VS.NET?

OLE Object Control I want to know that where i could get the OLE control in VB.net.if any one knows please guid me. bye bye Damodar

method ~ of object ~ failed Hi! can anybody tell me why this VB lines: dim xlApp As dim xlWkb As Set xlApp = New Set xlWkb = 0, True) causes the error -2147417851 80010105 Method "~" of object "~"

shockwave object without oledrag Hi,I'm trying to find a way to give to a shockwave obj the oledrag and drop methods. Up to now I have worked around it putting a picture that when the form it's out of focus it just cover it.The only drawbacks are that you can drag a file without losing f

shockwave object without oledrag Hi,I'm trying to find a way to give to a shockwave obj the oledrag and drop methods. Up to now I have worked around it putting a picture that when the form it's out of focus it just cover it.The only drawbacks are that you can drag a file without losing f
Post new topic   Reply to topic    msvisual.com Forum Index -> OLE All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group