views:

61

answers:

1

I get this error "Illegal characters in path" for this code:

Dim strm As System.IO.FileStream
strm = New System.IO.FileStream(filepath, IO.FileMode.Open, IO.FileAccess.Read)
+2  A: 

Your file path might contain an invalid character that Windows file system not allow to use it like \ / : * ? " < > |

CallMeLaNN