Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Nov 10th, 2007, 4:50 PM   #1
rednek
Newbie
 
Join Date: Nov 2007
Posts: 1
Rep Power: 0 rednek is on a distinguished road
Vb6 App from Access97 to Access2002

I'm trying to get an old VB6 app I wrote in the mid nineties back to life ...
I have to change from Access97 to 2002 so I can work the database. I did the Access conversion without errors but VB6 screamed at me when I fired the App up!
"Run-time error 3343 Unrecognized database format"

My code at startup goes as follows:
[gsLocalDB = app.Path & "\Local97.mdb"]

It was this next line that caused the error...
[Set dbRate = DBEngine.Workspaces(0).OpenDataBase (gsLocalDB)]

General Declarations
[ Public gsLocalDB As String]
[ Public dbRate As Database]
[ Public wsRate96 As Workspace]

Local97.mdb is the database I'm trying to open in Access2002.

Can anyone suggest a cure?
Many thanks,
Ken
rednek is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VB6 Calculator johann vanoustren Visual Basic 13 Jul 21st, 2008 9:08 AM
VB6 - Mouse Wheel / Scroll NOT WORK on Datagrid control ransomjulian Visual Basic 0 Nov 9th, 2007 7:14 PM
Can this be done in VB6? diablo75 Visual Basic 1 Oct 20th, 2007 11:49 PM
console app with wxWidgets rwm C++ 7 Sep 4th, 2007 9:44 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:46 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC