I created an ODBC System Data souce using an Access 2007 database, and the
Microsoft Access Driver (*.mdb, *.accdb) - version 12...
In VS2005, I attempted to use the MFC ODBC Consumer Wizard to to create a
class to interface with this data source. After selecting the datasource,
login, and table, I was back in the wizard proper. There I selected the
default class name, and filesnames. Dynaset, and Bind All Columns was
checked. When I clicked Finish, the entire VS2005 IDE crashed.
If I repeat the process with the Bind All Columns box unchecked, it
completes, but of course with much of the work left for me to do.
Is there a fix for this problem?
Thanks
Jim
Looks like it was not fixed in VS2005. Does anyone know if it has been fixed
in VS2008:
Thanks,
Jim
"Jim Walsh" <JimW...@discussions.microsoft.com> wrote in message
news:0CA143A7-C7C1-44E0...@microsoft.com...
I could be thinking of something else, but wasn't a lot of the database
wizards for C++ removed in VS2008? So it might be "fixed" but not in a good
way. ;)
-- David
Thanks for responding to my posting.
I have VS2008 on a DVD but have not yet installed it. I am always reluctant
to install something new unless I know it has been well-debugged. Also wary
of the kind of changes that you mention.
Do you know if there is any way that I can confirm your suspicion that the
database wizards for C++/MFC have been removed? Why would they do that?
Jim
"David Ching" <d...@remove-this.dcsoft.com> wrote in message
news:505A455F-6B97-463D...@microsoft.com...
This is what I meant:
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.vc.mfc&tid=789bc719-a781-4521-9649-2b3143ec210d&cat=&lang=&cr=&sloc=&p=1
Apparently the "Data Source Configuration Wizard" has 3 choices in VS2005
(and in .NET in VS2008): Object, Database and Service, but in C++ it only
has Object.
-- David
That might be a different wizard. At least, that is not what I am working
with.
The wizard I'm using comes when I use the Add Class dialog to add a class to
my project. I select MFC as the category, and then MFC ODBC Consumer as the
Template. That brings up the MFC ODBC Consumer Wizard. I then give it my
ODBC data source, and it is supposed to give me a CRecordset-derived class.
It is that wizard that is crashing.
I have VS2008 on a DVD here but have not yet installed it. I'm always a
little reluctant to change things that are working. I know that I can
install VS2008 side-by-side with VS2005. So, I might do that to see if the
wizard works there. But, the quickest solution for me might to hand code my
new CRecordset derived class.
Again, thanks for your suggestions.
Jim
"David Ching" <d...@remove-this.dcsoft.com> wrote in message
news:3BCF6AA5-2082-4838...@microsoft.com...
"JimW" <som...@mydomain.com> wrote in message
news:%23QxIqja...@TK2MSFTNGP02.phx.gbl...
"marco53" <mar...@discussions.microsoft.com> wrote in message
news:F0B89A42-BB1A-4439...@microsoft.com...