Normal
Ok, I'd like to return to this because I'd like to be able to use the built-in SQLite stuff to match the syntax of other developers.Please, if you have any information out there, please respond.It appears that the exception is only related to debugging. On one of the WindowsForms in my plugin I made a button with the following code:[CODE] private void button_debug_Click(object sender, EventArgs e) { string strDatabaseFile = textBox_MPDatabaseFile.Text; try { SQLiteClient m_db = new SQLiteClient(strDatabaseFile); MessageBox.Show("Successfully opened database."); } catch { MessageBox.Show("ERROR. Something happened."); } }[/CODE]When I try to run the code in debug mode, it drops to the catch statement because of the errors that I've listed previously.BUT, when I compile the code and run as a MP plugin, it successfully opens the database. How do you other developers debug your code?? Is there something I'm missing. I copied the SQLite.dll from the MediaPortal directory into the debug folder of my project so that it can find it.I really want to figure this out because it is really annoying
Ok, I'd like to return to this because I'd like to be able to use the built-in SQLite stuff to match the syntax of other developers.
Please, if you have any information out there, please respond.
It appears that the exception is only related to debugging. On one of the WindowsForms in my plugin I made a button with the following code:
[CODE] private void button_debug_Click(object sender, EventArgs e)
{
string strDatabaseFile = textBox_MPDatabaseFile.Text;
try
SQLiteClient m_db = new SQLiteClient(strDatabaseFile);
MessageBox.Show("Successfully opened database.");
}
catch
MessageBox.Show("ERROR. Something happened.");
[/CODE]
When I try to run the code in debug mode, it drops to the catch statement because of the errors that I've listed previously.
BUT, when I compile the code and run as a MP plugin, it successfully opens the database. How do you other developers debug your code?? Is there something I'm missing. I copied the SQLite.dll from the MediaPortal directory into the debug folder of my project so that it can find it.
I really want to figure this out because it is really annoying