Click here to Skip to main content
15,902,189 members
Home / Discussions / C#
   

C#

 
GeneralRe: Writting to a ListBox from another class Pin
cmacgowan22-Jun-05 7:17
cmacgowan22-Jun-05 7:17 
Generaltelnetting to a router Pin
reveal21-Jun-05 7:06
reveal21-Jun-05 7:06 
GeneralRe: telnetting to a router Pin
reveal21-Jun-05 7:07
reveal21-Jun-05 7:07 
GeneralRemoting thru firewalls Pin
Judah Gabriel Himango21-Jun-05 6:21
sponsorJudah Gabriel Himango21-Jun-05 6:21 
GeneralRe: Remoting thru firewalls Pin
DeepToot21-Jun-05 14:55
DeepToot21-Jun-05 14:55 
GeneralPassing special characters in a string Pin
CheckDude21-Jun-05 5:49
CheckDude21-Jun-05 5:49 
GeneralRe: Passing special characters in a string Pin
IamJunk21-Jun-05 6:02
IamJunk21-Jun-05 6:02 
GeneralRe: Passing special characters in a string Pin
mav.northwind21-Jun-05 6:58
mav.northwind21-Jun-05 6:58 
It's really quite simple:
In C/C++/C# a string is delimited by "
If you want to use " _inside_ a string you have to prefix this " (and only this one) with \

So #1 won't work because the first string ends before TestMessage,
#2 won't work because you start with an empty string (""),
#3 won't work because \( doesn't have to be escaped and
#4 won't work because the @ will mess up all your \'s.

Use methodName("QTextPrint(\"TestMessage\")");

This will work.

Regards,
mav
GeneralRe: Passing special characters in a string Pin
CheckDude21-Jun-05 16:08
CheckDude21-Jun-05 16:08 
QuestionHow do i create a savestate? Pin
Anthony Mushrow21-Jun-05 5:48
professionalAnthony Mushrow21-Jun-05 5:48 
AnswerRe: How do i create a savestate? Pin
IamJunk21-Jun-05 6:05
IamJunk21-Jun-05 6:05 
GeneralSecure Conversation doesn't work with second web service Pin
Member 186329021-Jun-05 5:07
Member 186329021-Jun-05 5:07 
GeneralMultiple connections Pin
Micu Radu21-Jun-05 4:53
Micu Radu21-Jun-05 4:53 
GeneralRe: Multiple connections Pin
CheckDude21-Jun-05 5:36
CheckDude21-Jun-05 5:36 
GeneralRe: Multiple connections Pin
Luis Alonso Ramos21-Jun-05 17:16
Luis Alonso Ramos21-Jun-05 17:16 
GeneralRe: Multiple connections Pin
Micu Radu24-Jun-05 0:29
Micu Radu24-Jun-05 0:29 
GeneralRe: Multiple connections Pin
Luis Alonso Ramos24-Jun-05 6:17
Luis Alonso Ramos24-Jun-05 6:17 
GeneralCrystal Reports / Data horizontally & vertically Pin
V.21-Jun-05 3:53
professionalV.21-Jun-05 3:53 
GeneralC# Project Pin
celebrate21-Jun-05 3:52
celebrate21-Jun-05 3:52 
GeneralRe: C# Project Pin
V.21-Jun-05 3:58
professionalV.21-Jun-05 3:58 
GeneralRe: C# Project Pin
Luis Alonso Ramos21-Jun-05 16:37
Luis Alonso Ramos21-Jun-05 16:37 
GeneralRe: C# Project Pin
Rui A. Rebelo21-Jun-05 16:52
Rui A. Rebelo21-Jun-05 16:52 
GeneralRe: C# Project Pin
Luis Alonso Ramos21-Jun-05 17:14
Luis Alonso Ramos21-Jun-05 17:14 
GeneralRe: C# Project Pin
P-Rex21-Jun-05 20:52
P-Rex21-Jun-05 20:52 
GeneralI think what he meant was... Pin
Ravi Bhavnani21-Jun-05 16:54
professionalRavi Bhavnani21-Jun-05 16: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.