In my new plugin, I have a form that loads a table from an Access database and displays it in a grid. This works fine in a prototype exe that is NOT a Rhino plugin. However, when I execute the same form in a Rhino plugin, it errors out.
The data connection (which tests successfully in the IDE while creating the connection) is
"C:\Visual Studio 2013\Projects\Winforms\Cabinet Labels 2014\Cabinet Labels 2014\bin\jobrpt.mdb"
The connection string is "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=“C:\Visual Studio 2013\Projects\Winforms\Cabinet Labels 2014\Cabinet Labels 2014\bin\jobrpt.mdb”
The error I get when executing the plugin is
"Could not find file ‘C:\Program Files (x86)\Rhinoceros 5.0\System\jobrpt.mdb’."
I have the IDE set to Debug32 and Any CPU.
Any idea why the plugin is looking for the file in the Rhino system folder?