Click here to Skip to main content
15,924,507 members
Home / Discussions / C#
   

C#

 
GeneralRe: Life of application Pin
Dave Kreskowiak10-Jun-04 4:56
mveDave Kreskowiak10-Jun-04 4:56 
GeneralThe file associated with FileStream Pin
Meysam Mahfouzi9-Jun-04 21:40
Meysam Mahfouzi9-Jun-04 21:40 
GeneralRe: The file associated with FileStream Pin
Heath Stewart10-Jun-04 4:25
protectorHeath Stewart10-Jun-04 4:25 
QuestionHow to add image property to UserControl? Pin
luming11223344559-Jun-04 21:38
luming11223344559-Jun-04 21:38 
AnswerRe: How to add image property to UserControl? Pin
partyganger10-Jun-04 3:10
partyganger10-Jun-04 3:10 
AnswerRe: How to add image property to UserControl? Pin
Heath Stewart10-Jun-04 4:20
protectorHeath Stewart10-Jun-04 4:20 
GeneralRe: How to add image property to UserControl? Pin
luming112233445510-Jun-04 14:37
luming112233445510-Jun-04 14:37 
Generalsend mail Pin
ChangAli9-Jun-04 21:06
ChangAli9-Jun-04 21:06 
hi i want send mail from my program to next email ,for example Anzerato@hotmail.com ,but i can't,and error is :

System.web.HttpExeption:could not access 'CDO.Message'object.--->System.Reflection.TargetInvocationException:Exception has been thrown by the target of an invoction.--->System.Runtime.InteropServices.COMException(0x80040213):the transport failed to connect to server.
.
.
.

my program is :

MailMessage mail = new MailMessage();<br />
mail.From = "alichangizi@Hotmail.com";<br />
mail.To = "Anzerato@hotmail.com";<br />
mail.Subject = "Site Error";<br />
mail.Body = "OK";<br />
mail.BodyFormat = MailFormat.Html;<br />
MailMessage();<br />
try<br />
{<br />
   SmtpMail.SmtpServer = "localhost";<br />
   SmtpMail.Send(mail);<br />
}<br />
catch(System.Web.HttpException ehttp)<br />
{<br />
   Console.WriteLine("{0}", ehttp.Message);<br />
   Console.WriteLine("Here is the full error message output");<br />
   Console.Write("{0}", ehttp.ToString());<br />
}<br />

GeneralRe: send mail Pin
Heath Stewart10-Jun-04 4:16
protectorHeath Stewart10-Jun-04 4:16 
GeneralRe: ListView Pin
myNameIsRon9-Jun-04 20:44
myNameIsRon9-Jun-04 20:44 
GeneralRe: ListView Pin
Alex Getman10-Jun-04 1:29
Alex Getman10-Jun-04 1:29 
GeneralRe: ListView Pin
Serge Lobko-Lobanovsky10-Jun-04 2:08
Serge Lobko-Lobanovsky10-Jun-04 2:08 
GeneralRe: ListView Pin
myNameIsRon11-Jun-04 19:54
myNameIsRon11-Jun-04 19:54 
GeneralAccess first form's control from the second form. Pin
Titan59-Jun-04 19:27
Titan59-Jun-04 19:27 
GeneralRe: Access first form's control from the second form. Pin
fayth9-Jun-04 19:54
fayth9-Jun-04 19:54 
GeneralRe: Access first form's control from the second form. Pin
fayth9-Jun-04 19:56
fayth9-Jun-04 19:56 
GeneralRe: Access first form's control from the second form. Pin
palbano9-Jun-04 19:56
palbano9-Jun-04 19:56 
GeneralRe: Access first form's control from the second form. Pin
Titan511-Jun-04 21:51
Titan511-Jun-04 21:51 
GeneralRunning size of Windows Form App. Pin
David Horner9-Jun-04 19:05
David Horner9-Jun-04 19:05 
GeneralRe: Running size of Windows Form App. Pin
palbano9-Jun-04 19:51
palbano9-Jun-04 19:51 
GeneralRe: Running size of Windows Form App. Pin
David Horner9-Jun-04 21:09
David Horner9-Jun-04 21:09 
GeneralRe: Running size of Windows Form App. Pin
Heath Stewart10-Jun-04 4:01
protectorHeath Stewart10-Jun-04 4:01 
QuestionHelp! How can I drawing datagrid header text at center alignment? Pin
pig12349-Jun-04 18:29
pig12349-Jun-04 18:29 
AnswerRe: Help! How can I drawing datagrid header text at center alignment? Pin
Heath Stewart10-Jun-04 3:59
protectorHeath Stewart10-Jun-04 3:59 
Questionwhy FileSystemWatcher doesn't work? Pin
fayth9-Jun-04 18:20
fayth9-Jun-04 18: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.