CDao MFC classes and a Access 97 DB
-
Hi, I´m using the CDao classes from the MFC to manipulate and store data in an Access 97 db, using the Jet 3.5. engine. I was wondering if there are any good books that someone could suggest for reading. Any thing I´ve found sofar is all to to with VB. Even the various help files use VB examples. (I´m using Dev Studio 97 VC++ 5.0). Normal opererations like deleteing,adding,modifying, querydef´s and the like is quite simple, but creating relationshiups between tables is quite annoying, and the msdn does not help that much. Thanks in advance Phil bum... and I thought I´d got rid of all the bugs :(
-
Hi, I´m using the CDao classes from the MFC to manipulate and store data in an Access 97 db, using the Jet 3.5. engine. I was wondering if there are any good books that someone could suggest for reading. Any thing I´ve found sofar is all to to with VB. Even the various help files use VB examples. (I´m using Dev Studio 97 VC++ 5.0). Normal opererations like deleteing,adding,modifying, querydef´s and the like is quite simple, but creating relationshiups between tables is quite annoying, and the msdn does not help that much. Thanks in advance Phil bum... and I thought I´d got rid of all the bugs :(
Phil Most of the samples you'll find will be VB. Many of the Office related technologies are promoted (at least, their automation models are!) through use of VB, VBA or VBS. In the case of JET this isn't exactly a surprise, given the use of VB as the scripting language. However, I assume you've already got the DAO SDK (I believe it's on the VC++ CD). You could try getting hold of the JET Programmers Guide, which is (or was) an MS Press book. Another thing to do is get hold of the VB->VC++ automation conversion tool that was on the MSDN site some time ago. It doesn't do 100% conversion of course, but usually enough to get you started on the right road. Steve S
-
Phil Most of the samples you'll find will be VB. Many of the Office related technologies are promoted (at least, their automation models are!) through use of VB, VBA or VBS. In the case of JET this isn't exactly a surprise, given the use of VB as the scripting language. However, I assume you've already got the DAO SDK (I believe it's on the VC++ CD). You could try getting hold of the JET Programmers Guide, which is (or was) an MS Press book. Another thing to do is get hold of the VB->VC++ automation conversion tool that was on the MSDN site some time ago. It doesn't do 100% conversion of course, but usually enough to get you started on the right road. Steve S
Thanks Steve, I had almost given up getting a reply :( I´ll look into what you have suggested, and thanks once again for your time. Phil bum... and I thought I´d got rid of all the bugs :(
-
Phil Most of the samples you'll find will be VB. Many of the Office related technologies are promoted (at least, their automation models are!) through use of VB, VBA or VBS. In the case of JET this isn't exactly a surprise, given the use of VB as the scripting language. However, I assume you've already got the DAO SDK (I believe it's on the VC++ CD). You could try getting hold of the JET Programmers Guide, which is (or was) an MS Press book. Another thing to do is get hold of the VB->VC++ automation conversion tool that was on the MSDN site some time ago. It doesn't do 100% conversion of course, but usually enough to get you started on the right road. Steve S
Hi Steve, me again.... I´ve managed to find the book you mentioned, I´ll have to see if I can order it. As for the automation conversion tool you mentioned, I have not been able to find it, do you still have a link to it? Thanks in advance Phil bum... and I thought I´d got rid of all the bugs :(