VB3 and Access 2.0 problem 
Author Message
 VB3 and Access 2.0 problem

Hi

I am working on the maintenance of an old app. in VB3 and Access 2.0
and seem to have a fundamental problem.

The following code fragment causes Access 2.0 to hang (i.e. when I
press CTRL-ALT-DEL it is reported as not responding).

Sub Form_Load ()
a = Shell("c:\access\MSACCESS.EXE c:\mis\livedb\mis.mdb")
End
End Sub

It doesn't matter what database I actually use - it still crashes -
but works fine if I supply the name of a non-existant database (i.e.
Access reports that the database doesn't exist and it doesn't hang).

Grateful for any help.

Adrian Sims



Tue, 27 Mar 2001 03:00:00 GMT  
 VB3 and Access 2.0 problem

Quote:

> Hi

> I am working on the maintenance of an old app. in VB3 and Access 2.0
> and seem to have a fundamental problem.

> The following code fragment causes Access 2.0 to hang (i.e. when I
> press CTRL-ALT-DEL it is reported as not responding).

> Sub Form_Load ()
> a = Shell("c:\access\MSACCESS.EXE c:\mis\livedb\mis.mdb")
> End
> End Sub

> It doesn't matter what database I actually use - it still crashes -
> but works fine if I supply the name of a non-existant database (i.e.
> Access reports that the database doesn't exist and it doesn't hang).

> Grateful for any help.

> Adrian Sims

Have you tried opening c:\mis\livedb\mis.mdb in Access without using a
shell statement? ie. clicking on the Access icon and then File | Open
c:\mis\livedb\mis.mdb.  Do you have Access properly installed on your
system?  Perhaps the database is corrupted or something.
--
To respond via e-mail, please remove what's between Eric and Goforth in
my address in order to get my real e-mail address.


Tue, 27 Mar 2001 03:00:00 GMT  
 VB3 and Access 2.0 problem
Are you using the overlayer? (update for NOT v1.0 databases)
Quote:


>> Hi

>> I am working on the maintenance of an old app. in VB3 and Access 2.0
>> and seem to have a fundamental problem.

>> The following code fragment causes Access 2.0 to hang (i.e. when I
>> press CTRL-ALT-DEL it is reported as not responding).

>> Sub Form_Load ()
>> a = Shell("c:\access\MSACCESS.EXE c:\mis\livedb\mis.mdb")
>> End
>> End Sub

>> It doesn't matter what database I actually use - it still crashes -
>> but works fine if I supply the name of a non-existant database (i.e.
>> Access reports that the database doesn't exist and it doesn't hang).

>> Grateful for any help.

>> Adrian Sims

>Have you tried opening c:\mis\livedb\mis.mdb in Access without using a
>shell statement? ie. clicking on the Access icon and then File | Open
>c:\mis\livedb\mis.mdb.  Do you have Access properly installed on your
>system?  Perhaps the database is corrupted or something.
>--
>To respond via e-mail, please remove what's between Eric and Goforth in
>my address in order to get my real e-mail address.



Tue, 27 Mar 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. VB3 and Access 2.0 problem

2. Accessing Access 2.0 database with VB3, ODBC 2.0 and Microsotf Jet Engine Compatibility Layer

3. Help: Problem reading Access 2.0 mdb from VB3 under Win95/Access 7.0

4. Problems accessing Access 2.0 via ODBC 2.x from VB3.0

5. Problem Copying Access 2.0 database in VB3

6. VB3 - Access 2.0 Compat Layer compact problem

7. Help with VB3/Access 2.0 problem PLEASE!!!

8. Help: Problem connecting VB3 app to Access 2.0 w/ODBC in Win-OS/2

9. VB3.0 & Access 2.0 problems

10. Help: Problem connecting VB3 app to Access 2.0 w/ODBC in Win-OS/2

11. VB3 / Access 2.0 problem with data lengths

12. VB3-Access 2.0 problems on Windows NT

 

 
Powered by phpBB® Forum Software