VB3 program OK in WIn 3.1 but not in WIN 95 
Author Message
 VB3 program OK in WIn 3.1 but not in WIN 95

I have a simple VB3 Access 1.1 database program which runs perfectly in
Win3.1
I copied  the program  & the database  files to another computer using
W95 and got a 'file not found' error at line 100

50    form1.DATA1.databasename = "phones.mdb"
70    form1.DATA1.recordsource = "Select * from phone order by name"

'(phone is the table)
100  form1.DATA1.REFRESH
200  etc

All the files are in the same directory & I have checked their names
using VB3's DIR$
and W95's 'Find'. They are there. Their attributes & sizes are OK.
I even reconstructed a new test database file using the same field
structure. Same result.
I have another VB3 database program which runs perfectly in W95 on the
same computer & drive.
Can anyone suggest possible causes for this odd behaviour ?

Graham Rice



Wed, 26 Apr 2000 03:00:00 GMT
 VB3 program OK in WIn 3.1 but not in WIN 95

Found that the missing file was a DLL, not my .mdb file.
The error message did not name the missing file.

Quote:

> I have a simple VB3 Access 1.1 database program which runs perfectly in
> Win3.1
> I copied  the program  & the database  files to another computer using
> W95 and got a 'file not found' error at line 100

> 50    form1.DATA1.databasename = "phones.mdb"
> 70    form1.DATA1.recordsource = "Select * from phone order by name"

> '(phone is the table)
> 100  form1.DATA1.REFRESH
> 200  etc

> All the files are in the same directory & I have checked their names
> using VB3's DIR$
> and W95's 'Find'. They are there. Their attributes & sizes are OK.
> I even reconstructed a new test database file using the same field
> structure. Same result.
> I have another VB3 database program which runs perfectly in W95 on the
> same computer & drive.
> Can anyone suggest possible causes for this odd behaviour ?

> Graham Rice



Thu, 27 Apr 2000 03:00:00 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. Creating Win 3.1 apps/network apps in win 95

2. pdox 7 for win 3.1 run on windows 95

3. HELP - Error 50003 - VB5, Win 95, Win 98, Win NT

4. transfer files from Win 3.1 to Win 98

5. Pdox 5 and Win 3.1/locate producing win error

6. HELP!!Win 3.1 Client <==>Win NT Sql Server

7. vfp 5.0 programs for win 3.1

8. Problem with copying to Clipboard - VB3.0 and Win 95

9. VB3 compatibility w/ Win 95?

10. vb3/access 2.0/win 95

11. ado on win 95, win 98


 
Powered by phpBB® Forum Software