win95 and vb30 
Author Message
 win95 and vb30

I recently got a beta copy of win95 and an application I wrote in VB30
will not work under it.  The problem seems to be related to the database
stuff.  The error comes from a database definition statement.  Other non
db applications work fine.  Does anyone know of a good place to find a
guide to porting to win95

Kelvin



Sun, 28 Dec 1997 03:00:00 GMT  
 win95 and vb30

Quote:


>Subject: win95 and vb30
>Date: 12 Jul 1995 20:12:07 -0400
>I recently got a beta copy of win95 and an application I wrote in VB30
>will not work under it.  The problem seems to be related to the database
>stuff.  The error comes from a database definition statement.  Other non
>db applications work fine.  Does anyone know of a good place to find a
>guide to porting to win95
>Kelvin

Kelvin,
Can you give us a little more detail?  What does your db definition statement
look like?  What is the error you're getting?  We just brought up a large
application using Sybase SQL Server that was written and compiled in VB 3.0
Pro under Win3.1 up in Win95 with no problems.  Everything seemed to work just
fine (even all the Win3.1 API calls I was concerned about).

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ray Porter                                  
Applications Analyst Programmer
Administrative Data Processing
University of North Carolina at Chapel Hill
Phone: 919/966-5878       Fax: 919/962-0900


Home Page: http://www.adp.unc.edu/~lrp/lrp.html



Mon, 29 Dec 1997 03:00:00 GMT  
 win95 and vb30

Quote:


>>I recently got a beta copy of win95 and an application I wrote in VB30
>>will not work under it.  The problem seems to be related to the database
>>stuff.  The error comes from a database definition statement.  Other non
>>db applications work fine.  Does anyone know of a good place to find a
>>guide to porting to win95

>Kelvin.

>Can you show us that db definition statement? Because I develop
>vb3/Access database apps under win95 all the time, having no
>trouble at all. ( Not with win95 that is... ;-) )

>Dag Sunde.

I am having a very similar problem.  I'm developing CGI Scripts in VB to hit an Access
2.0 database.  The app works fine under Win3.11 but does not under Win95.  

The offending syntax seems to be

DIM db AS DATABASE

I get a "File not found" error when executing this code.  I have VB 3.0 and have
reinstalled it under Win95 TWICE now.  Is it just my imagination or is VB Pro acting like
VB Standard would when given the same line of code?

--
Regards,
Andy
-----------------------------------------------

Software Systems Specialist II
University of Texas M.D. Anderson Cancer Center
Houston, TX



Mon, 29 Dec 1997 03:00:00 GMT  
 win95 and vb30

Quote:

>I recently got a beta copy of win95 and an application I wrote in VB30
>will not work under it.  The problem seems to be related to the database
>stuff.  The error comes from a database definition statement.  Other non
>db applications work fine.  Does anyone know of a good place to find a
>guide to porting to win95

I've been using Win95 since last fall with VB 3/pro, crescent tools,
truegrid and a couple other vbx's with out any major problems. I did
have to reinstall vb at on point from inside Win95 but I'm not sure if
the problem was a corrupted file or something else. So thats the first
thing I would try if I were you. If you're using the so called 'final
beta' which is build 347 then you should be aware that that build is
over 150 builds old, there have been quite a few changes since then.
Also there have been reports that a few vbx's just don't work in
Win95.
 Bryan


Mon, 29 Dec 1997 03:00:00 GMT  
 win95 and vb30

Quote:

>I recently got a beta copy of win95 and an application I wrote in VB30
>will not work under it.  The problem seems to be related to the database
>stuff.  The error comes from a database definition statement.  Other non
>db applications work fine.  Does anyone know of a good place to find a
>guide to porting to win95

Kelvin.

Can you show us that db definition statement? Because I develop
vb3/Access database apps under win95 all the time, having no
trouble at all. ( Not with win95 that is... ;-) )

Dag Sunde.



Mon, 29 Dec 1997 03:00:00 GMT  
 win95 and vb30

Quote:

