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

C#

 
QuestionDesign Question Pin
programmervb.netc++26-Mar-10 17:24
programmervb.netc++26-Mar-10 17:24 
AnswerRe: Design Question Pin
Luc Pattyn26-Mar-10 17:33
sitebuilderLuc Pattyn26-Mar-10 17:33 
AnswerRe: Design Question Pin
programmervb.netc++26-Mar-10 17:36
programmervb.netc++26-Mar-10 17:36 
GeneralRe: Design Question Pin
Ravi Bhavnani26-Mar-10 20:14
professionalRavi Bhavnani26-Mar-10 20:14 
GeneralRe: Design Question Pin
programmervb.netc++26-Mar-10 21:45
programmervb.netc++26-Mar-10 21:45 
GeneralRe: Design Question Pin
AspDotNetDev26-Mar-10 23:35
protectorAspDotNetDev26-Mar-10 23:35 
AnswerRe: Design Question Pin
PIEBALDconsult27-Mar-10 4:31
mvePIEBALDconsult27-Mar-10 4:31 
Questioncheck for URL problem Pin
Jassim Rahma26-Mar-10 12:42
Jassim Rahma26-Mar-10 12:42 
I am using this code when for activated to get the URL address but the Messagebox keeps poping up when user clicked Yes or No.. why it's not returning? where is my mistake?

private void frmLinksEntry_Activated(object sender, EventArgs e)
{
    string url_address = Clipboard.GetText();

    if (url_address != string.Empty)
    {
        try
        {
            System.Uri xx = new Uri(url_address);

        }
        catch (FormatException exp)
        {
            return;
        }

        if (MessageBox.Show("Do you want to use the selected URL?", "Link", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
        {
            txtURL.Text = url_address;
        }
    }
}

AnswerRe: check for URL problem Pin
Alan N26-Mar-10 13:22
Alan N26-Mar-10 13:22 
GeneralRe: check for URL problem Pin
Jassim Rahma26-Mar-10 13:26
Jassim Rahma26-Mar-10 13:26 
GeneralRe: check for URL problem Pin
AspDotNetDev26-Mar-10 23:48
protectorAspDotNetDev26-Mar-10 23:48 
GeneralRe: check for URL problem Pin
Jassim Rahma27-Mar-10 12:17
Jassim Rahma27-Mar-10 12:17 
GeneralRe: check for URL problem Pin
AspDotNetDev30-Mar-10 23:12
protectorAspDotNetDev30-Mar-10 23:12 
Questionbullets and numberring in RTF Pin
Jassim Rahma26-Mar-10 12:33
Jassim Rahma26-Mar-10 12:33 
Questioncreate Microsoft Word Document in C# Pin
Jassim Rahma26-Mar-10 12:18
Jassim Rahma26-Mar-10 12:18 
AnswerRe: create Microsoft Word Document in C# Pin
Alan N26-Mar-10 13:37
Alan N26-Mar-10 13:37 
AnswerRe: create Microsoft Word Document in C# Pin
Richard MacCutchan26-Mar-10 23:07
mveRichard MacCutchan26-Mar-10 23:07 
GeneralRe: create Microsoft Word Document in C# Pin
Jassim Rahma27-Mar-10 12:29
Jassim Rahma27-Mar-10 12:29 
GeneralRe: create Microsoft Word Document in C# Pin
Richard MacCutchan27-Mar-10 21:26
mveRichard MacCutchan27-Mar-10 21:26 
GeneralRe: create Microsoft Word Document in C# Pin
Jassim Rahma28-Mar-10 11:45
Jassim Rahma28-Mar-10 11:45 
GeneralRe: create Microsoft Word Document in C# Pin
Richard MacCutchan28-Mar-10 12:02
mveRichard MacCutchan28-Mar-10 12:02 
QuestionDegrees, minutes and seconds to Decimal Degrees Pin
Darrall26-Mar-10 12:12
Darrall26-Mar-10 12:12 
AnswerRe: Degrees, minutes and seconds to Decimal Degrees Pin
Tarakeshwar Reddy26-Mar-10 12:23
professionalTarakeshwar Reddy26-Mar-10 12:23 
AnswerRe: Degrees, minutes and seconds to Decimal Degrees Pin
Roger Wright26-Mar-10 17:04
professionalRoger Wright26-Mar-10 17:04 
GeneralRe: Degrees, minutes and seconds to Decimal Degrees Pin
Darrall27-Mar-10 3:59
Darrall27-Mar-10 3:59 

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.