Click here to Skip to main content
15,918,343 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: TextBox Question Pin
15-Jun-01 12:13
suss15-Jun-01 12:13 
GeneralRe: TextBox Question Pin
15-Jun-01 12:15
suss15-Jun-01 12:15 
GeneralTrying to detect Cancel in ShowPrinter Pin
jamesdturner@hotmail.com6-Jun-01 17:01
jamesdturner@hotmail.com6-Jun-01 17:01 
GeneralRe: Trying to detect Cancel in ShowPrinter Pin
AndyG6-Jun-01 17:26
AndyG6-Jun-01 17:26 
GeneralWriting selected cells from Excel in csv Pin
6-Jun-01 4:16
suss6-Jun-01 4:16 
GeneralPassing in variables to a VB executable Pin
31-May-01 12:46
suss31-May-01 12:46 
GeneralRe: Passing in variables to a VB executable Pin
AndyG3-Jun-01 22:04
AndyG3-Jun-01 22:04 
Question"Unrecognized format"? Pin
Jason Teagle31-May-01 8:15
Jason Teagle31-May-01 8:15 
I created a database in Access 2000. I tried to use the following code in VB 6.0 to open that database:

---
Dim wspDefault As Workspace
Dim DB As Database, DBSet As Recordset

' Grab the default workspace.
Set wspDefault = DBEngine.Workspaces(0)
' Open the database.
Set DB = wspDefault.OpenDatabase("c:\temp\xxx.mdb")
---

When I run it, though, it gives me error 3343: "Unrecognized database format".

Is this because VB does not have / know the correct Jet DLLs to access a database created in Access 2000? They must exist otherwise how is Access doing it... If this is the problem, how / where do I get the right files, and where do I put them? If not, what have I done wrong?


AnswerRe: Pin
AndyG3-Jun-01 22:16
AndyG3-Jun-01 22:16 
GeneralRe: Pin
Jarek G8-Jun-01 10:41
Jarek G8-Jun-01 10:41 
Generaldeploiying an access project Pin
30-May-01 9:53
suss30-May-01 9:53 
GeneralRe: deploiying an access project Pin
2-Jun-01 8:58
suss2-Jun-01 8:58 
GeneralGetting the Caret Location Pin
30-May-01 4:37
suss30-May-01 4:37 
GeneralRe: Getting the Caret Location Pin
Jason Teagle31-May-01 8:21
Jason Teagle31-May-01 8:21 
GeneralRe: Getting the Caret Location Pin
31-May-01 10:23
suss31-May-01 10:23 
GeneralRe: Getting the Caret Location Pin
Jason Teagle31-May-01 10:36
Jason Teagle31-May-01 10:36 
GeneralRe: Getting the Caret Location Pin
31-May-01 10:45
suss31-May-01 10:45 
GeneralRe: Getting the Caret Location Pin
Jason Teagle31-May-01 10:52
Jason Teagle31-May-01 10:52 
GeneralRe: Getting the Caret Location Pin
31-May-01 11:11
suss31-May-01 11:11 
GeneralRe: Getting the Caret Location Pin
Jason Teagle31-May-01 11:13
Jason Teagle31-May-01 11:13 
Generaltest Pin
28-May-01 20:28
suss28-May-01 20:28 
Generaltest 2 Pin
28-May-01 20:29
suss28-May-01 20:29 
GeneralHi Test Only Pin
7-Jun-01 17:10
suss7-Jun-01 17:10 
GeneralRe: Hi Test Only Pin
Ulf Öhlén7-Jun-01 22:26
Ulf Öhlén7-Jun-01 22:26 
GeneralHi Test Only Pin
7-Jun-01 17:11
suss7-Jun-01 17:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.