ACC: Calling RegQueryValue() to Get an OLE Object Class Name (99322)
The information in this article applies to:
- Microsoft Access 1.0
- Microsoft Access 1.1
- Microsoft Access 2.0
This article was previously published under Q99322 SUMMARY
Advanced: Requires expert coding, interoperability, and multiuser skills.
The RegQueryValue() function, found in the Microsoft Windows SHELL.DLL
file, uses an OLE ClassKey (such as PBRUSH or MSGRAPH) to obtain
the information about that class from the REG.DAT file.
This article describes the way the RegQueryValue() function obtains the
Object Class Name from the OLE Registration Database REG.DAT file.
Although only the procedure to obtain the Object Class Name is described
here, other information, including the current location of the OLE
server and the types of <Primary VERBS> available to the object, is
also available.
REFERENCES
For more information about finding the ClassKey of an embedded object,
please see the following article here in the Microsoft Knowledge Base:
99319 ACC: Finding the OLE ClassKey of an Embedded Object (1.x,
2.0)
Microsoft Windows "Programmer's Reference," version 3.1, Volume 2,
page 282
Modification Type: | Major | Last Reviewed: | 5/9/2003 |
---|
Keywords: | kbinfo kbprogramming KB99322 |
---|
|