Sorry, your code is being reformatted by the web interface, which I'm not using. Hopefully, someone else that can help is.
This is a major problem with the new discussion group software, and clearly one they had have been aware of before they rolled it out, so I would have to guess that it's intentional, and that they're trying to force the use of the web interface rather than NNTP.
The web interface still stinks.... one of the worst I've ever seen.
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2009
Supporting AutoCAD 2000 through 2009
http://www.acadxtabs.com
Introducing AcadXTabs 2010:
http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm
wrote in message news:6038352@discussion.autodesk.com...
I am using visual studio 2005 and RealDWG 2009 and I trying to open the dwg file using realdwg library in c# application and following is my source code. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using Autodesk.AutoCAD.DatabaseServices; namespace RealDWGTest { public partial class Form1 : Form { public Form1() { InitializeComponent(); *InitializeRealDwgComponents(); // This line shows the error* } private void InitializeRealDwgComponents() { Autodesk.AutoCAD.Runtime.RuntimeSystem.Initialize(new RealDWGApp(), 1033); Database db = new Database(); db.ReadDwgFile("C:\test.dwg", FileOpenMode.OpenForReadAndAllShare, true, ""); } } public class RealDWGApp : Autodesk.AutoCAD.DatabaseServices.HostApplicationServices { public override string FindFile(string fileName, Database database, FindFileHint hint) { throw new Exception("The method or operation is not implemented."); } } } When I try to run this program following error occurred: "Could not load file or assembly 'acdbmgd, Version=17.2.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified." Please help to solve this problem. Edited by: mmtechnologies on Sep 25, 2008 6:40 PM Edited by: mmtechnologies on Sep 25, 2008 6:44 PM