Click here to Skip to main content
15,887,676 members
Home / Discussions / C#
   

C#

 
AnswerRe: Looping through form elements Pin
stancrm18-May-06 2:50
stancrm18-May-06 2:50 
QuestionRe: Looping through form elements Pin
Brendan Vogt18-May-06 3:29
Brendan Vogt18-May-06 3:29 
GeneralRe: Looping through form elements Pin
Brendan Vogt15-Jun-06 0:38
Brendan Vogt15-Jun-06 0:38 
QuestionLicensing Scheme for C# apps Pin
student_rhr17-May-06 3:22
student_rhr17-May-06 3:22 
Questiona question about messageboxbuttons.okcancel ? Pin
cmpeng3417-May-06 3:14
cmpeng3417-May-06 3:14 
AnswerRe: a question about messageboxbuttons.okcancel ? Pin
Colin Angus Mackay17-May-06 3:22
Colin Angus Mackay17-May-06 3:22 
AnswerRe: a question about messageboxbuttons.okcancel ? Pin
stancrm17-May-06 3:28
stancrm17-May-06 3:28 
AnswerRe: a question about messageboxbuttons.okcancel ? Pin
coolestCoder17-May-06 3:40
coolestCoder17-May-06 3:40 
Hi,
this is simple. read this example from msdn

Private Sub ValidateUserEntry2()<br />
<br />
<br />
    ' Checks the value of the text.<br />
<br />
    If ServerName.Text.Length = 0 Then<br />
<br />
        ' Initializes variables to pass to the MessageBox.Show method.<br />
<br />
        Dim Message As String = "You did not enter a server name. Cancel this operation?"<br />
        Dim Caption As String = "No Server Name Specified"<br />
        Dim Buttons As Integer = MessageBoxButtons.YesNo<br />
<br />
        Dim Result As DialogResult<br />
<br />
        'Displays a MessageBox using the Question icon and specifying the No button as the default.<br />
<br />
        Result = MessageBox.Show(Me, Message, Caption, MessageBoxButtons.YesNo, _<br />
            MessageBoxIcon.Question, MessageBoxDefaultButton.Button1, MessageBoxOptions.RightAlign)<br />
<br />
<br />
        ' Gets the result of the MessageBox display.<br />
<br />
        If Result = DialogResult.Yes Then<br />
<br />
            ' Closes the parent form.<br />
<br />
            Me.Close()<br />
<br />
        End If<br />
<br />
    End If<br />
<br />
End Sub


Anant Y. Kulkarni
QuestionMS Outlook-esque control Pin
NewbieDude17-May-06 3:01
NewbieDude17-May-06 3:01 
AnswerRe: MS Outlook-esque control Pin
J4amieC17-May-06 3:04
J4amieC17-May-06 3:04 
AnswerRe: MS Outlook-esque control Pin
ekynox17-May-06 22:01
ekynox17-May-06 22:01 
GeneralRe: MS Outlook-esque control Pin
NewbieDude17-May-06 22:04
NewbieDude17-May-06 22:04 
QuestionOpen .xls file in excel from code Pin
livez17-May-06 3:01
livez17-May-06 3:01 
AnswerRe: Open .xls file in excel from code Pin
CWIZO17-May-06 9:10
CWIZO17-May-06 9:10 
GeneralRe: Open .xls file in excel from code Pin
livez17-May-06 20:10
livez17-May-06 20:10 
GeneralRe: Open .xls file in excel from code Pin
CWIZO17-May-06 20:49
CWIZO17-May-06 20:49 
GeneralRe: Open .xls file in excel from code Pin
livez17-May-06 21:33
livez17-May-06 21:33 
QuestionGet physical location of IIS root Pin
lovyou5217-May-06 2:57
lovyou5217-May-06 2:57 
AnswerRe: Get physical location of IIS root Pin
Colin Angus Mackay17-May-06 3:16
Colin Angus Mackay17-May-06 3:16 
GeneralRe: Get physical location of IIS root Pin
leppie17-May-06 19:38
leppie17-May-06 19:38 
GeneralRe: Get physical location of IIS root Pin
Colin Angus Mackay17-May-06 20:12
Colin Angus Mackay17-May-06 20:12 
QuestionTextbox not displaying Pin
Brendan Vogt17-May-06 2:54
Brendan Vogt17-May-06 2:54 
Questionhowto enable button2 if i click button1 ? Pin
cmpeng3417-May-06 1:08
cmpeng3417-May-06 1:08 
AnswerRe: howto enable button2 if i click button1 ? Pin
Naveed Kamboh17-May-06 1:28
Naveed Kamboh17-May-06 1:28 
AnswerRe: howto enable button2 if i click button1 ? Pin
User 665817-May-06 1:32
User 665817-May-06 1:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.