bugs >> Application crashed

by Hahn, Thomas » Tue, 22 May 2007 16:27:51 GMT

Hallo NG!

I wrote a VB6 application, which checked word documents and write data in a
sql database. If the application open an word document, it's crashed without
an error message on the screen. In the eventlog is an entry about the crash.
"Failed application Myapplication, Version 1.0.0.1 failed modul unknown,
version 0.0.0.0, erroradress 0x00000000". That's all.

If I compiled the source on an other machine, the application can open an
word document. The application works fine, No error?!?!

Have anybody an answer or solution???

best regards

Thomas




bugs >> Application crashed

by Ken Halter » Tue, 22 May 2007 22:13:26 GMT






fwiw, last time something like that happened here, it was caused by
compiling to a network drive that "disappeared" while the app was running.

You can open the VBP file in notepad and get a list of required components.
That list can be compared to the "problem PC". That may help.


--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
In Loving Memory - http://www.vbsight.com/Remembrance.htm





bugs >> Application crashed

by Hahn, Thomas » Wed, 23 May 2007 15:09:22 GMT

"Ken Halter" < XXXX@XXXXX.COM > schrieb im Newsbeitrag




Hallo and thanks for your answer

I not compiled the application to a network drive. So that can not be the
problem

I compared the VBP file. The both files are the same!

I am so ...

The application run now since 2000!
I compileed it so many and it's runs always fine!! But now ... it is so ...




Similar Threads

1. Application Crashes on Test PC

Hi.

This is my first app in vb.net. I've learned everything so far by
reading through other posts, but I can't figure this one out and I need
specific help.

I'm using vb 2005 and I'm using mschrt20.ocx from vb6 within the
project. I'm also exporting to Excel and have the references added to
do that. I've created a setup project within my solution and everything
seems to be included. When I install on my PC, everything works great.

The PC I'm installing to is XP SP1 and I've installed the framework
myself prior to installation. The installation runs fine, but when I
try to run the application, it crashes immediately (I get the offer to
send an error report, but I don't know how to figure out what the error
is).

Why is it crashing? How can I find out? Can I debug on this PC?

And another quick question: What is the difference between "build,
rebuild and clean" ?

Thank you so much for helping

Jeremy

2. aborting thread results in application crash - VB.Net

3. Application crashes using .NET 2.0 framework because of permission

I have an application (that has unmanaged code) and when I launch it without 
'FullTrust' permissions (LocalIntranet_Zone), it crashes.  When I set 
'FullTrust' permissions, it launches fine.  Is there a way I can compile the 
application such that it won't even attempt to launch without correct 
permissions instead of just crashing?  Thanks for any help.

-Mike

4. Application crashes using .NET 2.0 framework because of permis - VB.Net

5. VB.NET/2005 Application crash

I have a small report client app that uses Crystal Reports XI Release 2
to view predesigned reports. There are command buttons to send the
reports to the viewer and that's it. My problem is, it publishes with
no error, it installs with no error. However, when the end user clicks
on the icon to run the software it trys to load but ends up with the
Microsoft error that has no information not even an error code. It just
wants to send a report to MS that there was a problem. I've made sure
that .Net Framework 2 and MDAC are installed on the computers. I
installed it on my computer and (of course) it ran fine.

Any ideas as to what I can check at this point?


Thanks for any help

6. Application crashes at start-up - VB.Net

7. Application Crash Whie adding Code lines using VBA

Hi,

Executing the code given below throws an error:
"Microsoft Office Excel has encountered a problem and needs to close.  We 
are sorry for the inconvenience."

But If I remove first insertLine statement that is ".InsertLines LineNum, 
"Private Sub.........." the program is excuting fine.

Please help me on this.

Thanks!!

Sub WriteEventHandler(LabelName As String)
    Dim LineNum As Long
    Const DQUOTE = """"
    Set RenameCodeMod = 
ActiveWorkbook.VBProject.VBComponents("Sheet1").CodeModule
    With RenameCodeMod
        LineNum = .CountOfLines + 1
        .InsertLines LineNum, "Private Sub " + LabelName + "_DblClick(ByVal 
Cancel As MSForms.ReturnBoolean)"
        LineNum = LineNum + 1
        .InsertLines LineNum, "    CurName = " + Trim(LabelName) + ".Caption"
        LineNum = LineNum + 1
        .InsertLines LineNum, "    newname = InputBox(" + DQUOTE + "Enter 
new name for " + DQUOTE + " + CurName, " + DQUOTE + "Rename" + DQUOTE + ", 
CurName)"
        LineNum = LineNum + 1
        .InsertLines LineNum, "    If Len(Trim(newname)) > 0 Then " + 
Trim(LabelName) + ".Caption = Trim(newname)"
        LineNum = LineNum + 1
        .InsertLines LineNum, "End Sub"
    End With
End Sub

8. Application Crashes due to lack of resources