473,386 Members | 1,708 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Problem running code in IDE

Hi all,

Just started having a problem with the IDE. When I try to 'start' code in
the IDE the IDE locks up. It builds and re-builds OK, and I can run the
generated EXE outside the IDE, but when I hit the start button the IDE just
hangs. This just started happening recently (last few days). I'm not sure
if it's something else I installed recently or copying Projects from my
laptop to the Desktop and then editing/running them or something else. I'm
about to run the VS.NET setup again and see if that solves it, but I was
wondering if anyone else has had any problems like this? I'm running VS.NET
2003 on XP (on both computers).

Thanks,
Michael C.
Nov 16 '05 #1
7 1451
Michael C wrote:
Hi all,

Just started having a problem with the IDE. When I try to 'start' code in
the IDE the IDE locks up. It builds and re-builds OK, and I can run the
generated EXE outside the IDE, but when I hit the start button the IDE
just
hangs. This just started happening recently (last few days). I'm not
sure if it's something else I installed recently or copying Projects from
my
laptop to the Desktop and then editing/running them or something else.
I'm about to run the VS.NET setup again and see if that solves it, but I
was
wondering if anyone else has had any problems like this? I'm running
VS.NET 2003 on XP (on both computers).

Thanks,
Michael C.


What type of app?

Console?
Windows Forms?
Web Service?
NT Service?

?
?
?

Nov 16 '05 #2
It started with a Windows Form app that runs fine on the laptop in the IDE,
but I've also tried various other Windows Form apps and Console apps,
including the ubiquitous "hello world" just to see if anything at all would
run. Nothing works.

Thanks,
Michael C

"Sam Palmisamoo" <im******@dam.it> wrote in message
news:Up***************@newsread1.news.pas.earthlin k.net...
Michael C wrote:
Hi all,

Just started having a problem with the IDE. When I try to 'start' code in the IDE the IDE locks up. It builds and re-builds OK, and I can run the
generated EXE outside the IDE, but when I hit the start button the IDE
just
hangs. This just started happening recently (last few days). I'm not
sure if it's something else I installed recently or copying Projects from my
laptop to the Desktop and then editing/running them or something else.
I'm about to run the VS.NET setup again and see if that solves it, but I
was
wondering if anyone else has had any problems like this? I'm running
VS.NET 2003 on XP (on both computers).

Thanks,
Michael C.


What type of app?

Console?
Windows Forms?
Web Service?
NT Service?

?
?
?

Nov 16 '05 #3
Michael C wrote:
It started with a Windows Form app that runs fine on the laptop in the
IDE, but I've also tried various other Windows Form apps and Console apps,
including the ubiquitous "hello world" just to see if anything at all
would
run. Nothing works.
Can you set and hit any break points? Be sure to run in 'debug' mode.

Also, have you updated your .NET framework to 1.1 ?


Thanks,
Michael C

"Sam Palmisamoo" <im******@dam.it> wrote in message
news:Up***************@newsread1.news.pas.earthlin k.net...
Michael C wrote:
> Hi all,
>
> Just started having a problem with the IDE. When I try to 'start' code in > the IDE the IDE locks up. It builds and re-builds OK, and I can run
> the generated EXE outside the IDE, but when I hit the start button the
> IDE just
> hangs. This just started happening recently (last few days). I'm not
> sure if it's something else I installed recently or copying Projects from > my
> laptop to the Desktop and then editing/running them or something else.
> I'm about to run the VS.NET setup again and see if that solves it, but
> I was
> wondering if anyone else has had any problems like this? I'm running
> VS.NET 2003 on XP (on both computers).
>
> Thanks,
> Michael C.


What type of app?

Console?
Windows Forms?
Web Service?
NT Service?

?
?
?


Nov 16 '05 #4
I remember during the beta phase I had a similar problem with a WinFowms
app; it turned out I had removed the [STAThread] attribute from the Main
method. Replacing it fixed it.

