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