...look at this,? I have a project in vb.net and it's due wensday but I keep running into a problem. I am trying to write an application that uses a database. I type
Dim con As OleDbConnection
con.ConnectionString = "Provider = Microsoft.ACE.OLEDB.blah blah blah"
the problem is that the "con" bit of "con.ConnectionString" is underlined and it says that "Object Reference not set to instance of an object". Now I have done this exact same code before without problem but, after multiple attempts to close and restart the program in the hopes that it would reset whatever the problem is. PLEASE HELP!