Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
GeneralRe: Maintaining Variables Pin
clugsy6419-Mar-13 7:20
clugsy6419-Mar-13 7:20 
AnswerRe: Maintaining Variables Pin
Abhinav S19-Mar-13 18:17
Abhinav S19-Mar-13 18:17 
Questionread .sav-file Pin
ANahr19-Mar-13 4:40
ANahr19-Mar-13 4:40 
AnswerRe: read .sav-file Pin
NotPolitcallyCorrect19-Mar-13 4:53
NotPolitcallyCorrect19-Mar-13 4:53 
AnswerRe: read .sav-file Pin
Jegan Thiyagesan19-Mar-13 6:10
Jegan Thiyagesan19-Mar-13 6:10 
GeneralRe: read .sav-file Pin
ANahr19-Mar-13 11:15
ANahr19-Mar-13 11:15 
AnswerRe: read .sav-file Pin
Pete O'Hanlon19-Mar-13 6:34
mvePete O'Hanlon19-Mar-13 6:34 
QuestionUsing URL in C# Pin
annex4518-Mar-13 21:21
annex4518-Mar-13 21:21 
Hello all!

I have a couple of questions, half C# related, the other half, less C# related, but more related to embedding URL in C#, thank you for your attention.

I'm writing a console app (in C#) that is supposed to pop up the default mail software, fill in the recipients, subject and body.
this data is acquired from a txt file the app processed.
To do that I start a process (IEXPLORE)
and give it the @"mailto:...", A regex I created from the processed data.

problem is, the body of the text does not take \n seriously and well, basically I have one long line where five should be.
one of my questions is, how do I get a URL to produce a line break?

A second issue is that the app is also supposed to attach the attachments, whose full local path has been processed from the latter mentioned txt file.

i used the &attachments="c:\..." and well, no attachments..

Now for the more C# related part...
the app has two bi-products :
It opens a console windows which needs to be manually closed
IT opens an explorer window that needs to be manually closed
I am a novice programmer and still do not know much about threads.. I understand that I will have to use them somehow, could someone point me in the right direction?

Thank you in advance

modified 19-Mar-13 4:32am.

AnswerRe: Using URL in C# PinPopular
Pete O'Hanlon18-Mar-13 23:12
mvePete O'Hanlon18-Mar-13 23:12 
AnswerRe: Using URL in C# Pin
Richard Deeming18-Mar-13 23:41
mveRichard Deeming18-Mar-13 23:41 
GeneralRe: Using URL in C# Pin
annex4520-Mar-13 12:43
annex4520-Mar-13 12:43 
AnswerRe: Using URL in C# Pin
jschell19-Mar-13 9:53
jschell19-Mar-13 9:53 
QuestionLinq To SQL Query Not Working - Null Problem Pin
Kevin Marois18-Mar-13 20:40
professionalKevin Marois18-Mar-13 20:40 
AnswerRe: Linq To SQL Query Not Working - Null Problem Pin
Freak3019-Mar-13 0:25
Freak3019-Mar-13 0:25 
GeneralRe: Linq To SQL Query Not Working - Null Problem Pin
Kevin Marois19-Mar-13 5:00
professionalKevin Marois19-Mar-13 5:00 
AnswerRe: Linq To SQL Query Not Working - Null Problem Pin
Mycroft Holmes19-Mar-13 0:28
professionalMycroft Holmes19-Mar-13 0:28 
GeneralRe: Linq To SQL Query Not Working - Null Problem Pin
Freak3019-Mar-13 22:17
Freak3019-Mar-13 22:17 
Questionsocket in service WCF Pin
ibrahimCA18-Mar-13 10:55
ibrahimCA18-Mar-13 10:55 
AnswerRe: socket in service WCF Pin
Richard MacCutchan18-Mar-13 23:27
mveRichard MacCutchan18-Mar-13 23:27 
GeneralRe: socket in service WCF Pin
Nand3219-Mar-13 20:53
Nand3219-Mar-13 20:53 
GeneralRe: socket in service WCF Pin
Richard MacCutchan19-Mar-13 22:45
mveRichard MacCutchan19-Mar-13 22:45 
QuestionUSB To Serial Adapter speed Pin
C-P-User-318-Mar-13 10:07
C-P-User-318-Mar-13 10:07 
AnswerRe: USB To Serial Adapter speed Pin
dusty_dex18-Mar-13 12:29
dusty_dex18-Mar-13 12:29 
JokeRe: USB To Serial Adapter speed Pin
PIEBALDconsult18-Mar-13 13:16
mvePIEBALDconsult18-Mar-13 13:16 
AnswerRe: USB To Serial Adapter speed Pin
C-P-User-319-Mar-13 5:55
C-P-User-319-Mar-13 5:55 

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.