Author Topic: db.ReadDwgFile not working in 2006  (Read 5553 times)

0 Members and 1 Guest are viewing this topic.

vegbruiser

  • Guest
Re: db.ReadDwgFile not working in 2006
« Reply #15 on: August 06, 2008, 06:36:39 AM »
It might be nothing (but then again it might not):

in the line that reads
Code: [Select]
db.ReadDwgFile(@"F:\0001\Engineering\Base Files\1E-OA_Project-CALC.dwg", System.IO.FileShare.Read, false, null);It seems to have an "@" symbol in front of the filename??? (or is it something that C# uses that VB doesn't?)

Glenn R

  • Guest
Re: db.ReadDwgFile not working in 2006
« Reply #16 on: August 06, 2008, 06:49:08 AM »
The @ symbol is a 'verbatim string' - take it as it is and don't interpret any escape characters

vegbruiser

  • Guest
Re: db.ReadDwgFile not working in 2006
« Reply #17 on: August 06, 2008, 06:54:05 AM »
The @ symbol is a 'verbatim string' - take it as it is and don't interpret any escape characters
Ah, thanks. I'll remember that for future reference. :)