--
Simon Smith
simon dot s at ghytred dot com
www.ghytred.com/NewsLook - NNTP Client for Outlook
On 13 Jul 2004 04:20, "Michael C" wrote:
It started with a Windows Form app that runs fine on the laptop in the IDE,
but I've also tried various other Windows Form apps and Console apps,
including the ubiquitous "hello world" just to see if anything at all would
run. Nothing works.

Thanks,
Michael C

"Sam Palmisamoo" <im******@dam.it> wrote in message
news:Up***************@newsread1.news.pas.earthli nk.net...
Michael C wrote:
> Hi all,
>
> Just started having a problem with the IDE. When I try to 'start' codein > the IDE the IDE locks up. It builds and re-builds OK, and I can run the
> generated EXE outside the IDE, but when I hit the start button the IDE
> just
> hangs. This just started happening recently (last few days). I'm not
> sure if it's something else I installed recently or copying Projectsfrom > my
> laptop to the Desktop and then editing/running them or something else.
> I'm about to run the VS.NET setup again and see if that solves it, but I
> was
> wondering if anyone else has had any problems like this? I'm running
> VS.NET 2003 on XP (on both computers).
>
> Thanks,
> Michael C.


What type of app?

Console?
Windows Forms?
Web Service?
NT Service?

?


Nov 16 '05 #5
This problem cropped up last fall. I never saw a resolution posted to the
newsgroups. The thread, if you want to google it, was titled:
"VS hangs when start debug for any app" in microsoft.public.vsnet.debugging

Microsoft did post a KB article about a debugging element consuming 100% of
all resources, but it wasn't clear to me how to avoid the error or what
conditions to expect the error in:
http://support.microsoft.com/default...b;EN-US;307169
I do not know if this is related or not.

Sorry I couldn't help more.

--- Nick

"Michael C" <mi*******@optonline.net> wrote in message
news:wm*******************@news4.srv.hcvlny.cv.net ...
Hi all,

Just started having a problem with the IDE. When I try to 'start' code in
the IDE the IDE locks up. It builds and re-builds OK, and I can run the
generated EXE outside the IDE, but when I hit the start button the IDE just hangs. This just started happening recently (last few days). I'm not sure if it's something else I installed recently or copying Projects from my
laptop to the Desktop and then editing/running them or something else. I'm about to run the VS.NET setup again and see if that solves it, but I was
wondering if anyone else has had any problems like this? I'm running VS.NET 2003 on XP (on both computers).

Thanks,
Michael C.

Nov 16 '05 #6
[STAThread] is still there... I've even created a couple of new simple apps
from scratch, but that didn't work either. I tried reinstalling VS from the
original installation CD's and it seems to have stopped in the middle...

Odd..

Thanks,
Michael C

"Simon Smith" <gh*****@community.nospam> wrote in message
news:d5******************************@ghytred.com. ..
I remember during the beta phase I had a similar problem with a WinFowms
app; it turned out I had removed the [STAThread] attribute from the Main
method. Replacing it fixed it.

--
Simon Smith
simon dot s at ghytred dot com
www.ghytred.com/NewsLook - NNTP Client for Outlook
On 13 Jul 2004 04:20, "Michael C" wrote:
It started with a Windows Form app that runs fine on the laptop in the IDE,but I've also tried various other Windows Form apps and Console apps,
including the ubiquitous "hello world" just to see if anything at all wouldrun. Nothing works.

Thanks,
Michael C

"Sam Palmisamoo" <im******@dam.it> wrote in message
news:Up***************@newsread1.news.pas.earthli nk.net...
Michael C wrote:

> Hi all,
>
> Just started having a problem with the IDE. When I try to 'start' code
in
> the IDE the IDE locks up. It builds and re-builds OK, and I can run

the > generated EXE outside the IDE, but when I hit the start button the IDE > just
> hangs. This just started happening recently (last few days). I'm not
> sure if it's something else I installed recently or copying Projects

