implementing .dvb file from 2010 to Autocad 2016 VBAenabler 2016

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am planning to buy the new autocad 2016 and license all of my companies computer but we have a plugin that we have been using for years. Here's the problem. The thing is running properly on autocad 2010 with vbaenabler 2010, but when I try to load it using autocad 2010 with vbaenabler 2016, it doesn't work. What's the difference between the two? are there changes with the syntax in 2016 when writing codes?
Anyway here's the 2 problem I'm facing.
My first problem is when I open the plugin with autocad 2016 this dialog box pops out
I just press Ok, and the main module runs. what does this means?
second is this one :
I have an old plugin and it's running properly on autocad 2010, I'm trying to laod it on 2016, here's the function code
Private Function getRawFname(frm As Object, ByVal gsi As Boolean) As String If gsi Then frm.cmdFD.Filter = "Raw Data (*.raw)|*.raw" Else frm.cmdFD.Filter = "Comma Delimited (*.cdd)|*.cdd" End If frm.cmdFD.FilterIndex = 1 frm.cmdFD.ShowOpen getRawFname = frm.cmdFD.FileName End Function
I haven't coded visual basic in my life before but the function above seems to determine a file type and run.
error: this line
frm.cmdFD.Filter = "Comma Delimited (*.cdd)|*.cdd"