>I am having a very similar problem.  I'm developing CGI Scripts in VB to hit an Access
>2.0 database.  The app works fine under Win3.11 but does not under Win95.  
>The offending syntax seems to be
>DIM db AS DATABASE
>I get a "File not found" error when executing this code.  I have VB 3.0 and have
>reinstalled it under Win95 TWICE now.  Is it just my imagination or is VB Pro acting like
>VB Standard would when given the same line of code?

Yeah thats the same error I was getting, I reinstalled VB and the
commlayer and it went away. Oddly enough I got this error on one
machine but not on another that I also use even though I ran the same
code on both machines. The error is on the AS keyword. I guess I'll
have to send in another bug report on this.
 Bryan


Mon, 29 Dec 1997 03:00:00 GMT  
 win95 and vb30

Quote:

>>I am having a very similar problem.  I'm developing CGI Scripts in VB to hit an Access
>>2.0 database.  The app works fine under Win3.11 but does not under Win95.  

>>The offending syntax seems to be

>>DIM db AS DATABASE

>>I get a "File not found" error when executing this code.  I have VB 3.0 and have
>>reinstalled it under Win95 TWICE now.  Is it just my imagination or is VB Pro acting like
>>VB Standard would when given the same line of code?

>Yeah thats the same error I was getting, I reinstalled VB and the
>commlayer and it went away. Oddly enough I got this error on one
>machine but not on another that I also use even though I ran the same
>code on both machines. The error is on the AS keyword. I guess I'll
>have to send in another bug report on this.
> Bryan

Don't post that bug-report yet!

On the machine it didn't work on, somebody have probably installed a
program that replaced some of your .dll's with NEWER versions.

Newer versions of .dll's from Microsoft IS NOT backward-compatible.
( take that as a rule until the opposite is proved!).

Solution:
ALWAYS install the .dll's your App need in THE SAME DIR as your App.
(that goes for vbx'es also, by the way...)

Yor app will first look for dll/vbx-files in it's own dir.

Doubling up files as hell, but it is better than a system-crash.

Dag Sunde.



Mon, 29 Dec 1997 03:00:00 GMT  
 win95 and vb30

Quote:


>Subject: win95 and vb30
>Date: 12 Jul 1995 20:12:07 -0400
>I recently got a beta copy of win95 and an application I wrote in VB30
>will not work under it.  The problem seems to be related to the database
>stuff.  The error comes from a database definition statement.  Other non
>db applications work fine.  Does anyone know of a good place to find a
>guide to porting to win95
>Kelvin

Move all your data-access DLL's "msajt..." into the WIN95\SYSTEM directory.

I had the same problem and this fixed it right up.

Good luck!

Chris
------------------------------------------------------
 "BREAKFAST.COM halted.  Cereal Port not responding."
------------------------------------------------------



Tue, 30 Dec 1997 03:00:00 GMT  
 win95 and vb30
THis is the same error I'm getting.


Tue, 30 Dec 1997 03:00:00 GMT  
 win95 and vb30
Thanks to all for all the suggestions.  I had reinstalled VB a couple of
times, but Chris had the magic answer.  I don't know why but the data
access dll's did not get put in the win95 system directory.  I copied them
from my windows (I'm doing a dual boot) and it solved the problem.  Thanks
again and especially Chris.

Kelvin



Wed, 31 Dec 1997 03:00:00 GMT  
 
 [ 10 post ] 

 Relevant Pages 

1. VB30 / Win95 / Acc20 / VBT4

2. VB30 Print Problem with WIN95

3. URGENT: Need VB30 / DRINGEND: Brauche VB30

4. URGENT: Need VB30 / DRINGEND: Brauche VB30

5. porting qb45 to vb30?????

6. using savepicture in vb30

7. NEEDING: VB30, Crystal-Reports-Workshop

8. HELP for update VB30 project to VB40 (with database connection)

9. vb30 /blob/ bitmap/ access 2.0 question

10. Help with reports in vb30

11. VB30 and Oracle7

12. Determine cpu 586 in VB30

 

 
Powered by phpBB® Forum Software