PDA

View Full Version : Visual Studio.Net Question.



hydr0
07-23-2007, 12:39 PM
I got the app for free from Microshaft so its legit... never really played with it up until now.. and because I am too damn lazy to RTFM or JFGI Here is a simple question... How do I bind an execution type code or command to a msg box window.. so where it would be.. would you like to execute yes or no you click yes and it just goes.. ?

Mysterio
07-23-2007, 12:49 PM
Dim doResume
doResume = MessageBox.Show("Resume list position " & IndexVar & "/" & lstAccounts.Items.Count & "", "Resume list position.", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1, MessageBoxOptions.DefaultDesktopOnly, False)
If doResume = vbYes Then
Debug.Print("Resuming position " & IndexVar)
ElseIf doResume = vbNo Then
End if


Copy & paste from my proggy, cause I'm too lazy to type it all out.

hydr0
07-23-2007, 12:50 PM
Thanks lol I'm too lazy to search for it...

Vershun
07-23-2007, 01:01 PM
Just for the future VS.NET consists of 5 programming languages or so so you should specify :x.

Mysterio
07-23-2007, 01:08 PM
Yea.. I assumed he was talking about vb.net which he apparently was. I just didn't bother to say anything about the visual studio comment.

hydr0
07-23-2007, 02:26 PM
is it common for Microshaft to just give away copies of their shiot?

Vershun
07-23-2007, 02:33 PM
The Express version they have publicly available for a free download.

hydr0
07-23-2007, 02:59 PM
They actually shipped this to me. with CD Key and everything.