Click here to Skip to main content
15,926,596 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Looking for VB.net Programmer for robotics application. Pin
Dave Kreskowiak30-Mar-07 11:47
mveDave Kreskowiak30-Mar-07 11:47 
GeneralRe: Looking for VB.net Programmer for robotics application. Pin
bbonilla30-Mar-07 12:00
bbonilla30-Mar-07 12:00 
QuestionWhy does the ComboBox drop text after a / when using the append auto complete mode. Pin
lancehall7330-Mar-07 9:30
lancehall7330-Mar-07 9:30 
QuestionPopulate a combobox on a DataGridView control [modified] Pin
DA_Loring30-Mar-07 5:32
DA_Loring30-Mar-07 5:32 
Questionchanging Gateway Pin
charchabil0330-Mar-07 5:03
charchabil0330-Mar-07 5:03 
QuestionUnzip XP Compressed Folder Pin
dBrong30-Mar-07 4:51
dBrong30-Mar-07 4:51 
Questionhost name Pin
amaneet30-Mar-07 2:09
amaneet30-Mar-07 2:09 
AnswerRe: host name Pin
kubben30-Mar-07 2:26
kubben30-Mar-07 2:26 
First you need to set your SMTP server hostname in your app.config file:
<system.net>
<mailSettings>
<network host="SMTPServerNameHere" />
</mailSettings>
</system.net>

Then you can to this:
dim _systemNet as System.Net.Configuration.NetSectionGroup
dim config as Configuration = Nothing
config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None)
_systemNet = config.GetSectionGroup("system.net")

finally this will have your smtpserver name
_systemNet.MailSettings.Smtp.Network.Host

Hope that helps.
Ben
GeneralRe: host name Pin
amaneet30-Mar-07 2:33
amaneet30-Mar-07 2:33 
GeneralRe: host name Pin
kubben30-Mar-07 2:37
kubben30-Mar-07 2:37 
Questionopenning outlook express in vb.net 2005 Pin
amaneet30-Mar-07 1:53
amaneet30-Mar-07 1:53 
AnswerRe: openning outlook express in vb.net 2005 Pin
Christian Graus30-Mar-07 3:08
protectorChristian Graus30-Mar-07 3:08 
Questionbar codes in vb.net 2005 Window Applications Pin
amaneet30-Mar-07 0:10
amaneet30-Mar-07 0:10 
AnswerRe: bar codes in vb.net 2005 Window Applications Pin
kubben30-Mar-07 2:27
kubben30-Mar-07 2:27 
AnswerRe: bar codes in vb.net 2005 Window Applications Pin
Dave Kreskowiak30-Mar-07 4:10
mveDave Kreskowiak30-Mar-07 4:10 
QuestionRole based authentication.......................... Pin
HemMagesh29-Mar-07 23:58
HemMagesh29-Mar-07 23:58 
AnswerRe: Role based authentication.......................... Pin
JUNEYT30-Mar-07 11:14
JUNEYT30-Mar-07 11:14 
QuestionOperation system users Pin
amaneet29-Mar-07 23:38
amaneet29-Mar-07 23:38 
AnswerRe: Operation system users Pin
Dave Kreskowiak30-Mar-07 4:03
mveDave Kreskowiak30-Mar-07 4:03 
Questiondsn in vb.net 2005 Pin
amaneet29-Mar-07 23:25
amaneet29-Mar-07 23:25 
AnswerRe: dsn in vb.net 2005 Pin
Dave Kreskowiak30-Mar-07 4:02
mveDave Kreskowiak30-Mar-07 4:02 
Questionopenfiledialog selected path in messagebox Pin
pm1447329-Mar-07 22:29
pm1447329-Mar-07 22:29 
AnswerRe: openfiledialog selected path in messagebox Pin
The ANZAC29-Mar-07 22:53
The ANZAC29-Mar-07 22:53 
GeneralEmailing and processes. Pin
Bradml29-Mar-07 22:17
Bradml29-Mar-07 22:17 
GeneralRe: Emailing and processes. Pin
The ANZAC29-Mar-07 23:02
The ANZAC29-Mar-07 23:02 

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.