Click here to Skip to main content
15,923,576 members
Home / Discussions / COM
   

COM

 
GeneralRe: IIS - Automation - COM - ASP Pin
Xiangyang Liu 刘向阳12-Dec-03 4:29
Xiangyang Liu 刘向阳12-Dec-03 4:29 
QuestionHow to call 16 bit component in a 32 bit Operationg system Pin
Mohan Babu D9-Dec-03 20:32
Mohan Babu D9-Dec-03 20:32 
AnswerRe: How to call 16 bit component in a 32 bit Operationg system Pin
Abhishek Srivastava9-Dec-03 22:05
Abhishek Srivastava9-Dec-03 22:05 
GeneralCOM and ATL Pin
Judah Gabriel Himango9-Dec-03 5:49
sponsorJudah Gabriel Himango9-Dec-03 5:49 
GeneralRe: COM and ATL Pin
Abhishek Srivastava9-Dec-03 21:52
Abhishek Srivastava9-Dec-03 21:52 
GeneralLooking for a 'RPC/COM Call Monitor' tool Pin
ohadp9-Dec-03 2:00
ohadp9-Dec-03 2:00 
QuestionDoes this COM dll look unregistered? Pin
gregcost5-Dec-03 1:50
gregcost5-Dec-03 1:50 
AnswerRe: Does this COM dll look unregistered? Pin
Stephane Rodriguez.5-Dec-03 2:47
Stephane Rodriguez.5-Dec-03 2:47 
GeneralRe: Does this COM dll look unregistered? Pin
gregcost5-Dec-03 5:47
gregcost5-Dec-03 5:47 
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 

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.