M
M Skabialka
I am trying to teach myself Visual Basic using online lessons and books,
using VS2005.
I created a new project, a windows forms app, with nothing in it yet but the
empty form. Following the lesson plan I chose Data, Add New Data Source,
highlighted 'Database', Next
An error message comes up immediately: "An unexpected error has occured.
Error Message: Object reference not set to an instance of an object."
I had planned on connecting to a copy of the Northwind Access database.
Another error I encountered was "Format of the initialization string does
not
conform to specification starting at index 0."
I have tried researching this but in most cases there seems to be some code
that crashes - but this database is empty - I haven't written any code yet
other than what VS creates automatically.
Is there something wrong with the way I installed Visual Studio? Is it a
bug? Did I miss a step you have to do before you can connect to a data
source? Is the problem the fact that I have an .mdb database but I am
running Access 2007 on the PC?
My questions on the Visual Studio newsgroups have gone unanswered.
Mich
using VS2005.
I created a new project, a windows forms app, with nothing in it yet but the
empty form. Following the lesson plan I chose Data, Add New Data Source,
highlighted 'Database', Next
An error message comes up immediately: "An unexpected error has occured.
Error Message: Object reference not set to an instance of an object."
I had planned on connecting to a copy of the Northwind Access database.
Another error I encountered was "Format of the initialization string does
not
conform to specification starting at index 0."
I have tried researching this but in most cases there seems to be some code
that crashes - but this database is empty - I haven't written any code yet
other than what VS creates automatically.
Is there something wrong with the way I installed Visual Studio? Is it a
bug? Did I miss a step you have to do before you can connect to a data
source? Is the problem the fact that I have an .mdb database but I am
running Access 2007 on the PC?
My questions on the Visual Studio newsgroups have gone unanswered.
Mich