Results 1 to 37 of 37

Thread: vb.net freezes?

  1. #1

    Thread Starter
    Addicted Member ProgrammerJon's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    203

    vb.net freezes?

    Since yesterday, everytime I run a program vb.net freeses.

    It gets to the point where it says:
    Build: 1 Succeeded, 0 failed, 0 skipped.
    my program is shown in the processes window in the task manager, but not the applications window(I should be in the applications windows because it isn't hidden).

    I'm running windows 2000 pro sp3.
    This started happening yesterday after I was unstalling some updates.

  2. #2

    Thread Starter
    Addicted Member ProgrammerJon's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    203
    The prolem occured right after I install .net framework sp2

    Was installing that a bad idea?


    Edit:
    the .net sp2 never actuly got installed, it was talking forever and after about 3h i ended it.

  3. #3
    Hyperactive Member
    Join Date
    Aug 2002
    Location
    Toronto, Ontario, Canada
    Posts
    275
    half the stuff in my vb.net dont work! consider your self lucky!

    lol..this also happend to me after i installed xp..

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by ProgrammerJon
    The prolem occured right after I install .net framework sp2

    Was installing that a bad idea?
    Edit:
    the .net sp2 never actuly got installed, it was talking forever and after about 3h i ended it.
    I don't think this problem caused by SP.I believe that MS would test it millions of times before they release it .Check this site to see bug fixes that should SP2 solve !

  5. #5

    Thread Starter
    Addicted Member ProgrammerJon's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    203
    Sorry I said that wrong.

    I tried installing SP2 but it didn't install.
    I left it all night!
    Then I used Windows Update the prgress indicater went to end but it never finished, I left it for over 2hours, it never finished so I exited it.

  6. #6
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    You are probably answering your own question. If you shut down the update because it froze, it probably messed up your .Net Framework install. I would try to remove all .Net framework stuff, then do a reinstall of that.

  7. #7

    Thread Starter
    Addicted Member ProgrammerJon's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    203
    How do I unistall the .NET framework?

  8. #8
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by ProgrammerJon
    How do I unistall the .NET framework?
    control panel , add and remove !
    Why you don't reinstall it ??

  9. #9

    Thread Starter
    Addicted Member ProgrammerJon's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    203
    After I remove can I just install the SP2 or do I have to install the fist one first?

  10. #10

    Thread Starter
    Addicted Member ProgrammerJon's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    203

    Won't Uninstall...

    When I tried to unistall it is got this error:
    Internal Error 2711. S321884
    (I was unstalling the first one because I couln't find the SP2)

    Then I get this error:
    Microsoft .NET Framework Setup has failed. If this continues, Please Contact Product Support.

  11. #11

    Thread Starter
    Addicted Member ProgrammerJon's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    203
    Would I have to unistall VB.NET first?

  12. #12
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by ProgrammerJon
    After I remove can I just install the SP2 or do I have to install the fist one first?
    Each new SP would include the previous Spc.So SP2 would include SP1 + new bug fixes.

  13. #13

    Thread Starter
    Addicted Member ProgrammerJon's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    203
    I can't unstall the .net framework because of an error.
    Would unistalling vb.net remove the .net Framework?
    I would think probably not because the .net framework won't uninstall by itself.

    (I just anwsered my own question but I'll post this anyways just incase you have a suggestion)

  14. #14
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Hmmm , try repaire (reinstall) in VB.NET uninstall window ?

  15. #15

    Thread Starter
    Addicted Member ProgrammerJon's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    203
    I can do the component repaire but it didn't seem to help anything.
    I can't uninstall or re-install vb.net because the installer always stops with one miniute left(but it donsn't stop responding)

  16. #16
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by ProgrammerJon
    I can do the component repaire but it didn't seem to help anything.
    I can't uninstall or re-install vb.net because the installer always stops with one miniute left(but it donsn't stop responding)
    Format C:

    I'm sure this will solve all of your problems .

  17. #17
    Fanatic Member Geespot's Avatar
    Join Date
    Oct 2001
    Location
    Birmingham, UK
    Posts
    577

    Re: vb.net freezes?

    Originally posted by ProgrammerJon
    Since yesterday, everytime I run a program vb.net freeses.

    It gets to the point where it says:
    Build: 1 Succeeded, 0 failed, 0 skipped.
    my program is shown in the processes window in the task manager, but not the applications window(I should be in the applications windows because it isn't hidden).

    I'm running windows 2000 pro sp3.
    This started happening yesterday after I was unstalling some updates.
    Im got the exact same problem, but I didnt have any SP installed.
    To me it happened when i tried either adding a reference to a DLL or using custom made controls. In task manager the program was there but only showing 56k in size.
    Even if i created a new windows form application, and just clicked run it would freeze. The only way i could run it was clicking Run without debugging. After a reboot though it worked fine

  18. #18

    Thread Starter
    Addicted Member ProgrammerJon's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    203
    Originally posted by Pirate
    Format C:

    I'm sure this will solve all of your problems .
    That might solve the problem with vb.net but it would also create some other complications like moving all the data off this computer(I don't have a CD burner). But I might end up doing that anways.

  19. #19
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    umm , it's not a problem if you have partitioned your HD ! then no need for burner .just a thought

  20. #20

    Thread Starter
    Addicted Member ProgrammerJon's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    203
    A few month ago I re-formated my hard drive. Before I re-formated the drive the drive was partitioned, all our data was on the partitioned part of the drive and because of an error on the operating system we couldn't load windows the only accsess that we had to the drive was through dos which couldn't reconize the partitioned part of the hard drive.

  21. #21
    Member
    Join Date
    May 2002
    Location
    Malaysia
    Posts
    45
    I also having this problem.. and what i do everytime is click the reset button then click the run button again... the application will work..

  22. #22

    Thread Starter
    Addicted Member ProgrammerJon's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    203
    Where is the Restest button located?

  23. #23
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    for me , I don't have reset button .I've two in one .

  24. #24
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    what are you talking about by the way !!!!reset button ???is it power button or something else

  25. #25
    Member
    Join Date
    May 2002
    Location
    Malaysia
    Posts
    45
    The reset Button i meant is inside the IDE. in the IDE there is button to run/execute the code, pause and another is the reset. When you click the reset button the debugger will restart the code and break point at the first line of code..

    Sorry for confusing you all, but this the way i always solved this problem...

    it will only happen when you run the program from the IDE but not in the EXE

  26. #26
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    I think I don't have one !!!!!!

  27. #27

    Thread Starter
    Addicted Member ProgrammerJon's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    203
    The reset button is located on the Debug toolbar.
    You can't press the reset button until your program is running.
    I can't get my program running so I can't press the reset button.

  28. #28
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    I got it thanx

  29. #29
    Member
    Join Date
    May 2002
    Location
    Malaysia
    Posts
    45
    you won't see that button when you never run the program. attached is 2 jpeg file.. the IDE1 show the IDE screen when you haven't run the program. the circled button is the run button that you use to start to run your program


    As you can see from the second picture IDE2.jpg. the button that i circled is the reset button that i meant.. when the program freezes when you running it... just click on that reset button and click run again... the programm should continue load..

    another strange thing is i try on several computer and i found out that this problem will only happened in the computer with INTEL processor but not AMD.
    Attached Images Attached Images  

  30. #30
    Member
    Join Date
    May 2002
    Location
    Malaysia
    Posts
    45
    sorry jpeg file too big... here is the IDE2.jpg
    Attached Images Attached Images  

  31. #31

    Thread Starter
    Addicted Member ProgrammerJon's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    203
    It's not my program the freezes it's visual Basic.
    Because VB is frozen I can't press the reset button.

  32. #32
    Member
    Join Date
    May 2002
    Location
    Malaysia
    Posts
    45
    is it only the Visual Basic IDE hang or the whole windows also become slow?

    If is the whole windows also become slow... i suggest that you check your souce code wheter there is an infinite loop or are all your custom define thread having proper delay etc.

  33. #33
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by StormJason
    another strange thing is i try on several computer and i found out that this problem will only happened in the computer with INTEL processor but not AMD.
    that's not true !

  34. #34
    Addicted Member Zealot's Avatar
    Join Date
    Jul 2002
    Location
    Lisboa, Portugal
    Posts
    206
    Of course it's common knowledge that Intel processors have stability problems, only AMD gives you what you want.

  35. #35
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by Zealot
    Of course it's common knowledge that Intel processors have stability problems, only AMD gives you what you want.
    All people around the world trust Intel Tech and few few few like AMDs.

  36. #36

    Thread Starter
    Addicted Member ProgrammerJon's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    203
    Originally posted by StormJason
    is it only the Visual Basic IDE hang or the whole windows also become slow?

    If is the whole windows also become slow... i suggest that you check your souce code wheter there is an infinite loop or are all your custom define thread having proper delay etc.
    It's no my program that is causing vb to freeze, vb freezes Every time even if there is just a blank form.
    Nothing goes slow it's that I can't do anything with vb(no buttons work, no menus work, nothing)

  37. #37
    Addicted Member Zealot's Avatar
    Join Date
    Jul 2002
    Location
    Lisboa, Portugal
    Posts
    206
    Originally posted by Pirate
    All people around the world trust Intel Tech and few few few like AMDs.
    Exactly. People are a lot more biased towards Intel against AMD than an Iraqui against Bush!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width