Click here to Skip to main content
15,900,258 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralVB.NET ComboBoxes Pin
mikasa21-Feb-03 2:37
mikasa21-Feb-03 2:37 
QuestionThis control array should work, right? Pin
David Williams20-Feb-03 10:21
David Williams20-Feb-03 10:21 
AnswerRe: This control array should work, right? Pin
Ray Cassick20-Feb-03 11:54
Ray Cassick20-Feb-03 11:54 
GeneralRe: This control array should work, right? Pin
David Williams21-Feb-03 9:25
David Williams21-Feb-03 9:25 
GeneralRe: This control array should work, right? Pin
David Williams21-Feb-03 9:27
David Williams21-Feb-03 9:27 
GeneralRe: This control array should work, right? Pin
mikasa21-Feb-03 9:40
mikasa21-Feb-03 9:40 
GeneralRe: This control array should work, right? Pin
David Williams21-Feb-03 10:18
David Williams21-Feb-03 10:18 
GeneralTry to send email Pin
Anonymous20-Feb-03 10:09
Anonymous20-Feb-03 10:09 
I'm trying to send email from within VB.NET and I get the following error: "Could not access 'CDO.Message' object." when I try to send the message. Here's a brief summary of my config:

Running Windows 2000, SP3 on our Company Ethernet with MS Echange email server

Code:

Imports System.Web.Mail<br />
<br />
'These 3 were added while I was debugging the problem, but they don't seem to help<br />
Imports CDO      <br />
Imports MAPI     <br />
Imports MSMAPI<br />
.<br />
.<br />
    Dim MailMsg As System.Web.Mail.MailMessage<br />
    Dim MailSrvr As System.Web.Mail.SmtpMail<br />
.<br />
.<br />
.<br />
.<br />
        MailMsg = New System.Web.Mail.MailMessage()<br />
        MailMsg.From = "from@email"<br />
        MailMsg.Body = "Test Message!"<br />
        MailMsg.Subject = "HI"<br />
        MailMsg.To = "to@email"<br />
        Try<br />
            MailSrvr.Send(MailMsg)<br />
        Catch err As Exception<br />
            Debug.WriteLine(err.Message)<br />
        End Try


Without fail, I get the error message. It seems to me that the code is right, but I must be missing a service or config somewhere. I've searched high and low on the web, MSDN, and .NET's sorry documentation but can't find out what's up.

Any ideas?
GeneralRe: Try to send email Pin
Nick Seng20-Feb-03 15:51
Nick Seng20-Feb-03 15:51 
GeneralRe: Try to send email Pin
Anonymous25-Feb-03 9:03
Anonymous25-Feb-03 9:03 
Generaltextbox loosing focus Pin
Anonymous20-Feb-03 9:06
Anonymous20-Feb-03 9:06 
GeneralRe: textbox loosing focus Pin
Jerome Conus20-Feb-03 19:29
Jerome Conus20-Feb-03 19:29 
GeneralRe: textbox loosing focus Pin
mikasa21-Feb-03 2:35
mikasa21-Feb-03 2:35 
GeneralParallel Port Interfacing Pin
thehms19-Feb-03 22:26
thehms19-Feb-03 22:26 
GeneralMake Window Flash 3 Times Pin
Anomaly102419-Feb-03 13:02
Anomaly102419-Feb-03 13:02 
GeneralRe: Make Window Flash 3 Times Pin
r i s h a b h s19-Feb-03 21:06
r i s h a b h s19-Feb-03 21:06 
GeneralRe: Make Window Flash 3 Times Pin
Anonymous20-Feb-03 13:14
Anonymous20-Feb-03 13:14 
GeneralHelp is on the wheels............. Pin
r i s h a b h s20-Feb-03 21:03
r i s h a b h s20-Feb-03 21:03 
GeneralOLE control Pin
Anthony988719-Feb-03 7:01
Anthony988719-Feb-03 7:01 
GeneralOLE control Pin
Anthony988719-Feb-03 7:01
Anthony988719-Feb-03 7:01 
GeneralLaunch Application From Windows Service Pin
J Smith19-Feb-03 3:49
J Smith19-Feb-03 3:49 
Generalreport width larger then paper width Pin
mcm19-Feb-03 2:42
mcm19-Feb-03 2:42 
GeneralRe: report width larger then paper width Pin
thehms20-Feb-03 5:32
thehms20-Feb-03 5:32 
Generalhelp - Control Array and Refer to the control in KeyDown events in VB.net Pin
gilbertlow18-Feb-03 22:14
gilbertlow18-Feb-03 22:14 
QuestionUsing Windows Animations? Pin
nefilm18-Feb-03 9:52
nefilm18-Feb-03 9:52 

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.