|
-
May 15th, 2008, 07:53 AM
#1
Thread Starter
Addicted Member
Literal String in vb.net [vs2005]
Hi,
I am trying to create a file with my streamwriter object.
My filepath contains spaces ...
And I need to find a way of how to have this filepath string as a literal string.
I found out that in C# there is a function where you can add @ before the string ... but have yet to find an equivalant in vb.net.
What do i do?
This is the line where it breaks ...
Dim sw As IO.StreamWriter = New IO.StreamWriter(strFilePath, True)
strFilePath contains spaces ...
Im stuck and appreciate any help on the matter.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|