from
> my
> laptop to the Desktop and then editing/running them or something else. > I'm about to run the VS.NET setup again and see if that solves it, but I > was
> wondering if anyone else has had any problems like this? I'm running
> VS.NET 2003 on XP (on both computers).
>
> Thanks,
> Michael C.

What type of app?

Console?
Windows Forms?
Web Service?
NT Service?

?


Nov 16 '05 #7
Tried running in both debug mode and in release mode. The app compiles but
locks up before it even starts running. Odd...

Thanks,
Michael C

"Sam Palmisamoo" <im******@dam.it> wrote in message
news:LI***************@newsread1.news.pas.earthlin k.net...
Michael C wrote:
It started with a Windows Form app that runs fine on the laptop in the
IDE, but I've also tried various other Windows Form apps and Console apps, including the ubiquitous "hello world" just to see if anything at all
would
run. Nothing works.


Can you set and hit any break points? Be sure to run in 'debug' mode.

Also, have you updated your .NET framework to 1.1 ?


Thanks,
Michael C

"Sam Palmisamoo" <im******@dam.it> wrote in message
news:Up***************@newsread1.news.pas.earthlin k.net...
Michael C wrote:

> Hi all,
>
> Just started having a problem with the IDE. When I try to 'start' code
in
> the IDE the IDE locks up. It builds and re-builds OK, and I can run
> the generated EXE outside the IDE, but when I hit the start button

the > IDE just
> hangs. This just started happening recently (last few days). I'm not > sure if it's something else I installed recently or copying Projects

from
> my
> laptop to the Desktop and then editing/running them or something else. > I'm about to run the VS.NET setup again and see if that solves it, but > I was
> wondering if anyone else has had any problems like this? I'm running
> VS.NET 2003 on XP (on both computers).
>
> Thanks,
> Michael C.

What type of app?

Console?
Windows Forms?
Web Service?
NT Service?

?
?
?

Nov 16 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: SJD | last post by:
I've just read Christoph Schittko's article on XmlSerializer: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxmlnet/html/trblshtxsd.asp . . . and very informative it is too....
4
by: Bill Dika | last post by:
Hi I am trying to calculate a running total of a calculated textbox (tbAtStandard) in GroupFooter1 for placement in a textbox (tbTotalAtStandard) on my report in Groupfooter0. The problem...
3
by: jayderk | last post by:
Hello All, I am running in to a situation where the listbox is not refreshing for me. I am using a timer to cycle every second and call the timer_elapsed() event. in the time_elapsed event...
4
by: Chuck | last post by:
Hello everybody, I need to abort execution during start up, while the constructor called by Application.Run is executing. If the database fails to connect during my application's startup I...
5
by: Data | last post by:
In my project I want to execute some commands on the remote machine. I am using .Net Remoting to achieve this. My server which is an exe is copied on the remote machine and it receives command from...
1
by: Frankieboy | last post by:
I believe I've got a postback problem on our site. The strange thing is that everything works fine on my developing version, but not on the production site. I'm wondering if there may be different...
6
by: Ammar | last post by:
Dear All, I'm facing a small problem. I have a portal web site, that contains articles, for each article, the end user can send a comment about the article. The problem is: I the comment length...
8
by: Sarah | last post by:
I need to access some data on a server. I can access it directly using UNC (i.e. \\ComputerName\ShareName\Path\FileName) or using a mapped network drive resource (S:\Path\FileName). Here is my...
4
by: Dan | last post by:
I'm using asp.net c# in my code behind I coded the following: ButtonAsynchronous.Attributes.Add("onclick", @" setTimeout( ""UpdateImg('AnimatedProgress','images/running.gif');"" , 50); "); ...
4
by: nishi57 | last post by:
I hope I can get some help regarding this issue, which has been going on for a while. I have a desktop user who is having problem running "Stored Procedures". The DB2 Connect application works fine...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
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,...
0
Oralloy
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,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.