Click here to Skip to main content
15,905,874 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionhow to develope Barcode Reader in VB Pin
Kamalatharsan10-Feb-06 3:48
Kamalatharsan10-Feb-06 3:48 
AnswerRe: how to develope Barcode Reader in VB Pin
bmyangelval1-May-06 19:47
bmyangelval1-May-06 19:47 
QuestionCombo - Prevent MouseWheel event Pin
RichardBerry10-Feb-06 3:45
RichardBerry10-Feb-06 3:45 
Questionhow to acces appsetting web.config for connection string? Pin
pandapatin10-Feb-06 1:52
pandapatin10-Feb-06 1:52 
AnswerRe: how to acces appsetting web.config for connection string? Pin
Guffa10-Feb-06 2:11
Guffa10-Feb-06 2:11 
GeneralRe: how to acces appsetting web.config for connection string? Pin
pandapatin10-Feb-06 4:10
pandapatin10-Feb-06 4:10 
AnswerRe: how to acces appsetting web.config for connection string? Pin
Guffa10-Feb-06 7:15
Guffa10-Feb-06 7:15 
QuestionProblem with System.net.mail Pin
kostasdiktia210-Feb-06 1:06
kostasdiktia210-Feb-06 1:06 
Hi guys,

When I used visual studio 7, to send a mail I used System.Web.mail.namespace .
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Imports System.Web.Mail

Public Class Form1

Dim obj As System.Web.Mail.SmtpMail
Dim Attachment As System.Web.Mail.MailAttachment
Dim message As New System.Web.Mail.MailMessage()


Private sub send_Mail()

obj.SmtpServer = text_Server.txt
message.to = text_To.txt
message.from = "\" & txtFromDisplayName.Text & "\ <" & txtFrom.Text & ">"
message.BodyFormat = MailFormat.Text
message.Subject = text_Subject.Text
message.Body = txtMessage.Text

Try
obj.Send(message)
catch ex as Exception
MsgBox("Problem with sending..please retry!",,"Attention!")
End Try

End sub

End Class
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

Now in Visual Studio 2005 (8), when I try the same code, the program "suggests" me to use the latest System.Net.Mail.namespace because System.Web.Mail.namespace is absolete!
So,is there someone to help me with this? I try to find examples in Web, but I find only examples in C# .net not in vb .net. Help me please!



Thanx in advance..Smile | :) Big Grin | :-D Laugh | :laugh: ;)
AnswerRe: Problem with System.net.mail Pin
Craster10-Feb-06 1:35
Craster10-Feb-06 1:35 
QuestionWin Spy Pin
biglewy9-Feb-06 22:34
biglewy9-Feb-06 22:34 
Questionpassing structure from dll Pin
YuccaTree9-Feb-06 21:16
YuccaTree9-Feb-06 21:16 
AnswerRe: passing structure from dll Pin
progload10-Feb-06 6:25
progload10-Feb-06 6:25 
GeneralRe: passing structure from dll Pin
YuccaTree11-Feb-06 3:06
YuccaTree11-Feb-06 3:06 
QuestionRe: passing structure from dll Pin
YuccaTree12-Feb-06 8:43
YuccaTree12-Feb-06 8:43 
AnswerRe: passing structure from dll Pin
progload12-Feb-06 9:53
progload12-Feb-06 9:53 
AnswerRe: passing structure from dll Pin
YuccaTree12-Feb-06 23:27
YuccaTree12-Feb-06 23:27 
GeneralRe: passing structure from dll Pin
progload13-Feb-06 5:46
progload13-Feb-06 5:46 
QuestionSimple Question on a form like msgbox Pin
cylix20009-Feb-06 20:09
cylix20009-Feb-06 20:09 
AnswerRe: Simple Question on a form like msgbox Pin
RichardBerry10-Feb-06 0:38
RichardBerry10-Feb-06 0:38 
AnswerRe: Simple Question on a form like msgbox Pin
Dave Kreskowiak10-Feb-06 4:23
mveDave Kreskowiak10-Feb-06 4:23 
GeneralRe: Simple Question on a form like msgbox Pin
cylix200012-Feb-06 16:11
cylix200012-Feb-06 16:11 
GeneralRe: Simple Question on a form like msgbox Pin
Dave Kreskowiak13-Feb-06 16:41
mveDave Kreskowiak13-Feb-06 16:41 
GeneralRe: Simple Question on a form like msgbox Pin
cylix200013-Feb-06 19:42
cylix200013-Feb-06 19:42 
GeneralRe: Simple Question on a form like msgbox Pin
Dave Kreskowiak14-Feb-06 2:22
mveDave Kreskowiak14-Feb-06 2:22 
General[Solved by Dave] Pin
cylix200013-Feb-06 19:54
cylix200013-Feb-06 19:54 

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.