Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Strange error in vb
#1
I just finished a little prog and it works fine when you run it, but when you exit the program, just through a button with the end command the program won't completly exit.. :???:
This gonna be a bit tricky to explain in english...
i use xp, and i don't know the name of it in english but the window that pop up when you press ctrl + alt +del.. In that window my application is listed, and then to the right i says Do not respond..

I don't understand, the code seems fine to me..
I quite new to vb and i recently learned about controls, maybe i did something wrong with the external control i'm using.. You gotta add some line before you end a proggie with controls

hope you understand, cheers..
ttp://hem.passagen.se/qb.basta
Reply
#2
You shouldn't really use End if you use any kind of objects that you instantiate. You should Unload any forms and set any object variables to Nothing.

THe window you're talking about is called the Task Manager in XP.
Reply
#3
Thx finnaly a answer.. I think your right DrV..
When your saying unload forms? what do u mean with that..

I don't know anything about this but here it is anyway =)
When i'm using my control i don't get a extra form.. i only have the main form that i created and that one you don't have unload, right?
Also, the only thing i'm using is string..
ttp://hem.passagen.se/qb.basta
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)