|
-
Nov 17th, 2011, 07:15 PM
#1
Thread Starter
New Member
[RESOLVED] Problem with MsgBoxStyle.YesNo
Hello all,
I've problem with this code:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal _
e As System.EventArgs) Handles MyBase.Load
If Not File.Exists("C:\Windows\System32\dsquery.exe") Then
MsgBox("Do you want install Remote Server Administration Tools?", MsgBoxStyle.Question + MsgBoxStyle.YesNo)
ElseIf MsgBoxResult.Yes Then
System.Diagnostics.Process.Start("http://http://www.microsoft.com/download/en/details.aspx?id=7887")
ElseIf MsgBoxResult.No Then
Exit Sub
End If
The problem is:
I want to if the user doesn't install RSAT or package dsquery.exe Clicking on the message to him referring to the page url and if it clicks in MsgBox not to stop loading the form.
I'm sorry but I am a beginner.
Thanks for the advice
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|