I have had the following happen to me for the third time in several months
on my laptop but never on my desktop computer while working with a VB.et
project in Visual Studio 2005.
I was working with a Windows project and debugging fine. I only made a few
minutes worth of changes (and did nothing to the VS setup as far as I know).
Then all of a sudden, when I clicked on Debug | Start Debugging, the project
build succeeded, the startup window of the application appeared and
disappeared in a flash. A second try produced the same thing. I checked the
output folders (ProjectName/bin and ProjectName/obj/Release) and found the
application exe there and double-clicked on it. The hour glass appeared and
disappeared a couple of times, but nothing else.
Then I got an idea and moved the exe to another folder on the computer. The
exe ran fine from there and exhibited the changes I had made to it before I
tried to run it in debug mode. This is very strange in that it appears that
from within these folders, the application exe can not be run. Other exes
like notepad.exe will run fine from there.
Finally, this is the situation for all projects including new ones I make.
Turning off the computer and turning it back on does not solve the
problem--unless I wait quite a few hours. In general, the problem somehow
mysteriously fixes itself within 24 hours.
Any suggestions would be appreciated. 3 1737
hmmm...
Have you tried to install Visual Studio 2005 Service Pack 1: http://msdn2.microsoft.com/en-us/vstudio/aa718695.aspx
"William LaMartin" wrote:
I have had the following happen to me for the third time in several months
on my laptop but never on my desktop computer while working with a VB.et
project in Visual Studio 2005.
I was working with a Windows project and debugging fine. I only made a few
minutes worth of changes (and did nothing to the VS setup as far as I know).
Then all of a sudden, when I clicked on Debug | Start Debugging, the project
build succeeded, the startup window of the application appeared and
disappeared in a flash. A second try produced the same thing. I checked the
output folders (ProjectName/bin and ProjectName/obj/Release) and found the
application exe there and double-clicked on it. The hour glass appeared and
disappeared a couple of times, but nothing else.
Then I got an idea and moved the exe to another folder on the computer. The
exe ran fine from there and exhibited the changes I had made to it before I
tried to run it in debug mode. This is very strange in that it appears that
from within these folders, the application exe can not be run. Other exes
like notepad.exe will run fine from there.
Finally, this is the situation for all projects including new ones I make.
Turning off the computer and turning it back on does not solve the
problem--unless I wait quite a few hours. In general, the problem somehow
mysteriously fixes itself within 24 hours.
Any suggestions would be appreciated.
I have VS 2005 on two computers and have installed Service Pack 1 Beta
sometime back on both so as to be able to work with the SQL compact
databases (formerly called SQL Mobile).
I do not have this problem on my desktop computer--only on the laptop.
Not being able to run the executable created in the project folder but being
able to run it from anywhere else on the computer is one of the strangest
things I have ever run into. And how it seems to self correct within 24
hours is another mystery.
"Joshua Morgan, Developer" <Jo************ *******@discuss ions.microsoft. com>
wrote in message news:09******** *************** ***********@mic rosoft.com...
hmmm...
Have you tried to install Visual Studio 2005 Service Pack 1: http://msdn2.microsoft.com/en-us/vstudio/aa718695.aspx
"William LaMartin" wrote:
>I have had the following happen to me for the third time in several months on my laptop but never on my desktop computer while working with a VB.et project in Visual Studio 2005.
I was working with a Windows project and debugging fine. I only made a few minutes worth of changes (and did nothing to the VS setup as far as I know). Then all of a sudden, when I clicked on Debug | Start Debugging, the project build succeeded, the startup window of the application appeared and disappeared in a flash. A second try produced the same thing. I checked the output folders (ProjectName/bin and ProjectName/obj/Release) and found the application exe there and double-clicked on it. The hour glass appeared and disappeared a couple of times, but nothing else.
Then I got an idea and moved the exe to another folder on the computer. The exe ran fine from there and exhibited the changes I had made to it before I tried to run it in debug mode. This is very strange in that it appears that from within these folders, the application exe can not be run. Other exes like notepad.exe will run fine from there.
Finally, this is the situation for all projects including new ones I make.
Turning off the computer and turning it back on does not solve the problem--unless I wait quite a few hours. In general, the problem somehow mysteriously fixes itself within 24 hours.
Any suggestions would be appreciated.
"William LaMartin" <la******@tampa bay.rr.comwrote in message
news:uz******** ******@TK2MSFTN GP02.phx.gbl...
>I have VS 2005 on two computers and have installed Service Pack 1 Beta sometime back on both so as to be able to work with the SQL compact databases (formerly called SQL Mobile).
I do not have this problem on my desktop computer--only on the laptop.
Not being able to run the executable created in the project folder but
being able to run it from anywhere else on the computer is one of the
strangest things I have ever run into. And how it seems to self correct
within 24 hours is another mystery.
A memory fluke. Try a memory scan but that might not catch it either.
Richard This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dan Perl |
last post by:
Is there a mechanism or an idiom for adding code for debugging so that it
can easily be removed in the production code? I am thinking of something
similar to the C/C++ preprocessor statements with which you can compile an
application with the debug code or without it (the default).
Dan
|
by: aaj |
last post by:
Hi all
I have written a small app on my machine that I have passed on to a
colleague for testing.
The problem is, as soon as he steps through in debug mode and reaches
try
{
conn.Open(); <- HERE
|
by: Stephanie |
last post by:
I have a problem that I am trying to solve. We have a huge product with a
whole lot of ASP and VB code. VB code is all ActiveX dlls which are used by
ASP app. When I attempt to add features or fix bugs, I like to execute the
dlls in debug so I can see what is going on. (Some folks in my org seem to
have this kinda wacky bias against debugging, as if *real* programmers
should not need a debugger. Whatever, it is the fastest way for me to get...
|
by: emma middlebrook |
last post by:
I have a question regarding asserting ... here's some code:
string GetAssertMessage()
{
... prepare a message string and return it...
}
void SomeMethod()
{
...
|
by: Sam Kong |
last post by:
Hello!
Recently I had a strange problem with Visual C# 2005 beta 1.
When I ran(F5 key) a program, <#if DEBUG> statement was not working.
It ran as RELEASE mode.
So I had to manually define DEBUG to make #if DEBUG work.
When I first started the project, this problem didn't exist.
The problem started to exist in the middle of doing the project.
Today, I decided to figure out what went wrong.
| |
by: Stephen Miller |
last post by:
Hi,
I am running v1.1.4322 on Win2K server and unable to debug a ASP.Net
application running locally, using a full URL (ie www.mysite.com).
When I hit F5, I get the following error message:
<debugger_error_message>
Error while trying to run project: Unable to start debugging on the
web server.
The project is not configured to be debugged.
|
by: Steve |
last post by:
Error message: "Unable to start debugging on the web server. Unable to map
the debug start page to a machine name."
I can no longer run the debugger from my local PC for a project on our web
server. You know, F5 in Visual Studio. I can run in debug mode for a
project on my local web server.
The problem began one day about 3 weeks ago when I ran the project in debug
mode and somehow ended up breaking the .NET framework. Thank you...
|
by: nospam |
last post by:
All the documentation says that leaving an ASP.NET application in debug
mode has a big performance hit. I can't detect any difference between
debug and non-debug modes. Am I missing something or is the
documentation wrong?
I've been load testing an ASP.NET website (built in VS.NET 2003 in C#).
I've used the ACT to generate heavy loads over several minutes. Debug
or no debug produces almost identical performance results.
|
by: Andrew Rowley |
last post by:
I am having trouble getting debug and release builds to work properly
with project references using C++ .NET and Visual Studio 2003.
I created a test solution, with a basic Windows form C++ project.
I then add a class library, and add a reference to this project in the
first project.
When I do a release build, I see the following in the output from the
DLL compile:
/OUT:"C:\Documents and Settings\Andrew\My Documents\Visual Studio
|
by: BA |
last post by:
I posted on this once before and could not get a solution, I am hoping
someone can help. I have a very strange code debug behavior that I cannot
make heads or tails of:
I have c# code being executed in BizTalk assemblies which is repeating debug
statements. I tried debug.flush() and debug.close() which did not solve the
problem.
In my BizTalk process I call a static method:
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |