Click here to Skip to main content
15,914,500 members
Home / Discussions / C#
   

C#

 
GeneralRe: using C# to draw over directx games Pin
MarkB77730-Dec-07 16:15
MarkB77730-Dec-07 16:15 
GeneralDevice name Pin
Strategic_Thinker30-Dec-07 5:29
Strategic_Thinker30-Dec-07 5:29 
GeneralCapturing VB6 event in C#.Net Pin
M A A Mehedi Hasan30-Dec-07 1:17
M A A Mehedi Hasan30-Dec-07 1:17 
GeneralRe: Capturing VB6 event in C#.Net Pin
Michael Sync30-Dec-07 5:35
Michael Sync30-Dec-07 5:35 
GeneralRe: Capturing VB6 event in C#.Net Pin
Paul Conrad30-Dec-07 6:41
professionalPaul Conrad30-Dec-07 6:41 
GeneralRe: Capturing VB6 event in C#.Net Pin
Michael Sync30-Dec-07 19:02
Michael Sync30-Dec-07 19:02 
GeneralRe: Capturing VB6 event in C#.Net Pin
Paul Conrad30-Dec-07 19:06
professionalPaul Conrad30-Dec-07 19:06 
GeneralInvoke function into mail body in an email Pin
zafax_30-Dec-07 0:12
zafax_30-Dec-07 0:12 
Hi guys i had solution which im confusing that how a body of mail takes streamreader's colllection from a text file. How can i do this? can anyone give me a suggestion, would be great!

function readtext reads a myfile.txt and i want invoke this method to mail.Body. by send mail event.

private static void readtext()
{
FileStream fs = new FileStream("C:\\myfile.txt", FileMode.Open, FileAccess.Read);
StreamReader sr = new StreamReader(fs);
sw.BaseStream.Seek(0, SeekOrigin.Begin);
string str = sw.ReadLine();
while (str != null)
{

str = sr.ReadLine();
}
sr.Close();
fs.Close();
}
}

thanks!

so much of happy ending...

GeneralRe: Invoke function into mail body in an email Pin
Paul Conrad30-Dec-07 6:42
professionalPaul Conrad30-Dec-07 6:42 
GeneralRe: Invoke function into mail body in an email Pin
Skippums31-Dec-07 8:09
Skippums31-Dec-07 8:09 
GeneralRe: Invoke function into mail body in an email Pin
zafax_31-Dec-07 8:14
zafax_31-Dec-07 8:14 
QuestionTransferring arrays from C++ library to C# application Pin
Yooval29-Dec-07 22:28
Yooval29-Dec-07 22:28 
GeneralRe: Transferring arrays from C++ library to C# application Pin
ashukasama31-Dec-07 4:56
ashukasama31-Dec-07 4:56 
Generalinserting image to database sqlserver Pin
yemen_programmer29-Dec-07 19:44
yemen_programmer29-Dec-07 19:44 
GeneralRe: inserting image to database sqlserver Pin
Michael Sync29-Dec-07 22:19
Michael Sync29-Dec-07 22:19 
GeneralArray of objects Pin
eric_tran29-Dec-07 19:27
eric_tran29-Dec-07 19:27 
GeneralRe: Array of objects Pin
Michael Sync29-Dec-07 22:24
Michael Sync29-Dec-07 22:24 
GeneralRe: Array of objects [modified] Pin
eric_tran30-Dec-07 0:07
eric_tran30-Dec-07 0:07 
GeneralRe: Array of objects Pin
Michael Sync30-Dec-07 5:33
Michael Sync30-Dec-07 5:33 
Generalproblem usinf usercontrol object in HTML page Pin
samy10029-Dec-07 14:32
samy10029-Dec-07 14:32 
GeneralRe: problem usinf usercontrol object in HTML page Pin
Michael Sync29-Dec-07 22:27
Michael Sync29-Dec-07 22:27 
AnswerRe: problem usinf usercontrol object in HTML page Pin
dipak.dipak30-Dec-07 2:19
dipak.dipak30-Dec-07 2:19 
GeneralRe: problem usinf usercontrol object in HTML page Pin
samy10030-Dec-07 11:39
samy10030-Dec-07 11:39 
GeneralBinding to a property Pin
peterchen29-Dec-07 14:30
peterchen29-Dec-07 14:30 
GeneralMySql & C# Question ... pulling data Pin
shadowhazard29-Dec-07 9:59
shadowhazard29-Dec-07 9:59 

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.