Transitioning from VBA to VB.NET - Template Assistance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Good morning All
I've been programming in VBA for many years, but feel that as my programs get more complex and sophistacted, I should probably make the switch to a more powerful and supported language.
Years ago I had a dabble into VB.NET but never really had the time to pursue it properly, but I did have some templates that would start off a new AutoCAD script in Visual Studio, that was preset with all the file references etc needed to manipulate a session of AutoCAD. It was even set to allow for the old VBA 'ThisDrawing' variable, referring to the current AutoCAD drawing.
I'm presently using AutoCAD 2019 & 2020 and have Visual Studio 2019 installed, but I'm really struggling to get a VB.NET session started and successfully referenced to AutoCAD. With VBA, it's all taken care of, of course.
So, if any of you have a template set up that you'd be willing to share, I'd be very grateful. Or if there's a good noobie reference guide somewhere, that could also prove invaluable.
Thanks very much
Graham