Click here to Skip to main content
15,899,126 members
Home / Discussions / COM
   

COM

 
GeneralRe: warning MIDL2039 Pin
Peter Ritchie23-Apr-05 7:07
Peter Ritchie23-Apr-05 7:07 
GeneralRe: warning MIDL2039 Pin
PJ Arends23-Apr-05 14:43
professionalPJ Arends23-Apr-05 14:43 
GeneralWebBrowser Key Event Pin
BorisKco13-Apr-05 6:12
BorisKco13-Apr-05 6:12 
GeneralRe: WebBrowser Key Event Pin
vishalmore17-Apr-05 21:28
vishalmore17-Apr-05 21:28 
GeneralRe: WebBrowser Key Event Pin
BorisKco19-Apr-05 3:43
BorisKco19-Apr-05 3:43 
GeneralC#/COM+-->WIN98SE Pin
langdotnet12-Apr-05 9:51
langdotnet12-Apr-05 9:51 
GeneralSystem.EnterpriseServices.ServicedComponentProxy Pin
langdotnet12-Apr-05 9:45
langdotnet12-Apr-05 9:45 
GeneralAxWebBrowser freezing on Dispose Pin
danire12-Apr-05 5:06
danire12-Apr-05 5:06 
I have a minimal C# project with a form containing a AxSHDocVw.AxWebBrowser. The project also contains a UserControl that has been given a GUID to act as an ActiveX-compnent. The UserControl has its backgroup color set (yellow) but besides that it does "nothing".

During execution the HTML code: "<html><body><object classid=\"clsid:#GUID#\"></object></body></html>"
is loaded into the AxWebBrowser and the yellow UserControl is shown.

The problem occurs after Dispose. When the form is closed it's Dispose method is called and the application freezes.

The stack trace tells me that the execution has stopped in system.windows.forms.dll!System.Windows.Forms.Control.ActiveXImpl.SetClientSite

If I explicitly call AxWebBrowser.Dispose() the application freezes at that line of code.

If I omit the ActiveX from the HTML the problem does not occur.

Any suggestions?
Thanks in advance
/Dan



GeneralPrinting an HTML page without the print dialog Pin
ijcullen11-Apr-05 21:54
professionalijcullen11-Apr-05 21:54 
GeneralRe: Printing an HTML page without the print dialog Pin
Ed K19-Apr-05 11:04
Ed K19-Apr-05 11:04 
GeneralHandling COM events from VB for Applications Pin
Anonymous8-Apr-05 5:32
Anonymous8-Apr-05 5:32 
GeneralRe: Handling COM events from VB for Applications Pin
rwestgraham8-Apr-05 15:00
rwestgraham8-Apr-05 15:00 
QuestionHow to use non .NET DLLs in .NET environment? Pin
Khang Nguyen8-Apr-05 5:30
Khang Nguyen8-Apr-05 5:30 
AnswerRe: How to use non .NET DLLs in .NET environment? Pin
rwestgraham8-Apr-05 14:40
rwestgraham8-Apr-05 14:40 
GeneralRe: How to use non .NET DLLs in .NET environment? Pin
Anonymous9-Apr-05 10:40
Anonymous9-Apr-05 10:40 
GeneralWriting COM object for C++ and VB Pin
Anonymous6-Apr-05 1:07
Anonymous6-Apr-05 1:07 
GeneralRe: Writing COM object for C++ and VB Pin
rwestgraham6-Apr-05 9:15
rwestgraham6-Apr-05 9:15 
GeneralRe: Writing COM object for C++ and VB Pin
Anonymous8-Apr-05 4:27
Anonymous8-Apr-05 4:27 
GeneralRe: Writing COM object for C++ and VB Pin
rwestgraham8-Apr-05 10:40
rwestgraham8-Apr-05 10:40 
GeneralRe: Correction to the above Pin
rwestgraham8-Apr-05 11:47
rwestgraham8-Apr-05 11:47 
GeneralRe: Correction to the above Pin
Anonymous11-Apr-05 0:02
Anonymous11-Apr-05 0:02 
GeneralRe: Correction to the above Pin
rwestgraham11-Apr-05 9:53
rwestgraham11-Apr-05 9:53 
GeneralProblem using ATL Object in other ATL Server Pin
andreasf5-Apr-05 20:26
andreasf5-Apr-05 20:26 
GeneralIHTMLDocument2 mouse handler Pin
Kharfax5-Apr-05 2:07
Kharfax5-Apr-05 2:07 
GeneralOutlook object library and windows service.. Pin
Muhammad Irfan Azam4-Apr-05 19:41
Muhammad Irfan Azam4-Apr-05 19:41 

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.