zero issues vb.net and com

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
i finally decided to commit to learning visual studio vb.net and just tried linking in autocad activex com vba, whatever the term, and i am having zero issues getting it to work. i am studying visual studio textbooks, and have a long history of autocad and excel vba. i thought from reading posts it was a bad idea, very difficult, not smart, but i have ported over several hundred lines of code and its surprising how easy it is. i am rather convinced that everything is going to work, and in the meantime i get to learn the much improved IDE.
i am copy pasting small chunks, there is a bit to learn, but all the changes are predictable and easily done. the error reporting is vastly better. it will even volunteer to fix it. tells you when you declare variables and dont use.
arrays are a little different. no variant arrays. indexing is a little different.
all methods to be capitalized.
all arguments in parentheses.
no set statements.
sometimes you have to figure out how to get the namespace shortcuts to work. the error reporting in vs really helps.
many more tools to use with collections and array types.
it seems like a no-brainer. maybe vb7 made it work better from the visual studio side and people need to take a look at it. i will post my connection code after i have run it a little longer and gone thru the my first plug in again for my own comparison.
here are the relevant autocad links,
http://help.autodesk.com/view/OARX/2019/ENU/?guid=GUID-BFFF308E-CC10-4C56-A81E-C15FB300EB70
http://help.autodesk.com/view/OARX/2019/FRA/?guid=GUID-C8C65D7A-EC3A-42D8-BF02-4B13C2EA1A4B
http://help.autodesk.com/view/OARX/2019/ENU/?guid=GUID-D1E1CE43-F42B-4D8E-9B42-FDA9D8CCB6B9
http://help.autodesk.com/view/OARX/2019/ENU/?guid=GUID-927E71C2-E515-438E-9D7A-246D97BEF93F
also excel, a nice page with easy complete instructions. autodesk should do this,