Click here to Skip to main content
12,454,104 members (57,236 online)

Visual Basic

 
GeneralRe: Getting All Logged On Users and IP VB.net Pin
Dave Kreskowiak12-Nov-12 10:02
mvpDave Kreskowiak12-Nov-12 10:02 
QuestionModule error> PLEASE HELP! Pin
leashim11-Nov-12 13:57
memberleashim11-Nov-12 13:57 
AnswerRe: Module error> PLEASE HELP! Pin
Dave Kreskowiak11-Nov-12 17:08
mvpDave Kreskowiak11-Nov-12 17:08 
QuestionPizza order form Pin
Ritchie Vasquez11-Nov-12 5:59
memberRitchie Vasquez11-Nov-12 5:59 
AnswerRe: Pizza order form Pin
Richard MacCutchan11-Nov-12 6:21
mvpRichard MacCutchan11-Nov-12 6:21 
Questioncheck smtp connection before sending ? Pin
alejx9-Nov-12 9:02
memberalejx9-Nov-12 9:02 
AnswerRe: check smtp connection before sending ? Pin
Dave Kreskowiak9-Nov-12 9:52
mvpDave Kreskowiak9-Nov-12 9:52 
GeneralRe: check smtp connection before sending ? Pin
alejx9-Nov-12 13:47
memberalejx9-Nov-12 13:47 
thank you , but i need to check if smtp server is ready , and if not i need to display a warning to user and cancel the sending process. If is ready i can begin sending emails.
i have found this code , but doesn't work when i test with a invalid smtp server name:

public bool ValidSMTP(string hostName)
{
    bool valid = false;
    try
    {
        TcpClient smtpTest = new TcpClient();
        smtpTest.Connect(hostName, 25);
        if (smtpTest.Connected)
        {
            NetworkStream ns = smtpTest.GetStream();
            StreamReader sr = new StreamReader(ns);
            if (sr.ReadLine().Contains("220"))
            {
                valid = true;
            }
            smtpTest.Close();
        }
    }
    catch
    {
        throw;
    }
    return valid;
}

GeneralRe: check smtp connection before sending ? Pin
Dave Kreskowiak9-Nov-12 14:15
mvpDave Kreskowiak9-Nov-12 14:15 
QuestionAllow a Desktop app to check for JavaScript errors on given URL? Pin
pogowolf9-Nov-12 6:17
memberpogowolf9-Nov-12 6:17 
QuestionUsing large XML dataset efficiently Pin
DisIsHoody7-Nov-12 8:16
memberDisIsHoody7-Nov-12 8:16 
AnswerRe: Using large XML dataset efficiently Pin
David Mujica7-Nov-12 9:10
memberDavid Mujica7-Nov-12 9:10 
Questionvb.net Web Browser Control! how to automate when web page is using frames. Pin
Kieran Sloan7-Nov-12 4:27
memberKieran Sloan7-Nov-12 4:27 
AnswerRe: vb.net Web Browser Control! how to automate when web page is using frames. Pin
Zaf Khan26-Nov-12 2:13
memberZaf Khan26-Nov-12 2:13 
QuestionHelp with Error Message Pin
GeorgieMPorgie5-Nov-12 3:32
memberGeorgieMPorgie5-Nov-12 3:32 
AnswerRe: Help with Error Message Pin
Wayne Gaylard5-Nov-12 4:05
mentorWayne Gaylard5-Nov-12 4:05 
GeneralRe: Help with Error Message Pin
GeorgieMPorgie5-Nov-12 5:03
memberGeorgieMPorgie5-Nov-12 5:03 
GeneralRe: Help with Error Message Pin
Wayne Gaylard5-Nov-12 18:31
mentorWayne Gaylard5-Nov-12 18:31 
QuestionUse Reportvier to Show Table with Unknown Number of Columns Pin
Member 76634803-Nov-12 15:03
memberMember 76634803-Nov-12 15:03 
AnswerRe: Use Reportvier to Show Table with Unknown Number of Columns Pin
Dave Kreskowiak4-Nov-12 4:25
mvpDave Kreskowiak4-Nov-12 4:25 
AnswerRe: Use Reportvier to Show Table with Unknown Number of Columns Pin
Mycroft Holmes4-Nov-12 11:54
memberMycroft Holmes4-Nov-12 11:54 
QuestionHow can i retrieve image to pictureBox ? Pin
heinhtataung1-Nov-12 18:04
memberheinhtataung1-Nov-12 18:04 
AnswerRe: How can i retrieve image to pictureBox ? Pin
Eddy Vluggen2-Nov-12 0:57
memberEddy Vluggen2-Nov-12 0:57 
AnswerRe: How can i retrieve image to pictureBox ? Pin
SZLMCL6-Nov-12 23:20
memberSZLMCL6-Nov-12 23:20 
QuestionHow can i save image in my N-tier application? Pin
heinhtataung31-Oct-12 20:20
memberheinhtataung31-Oct-12 20:20 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160826.1 | Last Updated 26 Aug 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid