Hi All.
I'm developing a small VB NET 2008 application that reads a Path in a Database and Open the right files on my disks with eDrawings 2009. I embedded the OCX control and I call the following function correctly:
edrwControl.OpenDoc("C:\sample.sldprt", True, True, False, "")
All works fine with sldprt files. But Always crash with DWG files.
I'm also tried to start a separate process with:
System.Diagnostics.Process.Start("C:\Program Files\Common Files\eDrawings2009\EModelViewer.exe", "C:\sample.dwg").
Also here, works fine with sldprt and crash with DWG.
If I open eDrawing without VB (as usual), I can read correctly both files: sldprt and dwg.
Please, Have You any suggestion about it?
Thank You very much for Your answer!
Gabriele
I'm developing a small VB NET 2008 application that reads a Path in a Database and Open the right files on my disks with eDrawings 2009. I embedded the OCX control and I call the following function correctly:
edrwControl.OpenDoc("C:\sample.sldprt", True, True, False, "")
All works fine with sldprt files. But Always crash with DWG files.
I'm also tried to start a separate process with:
System.Diagnostics.Process.Start("C:\Program Files\Common Files\eDrawings2009\EModelViewer.exe", "C:\sample.dwg").
Also here, works fine with sldprt and crash with DWG.
If I open eDrawing without VB (as usual), I can read correctly both files: sldprt and dwg.
Please, Have You any suggestion about it?
Thank You very much for Your answer!
Gabriele