Click here to Skip to main content
15,905,915 members
Home / Discussions / COM
   

COM

 
GeneralRe: Does this COM dll look unregistered? Pin
gregcost5-Dec-03 5:55
gregcost5-Dec-03 5:55 
GeneralRe: Does this COM dll look unregistered? Pin
Stephane Rodriguez.5-Dec-03 6:15
Stephane Rodriguez.5-Dec-03 6:15 
GeneralRe: Does this COM dll look unregistered? Pin
gregcost5-Dec-03 8:59
gregcost5-Dec-03 8:59 
GeneralRe: Does this COM dll look unregistered? Pin
Stephane Rodriguez.5-Dec-03 9:33
Stephane Rodriguez.5-Dec-03 9:33 
GeneralRe: Does this COM dll look unregistered? Pin
gregcost5-Dec-03 17:23
gregcost5-Dec-03 17:23 
GeneralRe: Does this COM dll look unregistered? Pin
Stephane Rodriguez.5-Dec-03 20:01
Stephane Rodriguez.5-Dec-03 20:01 
GeneralCOM event cannot emit through Wrapper Class Pin
NotProfessional4-Dec-03 9:27
NotProfessional4-Dec-03 9:27 
GeneralHelp with COMException Pin
gregcost3-Dec-03 6:00
gregcost3-Dec-03 6:00 
I'm trying to set a property in the following class:


Public Class CEventObj
Member of mshtml

The property is:


Public Property returnValue As Object
Member of mshtml.CEventObj

When I try:

Dim objevent As New mshtml.CEventObjClass() OR
Dim objevent As New mshtml.CEventObj() OR
Dim objevent As New CEventObjClass() OR
Dim objevent As New CEventObj()

I get the following error, also the CSLID from the Object Browser of 3050F558-98B5-11CF-BB82-00AA00BDCE0B is different from the COMException error message

An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in Test Form .exe Additional information: COM object with CLSID {3050F48A-98B5-11CF-BB82-00AA00BDCE0B} is either not valid or not registered.

The Registry states the CSLID 3050F48A-98B5-11CF-BB82-00AA00BDCE0B from COMError message is the following:

HKEY_CLASSES_ROOT\CLSID\{3050F48A-98B5-11CF-BB82-00AA00BDCE0B}...
default(not set)
HKEY_CLASSES_ROOT\CLSID\{3050F48A-98B5-11CF-BB82-00AA00BDCE0B}\InprocServer32...
Assembly(Microsoft.mshtml, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
Class(mshtml.CEventObjClass)
Runtime version(v1.0.3705)

The Registry states the CSLID 3050F558-98B5-11CF-BB82-00AA00BDCE0B from the Object Browser view is the following:

HKEY_CLASSES_ROOT\Interface\{3050F558-98B5-11CF-BB82-00AA00BDCE0B}
default(DispCEventObj)
HKEY_CLASSES_ROOT\Interface\{3050F558-98B5-11CF-BB82-00AA00BDCE0B}\ProxyStubClsid...
default(00020420-0000-0000-C000-000000000046)
HKEY_CLASSES_ROOT\Interface\{3050F558-98B5-11CF-BB82-00AA00BDCE0B}\ProxyStubClsid32...
default(00020420-0000-0000-C000-000000000046)
HKEY_CLASSES_ROOT\Interface\{3050F558-98B5-11CF-BB82-00AA00BDCE0B}
TypeLib(3050F1C5-98B5-11CF-BB82-00AA00BDCE0B)

Just to be sure I ran regsvr32 mshtml.dll sucessfully

What is going on? the CSLId from the COMException InprocServer32 points to Class(mshtml.CEventObjClass). H E L P!


Thanks, GregC
GeneralProblems creating new objects Pin
TobiMcNamobi2-Dec-03 23:49
TobiMcNamobi2-Dec-03 23:49 
GeneralRe: Problems creating new objects Pin
TobiMcNamobi4-Dec-03 4:07
TobiMcNamobi4-Dec-03 4:07 
GeneralReading configuration information from a COM+ application Pin
Ivan Fernandez2-Dec-03 7:03
Ivan Fernandez2-Dec-03 7:03 
Questioncan wmi-client access the remote wmi on a machine outside of lan network? Pin
Habbit1-Dec-03 21:43
Habbit1-Dec-03 21:43 
GeneralCatching Outlook events Pin
derzellner1-Dec-03 20:02
derzellner1-Dec-03 20:02 
GeneralUse connection point in Dll. The process that load the Dll can not quit completely. Pin
chengliang1-Dec-03 19:35
chengliang1-Dec-03 19:35 
GeneralRe: Use connection point in Dll. The process that load the Dll can not quit completely. Pin
Heath Stewart4-Dec-03 10:46
protectorHeath Stewart4-Dec-03 10:46 
GeneralRe: Use connection point in Dll. The process that load the Dll can not quit completely. Pin
chengliang7-Dec-03 15:20
chengliang7-Dec-03 15:20 
GeneralRe: Use connection point in Dll. The process that load the Dll can not quit completely. Pin
Heath Stewart8-Dec-03 2:21
protectorHeath Stewart8-Dec-03 2:21 
Generalneed the header file for wsnprintf() signature Pin
derik_konark29-Nov-03 23:56
derik_konark29-Nov-03 23:56 
GeneralRe: need the header file for wsnprintf() signature Pin
Roger Stewart9-Dec-03 9:01
professionalRoger Stewart9-Dec-03 9:01 
GeneralType of Control Pane Pin
Danis Solovyov27-Nov-03 22:33
sussDanis Solovyov27-Nov-03 22:33 
GeneralDrag & Drop Pin
K-ballo27-Nov-03 15:43
K-ballo27-Nov-03 15:43 
GeneralRe: Drag & Drop Pin
Prakash Nadar27-Nov-03 16:09
Prakash Nadar27-Nov-03 16:09 
GeneralVB COM problem Pin
andyhk9527-Nov-03 15:03
andyhk9527-Nov-03 15:03 
GeneralRe: VB COM problem Pin
Brian Shifrin1-Dec-03 7:07
Brian Shifrin1-Dec-03 7:07 
GeneralRe: VB COM problem Pin
andyhk951-Dec-03 13:39
andyhk951-Dec-03 13:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.