My c# app crashes on closing due to AxWebBrowser - I need some ide

dotnet framework

    Next

  • 1. c# dcom server, dcom client
    I know this is going to sound wierd but believe me we have reasons for this! We have a C# dcom server, works fine. We also have a DCom client in C#, for the same server. So the only problem we have is that we dont know how to using C# register for an event thorwn by C# but all done trhough DCom. We are using the type.InvokeMember method in order to make all hte calls because we were unalbe to import a C# tlb into another C# project. Please any pointers will be greatly appreciated!
  • 2. C# dcom component
    I have created a C# library, and it registers with COM just fine, I have created another app that calls it using COM and it appears to work. My only problem is that I have to use DCOM to call this library. I have checked dcomconfig and my component is not there, not as a guid and not by name. What do I have to do to add my component to DCOM? what registry keys do I have to add? I have added a few that I found on some website and while something shows up on dcomconfig, it doesnt work, I get the class not registered error. Any help is very welcome. Thanks.
  • 3. Is there a way to determine if the CD-ROM is busy.
    I am using VB .NET 2003. I am automating an application which reads the CD-ROM frequently. My application must work when CD-ROM is finished its reading. I have looked into a timer but I have not figured out the correct value for such a timer. Is there an API, Event or function call available for this? I can not seem to find any code or API anywhere on this.

My c# app crashes on closing due to AxWebBrowser - I need some ide

Postby ZGF2aWQgaG9kZ3Nvbg » Wed, 21 Sep 2005 10:14:01 GMT

However it happens after the managed code had been unloaded. The error 
message I get says

The exception ( 0xc0020001) occurred in the application at location 0x7c81eb33

this appears to be happening as it's trying to unload the activeX control, 
which is then trying to call back into managed code that is no longer there 
...

I'm hosting the control inside a System.Windows.Forms.UserControl, if that 
makes any difference, and the Dispose is getting called.

This is driving me crazy. The same Html renderer worked under in our 
previous app used in almost exactly the same way, but now no longer does.

thanks

RE: My c# app crashes on closing due to AxWebBrowser - I need some ide

Postby ZGF2aWQgaG9kZ3Nvbg » Wed, 21 Sep 2005 11:11:02 GMT

as a quick follow up: it is something related to hosting the AxWebBrowser 
within a System.Windows.Forms.NativeWindow....





Similar Threads:

1.app closing, closing one app from within another?

hi,

i shell out a process during my app's run, and then i want to close it when
the program ends. i used the following code. it works fine
with many files, for example an rtf file.

Public proc As System.Diagnostics.Process        'proc is in scope the whole
time

proc = System.Diagnostics.Process.Start(Application.StartupPath & "\" &
"xx.rtf")

proc.Kill        'works fine, closes xx.rtf


when i use it to open a help file, it won't close. the help file is not
linked to my app's forms or controls in any way

Public proc As System.Diagnostics.Process        'proc is in scope the whole
time

proc = System.Diagnostics.Process.Start(Application.StartupPath & "\" &
"xx.hlp")

proc.Kill        'doesn't  close xx.hlp


how do i get it to close? is there some other way to open and close it?

in vb 6 there used be some command whereby u could send a command to another
app based on on its title, can close, i don't know what the net vb
equivelant is


thanks ray



please respond to the list










2.Solved : Urgent HELP needed..... After installing, app crashes

Just thought I would update...

After making the suggest changes by Armin Zingler, I was able to track the 
error do a DLL from a component that was the problem.

I looked into it, and the license.txt file had an entry for the dll that was 
not the same version as the dll i was using. I deleted those entries, and 
re-installed the component, remove and recreated the setup project, and all 
was fine..

Thanks


"AussieRules" < XXXX@XXXXX.COM > wrote in message 
news:%23qS8c% XXXX@XXXXX.COM ...
> Hi,
>
> I am able to run my application on my development machine with no 
> problems.
>
> When I compile and install the application on the brand new computer, I am 
> unable to start the application as it crashes.
>
>
> To try and work out the problem, i put as the very first line in my main 
> form load event to just show a message box.
>
> The installed application crashs before the dialog box is shown, so I 
> don't know how to debug as its crashing before any of my code starts..
>
> I have to get this sorted this weekend, so any advice or tips would be 
> taken with huge thanks...
>
> 

3.Urgent HELP needed..... After installing, app crashes

Hi,

I am able to run my application on my development machine with no problems.

When I compile and install the application on the brand new computer, I am 
unable to start the application as it crashes.


To try and work out the problem, i put as the very first line in my main 
form load event to just show a message box.

The installed application crashs before the dialog box is shown, so I don't 
know how to debug as its crashing before any of my code starts..

I have to get this sorted this weekend, so any advice or tips would be taken 
with huge thanks...


4.Tool windows in IDE wont open until Solution Explorer closed, and IDE restarted

I am experiencing a bug in Visual Studio .NET 2002 and 
Visual Studio .NET 2003. Reinstall does not help.

THe problem is, that is is not possible to open any modal 
dialog within the IDE anymore. For example when trying to 
add a reference to a project, normally the cursor changes 
to a wait cursor and then opens the add reference dialog, 
but in my case nothing happens at all. Same with other 
dialogues such as the Batch Build dialog.

In order to fix it I have to close the (usually docked) 
Solution Explorer Pane, Save the Solution, Close the IDE, 
Re-open the IDE, Re-load the solution. Then I can 
redisplay the Solution Explorer window and successfully 
add a reference.

I have tried to find a related bug report, but the only 
thing I found, was the old 2002 issue, about not having 
the Output and the Property window set to auto-hide at 
the same time. This is not the case here.

Any ideas ?

Cheers,
Matthias

5.VS2005, command line option: compile solution via IDE and close IDE

6. Trying to close modal dialog when app is closed

7. FORMS NOT SUBMITTING DUE, IIS CRASH: appSettings KEY in web.confi

8. FORMS NOT SUBMITTING DUE, IIS CRASH: appSettings KEY in web.c



Return to dotnet framework

 

Who is online

Users browsing this forum: No registered users and 90 guest