
VB3/4 Problem Accessing Access 1.1, Read Only In WIN95
The following code works with no error in WIN 3.11, but gives a 3051
error in WIN 95 when trying to read a database from a write protected
disk. The results are the same for VB3 & VB4. Why does it not work in
WIN95, and is there a work around?
Sub Form1_Load()
Dim dbgExtern as database
On error resume next
Set dbgExtern = OpenDatabase("A:\Expdata\Cornealx.mdb", False, True)
label1 = Str$(Err)
end sub
Thanks