Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Weird environment behavior 1

Status
Not open for further replies.

donutman

Programmer
Dec 20, 2002
2,481
US
Sometimes when I press the debug/run arrow to compile and run a windows app in VB.NET, the program doesn't start, it just hangs. If I press the step icon, it stops hanging and points to the beginning of the <<#Region " Windows Form Designer generated code ">>. Then I can press the continue icon and it opens the applications main form but only in the task bar. After adding a few more lines of code, then it operates as it should. Later it reverts back to its hanging behavior and so on. Does anyone have info about this?
 
"After adding a few more lines of code,..."
What do you mean?

Make sure you installed/reinstall everything including MSDN.
 
After adding a few more lines of code,..."
What I mean is that I proceed with adding more code to my program as you would normally do when developing an app. In another words, I ignore the problem and continue to add more features to the program. The problem goes away and then comes back. It appears NOT to be related to the code itself. I can build an entire working solution.
 
my environment does something similar, sometimes if i try and run an app in debug mode, i.e. hit the play button it just sits there and does nothing.

if i runthe same app in release mode it runs it fine no errors no problems.

10 minutes later the debug mode will start working again. even if i have changed nothing. i reckon its just a bug or my machine is crap
 
That happens to me too in debug mode. I just stop it and re-run and it then runs fine.
 
thanks dimandja, i dont think i have properties which need do lots of calculating but i can rest slightly easier now
 
I wonder if there is a common thread among us? I'm using a 3rd party addon for grids, TrueDBGrid. Is anyone having this problem without using any 3rd party stuff?
-Karl
 
no third party stuff here, i have enough trouble with the default controls ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top