Click here to Skip to main content
15,892,746 members
Home / Discussions / C#
   

C#

 
GeneralRe: Caching In WinForm Apps etc. Pin
Andre Trollip22-Jun-07 3:31
Andre Trollip22-Jun-07 3:31 
GeneralRe: Caching In WinForm Apps etc. Pin
Sathesh Sakthivel22-Jun-07 3:42
Sathesh Sakthivel22-Jun-07 3:42 
GeneralRe: Caching In WinForm Apps etc. Pin
Colin Angus Mackay22-Jun-07 3:48
Colin Angus Mackay22-Jun-07 3:48 
Questionregarding crystal reports Pin
fgfdhghgfd22-Jun-07 1:42
fgfdhghgfd22-Jun-07 1:42 
QuestionOutput string with "" Pin
Brendan Vogt22-Jun-07 1:19
Brendan Vogt22-Jun-07 1:19 
AnswerRe: Output string with "" Pin
Guffa22-Jun-07 1:26
Guffa22-Jun-07 1:26 
GeneralRe: Output string with "" Pin
Brendan Vogt22-Jun-07 1:44
Brendan Vogt22-Jun-07 1:44 
AnswerRe: Output string with "" Pin
Guffa22-Jun-07 2:43
Guffa22-Jun-07 2:43 
ma se wrote:
I did like you said, but then VB.NET adds a space after the \, like in:

writer.WriteLine("\"" & strRow & " \ "")


That's because you are trying to use C# escape codes in VB. You end up trying to divide the string "\" & strRow & " with the string "". VB automatically tries to convert the strings to numbers, that's why you get the error message about incorrect format. You should use Option Strict On to prevent that kind of automatic conversions.

In VB you escape the quote by putting another quote in:

writer.WriteLine("""" & strRow & """")

---
single minded; short sighted; long gone;

QuestionC# or .NET 3D Math Library Pin
rsaint2722-Jun-07 0:56
rsaint2722-Jun-07 0:56 
AnswerRe: C# or .NET 3D Math Library Pin
GrinderDev26-Jul-07 4:12
GrinderDev26-Jul-07 4:12 
Questioncan u solve it Pin
srinivassam22-Jun-07 0:51
srinivassam22-Jun-07 0:51 
AnswerRe: can u solve it Pin
Mali Perica22-Jun-07 0:58
Mali Perica22-Jun-07 0:58 
AnswerRe: can u solve it Pin
Christian Graus22-Jun-07 1:02
protectorChristian Graus22-Jun-07 1:02 
AnswerRe: can u solve it Pin
Nouman Bhatti22-Jun-07 3:01
Nouman Bhatti22-Jun-07 3:01 
QuestionDo i have to remove the Events ? Pin
MarkPhB22-Jun-07 0:19
MarkPhB22-Jun-07 0:19 
AnswerRe: Do i have to remove the Events ? Pin
Christian Graus22-Jun-07 1:03
protectorChristian Graus22-Jun-07 1:03 
GeneralRe: Do i have to remove the Events ? [modified] Pin
MarkPhB22-Jun-07 1:18
MarkPhB22-Jun-07 1:18 
AnswerRe: Do i have to remove the Events ? Pin
Luc Pattyn22-Jun-07 1:53
sitebuilderLuc Pattyn22-Jun-07 1:53 
AnswerRe: Do i have to remove the Events ? Pin
Martin#22-Jun-07 9:16
Martin#22-Jun-07 9:16 
QuestionGet User Data from the Active Directory : recieving err:System.Runtime.InteropServices.COMException: The server is not operational Pin
cksat122-Jun-07 0:10
cksat122-Jun-07 0:10 
Questioncookies Pin
tasumisra22-Jun-07 0:03
tasumisra22-Jun-07 0:03 
AnswerRe: cookies Pin
Christian Graus22-Jun-07 1:05
protectorChristian Graus22-Jun-07 1:05 
QuestionHow to convert a Win32 hbrush to a .Net brush object Pin
Tushar Mahajan21-Jun-07 23:54
Tushar Mahajan21-Jun-07 23:54 
AnswerRe: How to convert a Win32 hbrush to a .Net brush object Pin
Luc Pattyn22-Jun-07 0:17
sitebuilderLuc Pattyn22-Jun-07 0:17 
Questioncreating dll files Pin
razanabanu21-Jun-07 23:49
razanabanu21-Jun-07 23:49 

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.