I wrote a program in Vb.Net that was running fine. However I am
unable to install it on a couple of machines. When i run it I get a
windows error message that says
My Project.exe has encountered a problem and needs to close. We are
sorry for the inconvience.
If you were in the middle of something, the information you were
working on might be lost
On one machine it ran fine for a week but when I recompile the program
wuth a minor change (The text in a single label) it appeared and now I
am stuck
The program compiles fine with no errors or warning on the machine it
was written on. 6 1581
On Tue, 05 Dec 2006 00:23:46 +0100, <He****@aol.comwrote:
I wrote a program in Vb.Net that was running fine. However I am
unable to install it on a couple of machines. When i run it I get a
windows error message that says
My Project.exe has encountered a problem and needs to close. We are
sorry for the inconvience.
If you were in the middle of something, the information you were
working on might be lost
This is like diagnosing a disease of someone just claiming to be sick
without telling anything else. You need to provide far more information
for us to even guess what might be wrong.
On one machine it ran fine for a week but when I recompile the program
wuth a minor change (The text in a single label) it appeared and now I
am stuck
When you say you are unable to install your program, are you unable to
install it, or does it install just fine, but does not run.
The program compiles fine with no errors or warning on the machine it
was written on.
Well, if it didn't compile, you would probably not install it elsewhere.
A compiled program may crash just fine without giving any compiler
warnings.
--
Happy Coding!
Morten Wennevik [C# MVP]
<He****@aol.comwrote in message
news:2t********************************@4ax.com...
>I wrote a program in Vb.Net that was running fine. However I am
unable to install it on a couple of machines. When i run it I get a
windows error message that says
My Project.exe has encountered a problem and needs to close. We are
sorry for the inconvience.
If you were in the middle of something, the information you were
working on might be lost
On one machine it ran fine for a week but when I recompile the program
wuth a minor change (The text in a single label) it appeared and now I
am stuck
The program compiles fine with no errors or warning on the machine it
was written on.
What is your program actually attempting to do?
Does it crash as soon as you run it, or at some point later?
You could try putting some MessageBoxes in to try and see where it is
crashing, better still, add some code to write to a textfile/log so you can
see what is going on...
You are correct about the diagnosis without symptoms. Unfortunately
the only symptom I have is what I told you. You can thank MS for that
So I have an app that works fine somethime and other times after small
alterations in code produce that cryptic message on a few machines
(not just one) in the office. The "crash" is sporatice and not
corrected with rebooting.
The app is similar to a chat program over the internal network. I have
check firewalls and antivirus. Not sure how to isolate the problem
Date: Tue, 05 Dec 2006 07:18:38 +0100
Subject: Re: HELP!!
From: "Morten Wennevik" <Mo************@hotmail.com>
Content-Type: text/plain; format=flowed; delsp=yes;
charset=iso-8859-15
MIME-Version: 1.0
References: <2t********************************@4ax.com>
Content-Transfer-Encoding: 7bit
Message-ID: <op***************@tr024.bouvet.no>
User-Agent: Opera Mail/9.01 (Win32)
Newsgroups: microsoft.public.dotnet.general
NNTP-Posting-Host: alcanet-gw.online.no 193.212.3.130
Path: TK2MSFTNGP01.phx.gbl!TK2MSFTNGP05.phx.gbl
Lines: 1
On Tue, 05 Dec 2006 00:23:46 +0100, <He****@aol.comwrote:
I wrote a program in Vb.Net that was running fine. However I am
unable to install it on a couple of machines. When i run it I get a
windows error message that says
My Project.exe has encountered a problem and needs to close. We are
sorry for the inconvience.
If you were in the middle of something, the information you were
working on might be lost
This is like diagnosing a disease of someone just claiming to be sick
without telling anything else. You need to provide far more
information
for us to even guess what might be wrong.
On one machine it ran fine for a week but when I recompile the program
wuth a minor change (The text in a single label) it appeared and now I
am stuck
When you say you are unable to install your program, are you unable to
install it, or does it install just fine, but does not run.
The program compiles fine with no errors or warning on the machine it
was written on.
Well, if it didn't compile, you would probably not install it
elsewhere.
A compiled program may crash just fine without giving any compiler
warnings.
--
Happy Coding!
Morten Wennevik [C# MVP]
On Tue, 5 Dec 2006 11:42:07 -0000, "ChrisM"
<ch**************@suedeyahoo.comwrote:
> <He****@aol.comwrote in message news:2t********************************@4ax.com.. .
>>I wrote a program in Vb.Net that was running fine. However I am unable to install it on a couple of machines. When i run it I get a windows error message that says
My Project.exe has encountered a problem and needs to close. We are sorry for the inconvience.
If you were in the middle of something, the information you were working on might be lost
On one machine it ran fine for a week but when I recompile the program wuth a minor change (The text in a single label) it appeared and now I am stuck
The program compiles fine with no errors or warning on the machine it was written on.
What is your program actually attempting to do? Does it crash as soon as you run it, or at some point later? You could try putting some MessageBoxes in to try and see where it is crashing, better still, add some code to write to a textfile/log so you can see what is going on...
Well, all I can do is repeat my suggestion that you create a 'debugging'
version of the program that displays a MessageBox, or writes to a log before
each main thing that it does, and see if you can work out what happens just
before it falls over.
If you're feeling really smart, you can attach the debugger to a remote
process and acutally step through the running code to see what is going on.
I assume that it never crashes when running it in debug mode on your
development machine...?
Chris.
<He****@aol.comwrote in message
news:iv********************************@4ax.com...
You are correct about the diagnosis without symptoms. Unfortunately
the only symptom I have is what I told you. You can thank MS for that
So I have an app that works fine somethime and other times after small
alterations in code produce that cryptic message on a few machines
(not just one) in the office. The "crash" is sporatice and not
corrected with rebooting.
The app is similar to a chat program over the internal network. I have
check firewalls and antivirus. Not sure how to isolate the problem
Date: Tue, 05 Dec 2006 07:18:38 +0100
Subject: Re: HELP!!
From: "Morten Wennevik" <Mo************@hotmail.com>
Content-Type: text/plain; format=flowed; delsp=yes;
charset=iso-8859-15
MIME-Version: 1.0
References: <2t********************************@4ax.com>
Content-Transfer-Encoding: 7bit
Message-ID: <op***************@tr024.bouvet.no>
User-Agent: Opera Mail/9.01 (Win32)
Newsgroups: microsoft.public.dotnet.general
NNTP-Posting-Host: alcanet-gw.online.no 193.212.3.130
Path: TK2MSFTNGP01.phx.gbl!TK2MSFTNGP05.phx.gbl
Lines: 1
Xref: TK2MSFTNGP01.phx.gbl microsoft.public.dotnet.general:219629
On Tue, 05 Dec 2006 00:23:46 +0100, <He****@aol.comwrote:
>I wrote a program in Vb.Net that was running fine. However I am unable to install it on a couple of machines. When i run it I get a windows error message that says
My Project.exe has encountered a problem and needs to close. We are sorry for the inconvience.
If you were in the middle of something, the information you were working on might be lost
This is like diagnosing a disease of someone just claiming to be sick
without telling anything else. You need to provide far more
information
for us to even guess what might be wrong.
>On one machine it ran fine for a week but when I recompile the program wuth a minor change (The text in a single label) it appeared and now I am stuck
When you say you are unable to install your program, are you unable to
install it, or does it install just fine, but does not run.
>The program compiles fine with no errors or warning on the machine it was written on.
Well, if it didn't compile, you would probably not install it
elsewhere.
A compiled program may crash just fine without giving any compiler
warnings.
--
Happy Coding!
Morten Wennevik [C# MVP]
On Tue, 5 Dec 2006 11:42:07 -0000, "ChrisM"
<ch**************@suedeyahoo.comwrote:
>> <He****@aol.comwrote in message news:2t********************************@4ax.com. ..
>>>I wrote a program in Vb.Net that was running fine. However I am unable to install it on a couple of machines. When i run it I get a windows error message that says
My Project.exe has encountered a problem and needs to close. We are sorry for the inconvience.
If you were in the middle of something, the information you were working on might be lost
On one machine it ran fine for a week but when I recompile the program wuth a minor change (The text in a single label) it appeared and now I am stuck
The program compiles fine with no errors or warning on the machine it was written on.
What is your program actually attempting to do? Does it crash as soon as you run it, or at some point later? You could try putting some MessageBoxes in to try and see where it is crashing, better still, add some code to write to a textfile/log so you can see what is going on...
You are correct it never crashs on the devlopment machine. I am not
smart enough to know how to attach a debugger to a remote process.
and am not sure what it means ( I have only been coding in Vb.net for
a short time) Could you provide me with some info??
On Wed, 6 Dec 2006 10:49:05 -0000, "ChrisM"
<ch**************@suedeyahoo.comwrote:
>Well, all I can do is repeat my suggestion that you create a 'debugging' version of the program that displays a MessageBox, or writes to a log before each main thing that it does, and see if you can work out what happens just before it falls over.
If you're feeling really smart, you can attach the debugger to a remote process and acutally step through the running code to see what is going on.
I assume that it never crashes when running it in debug mode on your development machine...?
Chris.
<He****@aol.comwrote in message news:iv********************************@4ax.com.. .
>You are correct about the diagnosis without symptoms. Unfortunately the only symptom I have is what I told you. You can thank MS for that
So I have an app that works fine somethime and other times after small alterations in code produce that cryptic message on a few machines (not just one) in the office. The "crash" is sporatice and not corrected with rebooting.
The app is similar to a chat program over the internal network. I have check firewalls and antivirus. Not sure how to isolate the problem Date: Tue, 05 Dec 2006 07:18:38 +0100 Subject: Re: HELP!! From: "Morten Wennevik" <Mo************@hotmail.com> Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 References: <2t********************************@4ax.com> Content-Transfer-Encoding: 7bit Message-ID: <op***************@tr024.bouvet.no> User-Agent: Opera Mail/9.01 (Win32) Newsgroups: microsoft.public.dotnet.general NNTP-Posting-Host: alcanet-gw.online.no 193.212.3.130 Path: TK2MSFTNGP01.phx.gbl!TK2MSFTNGP05.phx.gbl Lines: 1 Xref: TK2MSFTNGP01.phx.gbl microsoft.public.dotnet.general:219629
On Tue, 05 Dec 2006 00:23:46 +0100, <He****@aol.comwrote:
>>I wrote a program in Vb.Net that was running fine. However I am unable to install it on a couple of machines. When i run it I get a windows error message that says
My Project.exe has encountered a problem and needs to close. We are sorry for the inconvience.
If you were in the middle of something, the information you were working on might be lost This is like diagnosing a disease of someone just claiming to be sick without telling anything else. You need to provide far more information for us to even guess what might be wrong.
>>On one machine it ran fine for a week but when I recompile the program wuth a minor change (The text in a single label) it appeared and now I am stuck When you say you are unable to install your program, are you unable to install it, or does it install just fine, but does not run.
>>The program compiles fine with no errors or warning on the machine it was written on.
Well, if it didn't compile, you would probably not install it elsewhere. A compiled program may crash just fine without giving any compiler warnings.
-- Happy Coding! Morten Wennevik [C# MVP] On Tue, 5 Dec 2006 11:42:07 -0000, "ChrisM" <ch**************@suedeyahoo.comwrote:
>>> <He****@aol.comwrote in message news:2t********************************@4ax.com ... I wrote a program in Vb.Net that was running fine. However I am unable to install it on a couple of machines. When i run it I get a windows error message that says
My Project.exe has encountered a problem and needs to close. We are sorry for the inconvience.
If you were in the middle of something, the information you were working on might be lost
On one machine it ran fine for a week but when I recompile the program wuth a minor change (The text in a single label) it appeared and now I am stuck
The program compiles fine with no errors or warning on the machine it was written on.
What is your program actually attempting to do? Does it crash as soon as you run it, or at some point later? You could try putting some MessageBoxes in to try and see where it is crashing, better still, add some code to write to a textfile/log so you can see what is going on...
Don't worry about debugging remote processes for now. If you want to find
out how to do that, you're best off reading the online help, or 'asking'
Google.
What I'd do in your position is go through the program, and identify the
main things that happen (eg opening a file, creating a connection to a
database, creating a large object etc etc) and putting a MessageBox in that
says what is happening. Then you can run the program, you will have to keep
clicking on Messageboxes to keep it running, but when the program crashes,
you should be able to have some idea where it went wrong by the last
messagebox that you saw. I'd put just a few Messagesboxes in at first then
once you have identified the rough area causing the problem, you can add
more in that area to pin it down more specifically.
An improvement to the above could be to open a Textfile at the start of the
program, then rather than putting MessageBoxes in your code, you could just
write lines to this TextFile then when the program crashes, looking back
through the file should again help you to pin down where it is going
wrong...
Chris.
<He****@aol.comwrote in message
news:2t********************************@4ax.com...
You are correct it never crashs on the devlopment machine. I am not
smart enough to know how to attach a debugger to a remote process.
and am not sure what it means ( I have only been coding in Vb.net for
a short time) Could you provide me with some info??
On Wed, 6 Dec 2006 10:49:05 -0000, "ChrisM"
<ch**************@suedeyahoo.comwrote:
>>Well, all I can do is repeat my suggestion that you create a 'debugging' version of the program that displays a MessageBox, or writes to a log before each main thing that it does, and see if you can work out what happens just before it falls over.
If you're feeling really smart, you can attach the debugger to a remote process and acutally step through the running code to see what is going on.
I assume that it never crashes when running it in debug mode on your development machine...?
Chris.
<He****@aol.comwrote in message news:iv********************************@4ax.com. ..
>>You are correct about the diagnosis without symptoms. Unfortunately the only symptom I have is what I told you. You can thank MS for that
So I have an app that works fine somethime and other times after small alterations in code produce that cryptic message on a few machines (not just one) in the office. The "crash" is sporatice and not corrected with rebooting.
The app is similar to a chat program over the internal network. I have check firewalls and antivirus. Not sure how to isolate the problem Date: Tue, 05 Dec 2006 07:18:38 +0100 Subject: Re: HELP!! From: "Morten Wennevik" <Mo************@hotmail.com> Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 References: <2t********************************@4ax.com> Content-Transfer-Encoding: 7bit Message-ID: <op***************@tr024.bouvet.no> User-Agent: Opera Mail/9.01 (Win32) Newsgroups: microsoft.public.dotnet.general NNTP-Posting-Host: alcanet-gw.online.no 193.212.3.130 Path: TK2MSFTNGP01.phx.gbl!TK2MSFTNGP05.phx.gbl Lines: 1 Xref: TK2MSFTNGP01.phx.gbl microsoft.public.dotnet.general:219629
On Tue, 05 Dec 2006 00:23:46 +0100, <He****@aol.comwrote:
I wrote a program in Vb.Net that was running fine. However I am unable to install it on a couple of machines. When i run it I get a windows error message that says
My Project.exe has encountered a problem and needs to close. We are sorry for the inconvience.
If you were in the middle of something, the information you were working on might be lost
This is like diagnosing a disease of someone just claiming to be sick without telling anything else. You need to provide far more information for us to even guess what might be wrong.
On one machine it ran fine for a week but when I recompile the program wuth a minor change (The text in a single label) it appeared and now I am stuck
When you say you are unable to install your program, are you unable to install it, or does it install just fine, but does not run.
The program compiles fine with no errors or warning on the machine it was written on.
Well, if it didn't compile, you would probably not install it elsewhere. A compiled program may crash just fine without giving any compiler warnings.
-- Happy Coding! Morten Wennevik [C# MVP] On Tue, 5 Dec 2006 11:42:07 -0000, "ChrisM" <ch**************@suedeyahoo.comwrote:
<He****@aol.comwrote in message news:2t********************************@4ax.co m... >I wrote a program in Vb.Net that was running fine. However I am unable to install it on a couple of machines. When i run it I get a windows error message that says > My Project.exe has encountered a problem and needs to close. We are sorry for the inconvience. > If you were in the middle of something, the information you were working on might be lost > On one machine it ran fine for a week but when I recompile the program wuth a minor change (The text in a single label) it appeared and now I am stuck > The program compiles fine with no errors or warning on the machine it was written on.
What is your program actually attempting to do? Does it crash as soon as you run it, or at some point later? You could try putting some MessageBoxes in to try and see where it is crashing, better still, add some code to write to a textfile/log so you can see what is going on...
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Dave |
last post by:
After following Microsofts admonition to reformat my system before doing a
final compilation of my app I got many warnings/errors upon compiling an rtf
file created in word. I used the Help...
|
by: Tom |
last post by:
A question for gui application programmers. . .
I 've got some GUI programs, written in Python/wxPython, and I've got
a help button and a help menu item. Also, I've got a compiled file
made with...
|
by: wukexin |
last post by:
Help me, good men. I find mang books that introduce bit "mang header
files",they talk too bit,in fact it is my too fool, I don't learn it, I have
do a test program, but I have no correct doing...
|
by: Colin J. Williams |
last post by:
Python advertises some basic service:
C:\Python24>python
Python 2.4.1 (#65, Mar 30 2005, 09:13:57) on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
With...
|
by: Corepaul |
last post by:
Missing Help Files
When I enter "recordset" as the keyword and search the Visual Basic Help index,
I get many topics of interest in the resulting list. But there isn't any
information available...
|
by: Steve |
last post by:
I have written a help file (chm) for a DLL and referenced it using Help.ShowHelp
My expectation is that a developer using my DLL would be able to access this help file during his development time...
|
by: Mark |
last post by:
I have loaded Visual Studio .net on my home computer and my laptop, but my
home computer has an abbreviated help screen not 2% of the help on my laptop.
All the settings look the same on both...
|
by: JonathanOrlev |
last post by:
Hello everybody,
I wrote this comment in another message of mine, but decided to post it
again as a standalone message.
I think that Microsoft's Office 2003 help system is horrible, probably...
|
by: trunxnirvana007 |
last post by:
'UPGRADE_WARNING: Array has a new behavior. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="9B7D5ADD-D8FE-4819-A36C-6DEDAF088CC7"'
'UPGRADE_WARNING: Couldn't resolve...
|
by: hitencontractor |
last post by:
I am working on .NET Version 2003 making an SDI application that calls MS Excel 2003.
I added a menu item called "MyApp Help" in the end of the menu bar to show Help-> About.
The application...
|
by: Aliciasmith |
last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
|
by: tracyyun |
last post by:
Hello everyone,
I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
|
by: NeoPa |
last post by:
Hello everyone.
I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report).
I know it can be done by selecting :...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
|
by: Teri B |
last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course.
0ne-to-many. One course many roles.
Then I created a report based on the Course form and...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM)
Please note that the UK and Europe revert to winter time on...
|
by: nia12 |
last post by:
Hi there,
I am very new to Access so apologies if any of this is obvious/not clear.
I am creating a data collection tool for health care employees to complete. It consists of a number of...
|
by: isladogs |
last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, Mike...
|
by: SueHopson |
last post by:
Hi All,
I'm trying to create a single code (run off a button that calls the Private Sub) for our parts list report that will allow the user to filter by either/both PartVendor and PartType. On...
| |