I have the strangest problem. I am trying to extract a file to the server and kept getting an error. When I tried to debug the error with Print statements I noticed that if I have a colon immediately to the right of another character the string disappears. For example
Dim wholepath As String
wholepath = "c:" + doc.CADFileNames(i)
Print wholepath + “ ”
Prints a null string
Where as
Dim wholepath As String
wholepath = "c :" + doc.CADFileNames(i)
Print wholepath + “ ”
Prints the correct string because of the space after the c, but it does not allow me to extract the file because the path is incorrect.
If anyone has seen anything similar and has a solution, it would be greatly appreciated. This one is driving crazy.