closeFile doesn't work
Posted: 09 Sep 2009, 18:01
Hi,
i'm using a temporary file : toto.plt
the first time I load it, it's working !
but, the second time I have a popup wich say that my file toto.plt is ever used.
This error is on my ligne :
what method do I have to use?
isn't the CloseFile() method ??
Thanks
Code: Select all
Try
CadViewerControl1.CloseFile()
Catch ex As Exception
End Try
File.Copy(fileName, "C:\jobe\temp\toto.plt")
CadViewerControl1.LoadFile("C:\jobe\temp\toto.plt")
the first time I load it, it's working !
but, the second time I have a popup wich say that my file toto.plt is ever used.
This error is on my ligne :
Code: Select all
File.Copy(fileName, "C:\jobe\temp\toto.plt")
isn't the CloseFile() method ??
Thanks