tag:blogger.com,1999:blog-4011252463639388552.post1518276033742959777..comments2024-03-20T14:03:01.388-04:00Comments on JTB World Blog: Launch AutoCAD 2004 from VB.NETJTB Worldhttp://www.blogger.com/profile/02249678064305703202noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-4011252463639388552.post-84856537580343765462008-08-02T17:02:00.000-04:002008-08-02T17:02:00.000-04:00Hi, I have a problem with the use of late binding ...Hi, I have a problem with the use of late binding when I try to use ActiveDimStyle and assign other object that was created using the method Add.<BR/><BR/>the code is:<BR/><BR/>Dim acApp as Object<BR/>Dim acDoc as Object<BR/>Dim newDimStyle as Object<BR/><BR/>/***** Here the code mentioned in this post ******/<BR/><BR/>AcDoc = AcApp.ActiveDocument<BR/>newDimStyle = acDoc.DimStyles.Add("MyStyle")<BR/>AcDoc.ActiveDimStyles = newDimStyle<BR/><BR/>The problem is an exception of COM Objects.Anonymousnoreply@blogger.com