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

COM

 
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 
I’m a Network engineer I’m not programmer heavy and I think I understand what you are saying.

I did try the code exactly as stated in the article but I ran into other problems (below) with the dim statements. What I was attempting to do was to go a different way. I was hoping I could set the field True in the CEventObjclass (which I thought this code is trying to do) and if I could do that I was hoping I could set return value true always regardless of an onError event so that I could continually disable script error checking.

Ok that being said are you saying that the field being made available through the interfaces (really address pointers), passed in a sense to its subscribers (a webbrowser control) is really a property of IE? Am I correct in understanding what you are saying?

I’m getting Com errors with the standard dims described in the article.

The first Interface dim works fine:
dim withevents for HTMLDocument

The second interface dim does not work:
Dim WithEvents objwind As New mshtml.HTMLWindow2()
Additional information: COM object with CLSID {D48A6EC6-6A4A-11CF-94A7-444553540000} is either not valid or not registered.

And of course the third does not work either:
Dim objevent As New CEventObj() did not work as stated in the article
Additional information: COM object with CLSID {3050F48A-98B5-11CF-BB82-00AA00BDCE0B} is either not valid or not registered.

In trying to resolve the COMException for the dim of Interface CEventObj I have tried un-registering and re-registering the interop dll Microsoft.mshtml.dll in \Program Files\Microsoft.net\Primary Interop Assembles\

Any ideas?

I get the same kind of error when trying the code it exactly in the KBase Article. Please let me know if my understanding now about passing the field is correct.

After all I never get upset about this stuff everything we do is a learning experience.


Thanks, GregC
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 
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 

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.