Hello!
i have a problem with the following snippet:
(working on Visual Studio 2008 , Net-Framwork 3.5, all Service-packs)
Vb.Net
My.Computer.FileSystem.RenameFile(cc + TmpName + cc, cc + OnlyName + cc)
Cc equals to Chr(34)
or also
My.Computer.FileSystem.RenameFile(TmpName,OnlyName)
The Problem occurs if in one of the Strings the Character ";" is embedded.
Don't ask me wy this Char is in the Filename - it is.
An "Illegal Character in Path" exception occurs. Is this a good known problem?
i have a problem with the following snippet:
(working on Visual Studio 2008 , Net-Framwork 3.5, all Service-packs)
Vb.Net
My.Computer.FileSystem.RenameFile(cc + TmpName + cc, cc + OnlyName + cc)
Cc equals to Chr(34)
or also
My.Computer.FileSystem.RenameFile(TmpName,OnlyName)
The Problem occurs if in one of the Strings the Character ";" is embedded.
Don't ask me wy this Char is in the Filename - it is.
An "Illegal Character in Path" exception occurs. Is this a good known problem?