i need help with C++ program

hi im using visual basic 2010 and i made my own program and i would like to know how to make the program exit after the user pressed "ok" on the message box here is a link to what i mean.
https://www.youtube.com/watch?v=teKwpYDXBkg&feature=youtu.be&safe=active
a) instead of making youtube videos its typically easier to just post your code and explain your problem
b) this should be in the lounge since it is vb and not c++ (notice how it says general c++ programming)
c) why did you open up an account on a c++ website for a help question with visual basic?
because vb is C++
anyway i found out how to do it thanks for ur help dummy

because vb is C++
no its not. not at all...
Topic archived. No new replies allowed.