Skip the COM part, and go to the browse tab, and reference acmgd.dll and acdbmdg.dll
I set copy local to false, and go from there
Ok, I tried that, I did the tutorial from the autodesk developer website (a program that compiles a .DLL file, use NETLOAD to run it, and it writes an MTEXT object on the screen).
BUT, here is what I would like to start out with, to make things plain and simple. (I like simplicity) I've scoured the google machine looking for answers to a simple question, and only found articles that did not help me. I would LOVE some simple help, once I get started, I think I can use my limited knowledge of the autocad objects and properties to fumble my way through stuff. But, I go ONE concept at a time. (or sometimes combine 2 or 3)
Here is what I want to do:
using visual studios 2008, and C#, and autocad 2010.
1. Start a project using just a regular console application (to start out with)
2. write code to start an open file dialog box to find a .dwg file.
3. the program should open the file (without having autocad already open) and get all the block names contained within the file.
4. output the names to the screen.
5. close the autocad file.
PLEASE, I DO NOT NEED anyone to write this whole thing for me, I simply need the first part.. step by step method to connect my program to a chosen autocad file.
if you want to write the whole thing out, fine, but I don't need that. I just need to know how to basically run a program .exe file that can open an autocad file.
thank you very much!
-argV