473,388 Members | 1,335 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Porting from Access to VB

I have an application written in Access 2000 that I
distribute to a number of organisations who use it on a
variety of platforms, ranging from a P75 running Windows
95 to modern XP machines. It has about 40 forms and
reports and 25K lines of VBA.

I would like to distribute it over the Internet, but I
have to send Access Runtime with the application. This
makes the distributable much too big to download over an
ordinary modem, which is all most of my customers have.
So I am thinking of reworking it in pure VB6, using an
Access (Jet) database connected through ADO.

I have two questions that I wonder if anybody can help me
with.

Will I still be able to use Access forms and reports
without Access Runtime? Or will I have to port all of
these to VB forms and Data Reports?

If I am going to all this trouble, would it be better to
move to VB.Net? Apart from the worry of learning a new
language, are there any other disadvantages of VB.Net? I
am worried in particular about speed of execution on
slower machines and clients that have not got the .Net
Framework. If I have to send .Net Framework as well as
my application it will negate much of the advantage I
hope to gain.

Any comments and suggestions would be much appreciated,
as would any pointers to useful articles or books.

Peter

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #1
4 1652
On 12 Jan 2004 11:19:22 GMT, Peter <an*******@devdex.com> wrote:
I have an application written in Access 2000 that I
distribute to a number of organisations who use it on a
variety of platforms, ranging from a P75 running Windows
95 to modern XP machines. It has about 40 forms and
reports and 25K lines of VBA.

I would like to distribute it over the Internet, but I
have to send Access Runtime with the application. This
makes the distributable much too big to download over an
ordinary modem, which is all most of my customers have.
So I am thinking of reworking it in pure VB6, using an
Access (Jet) database connected through ADO.

I have two questions that I wonder if anybody can help me
with.

Will I still be able to use Access forms and reports
without Access Runtime? Or will I have to port all of
these to VB forms and Data Reports?
Basically, no. Access forms and controls have unique features and attributes
that onl Access supports without some kind of conversion. There are tools
that are supposedly for converting from Access to VB, but I'm not sure how
good a job they do, or could even theoretically do.
If I am going to all this trouble, would it be better to
move to VB.Net? Apart from the worry of learning a new
language, are there any other disadvantages of VB.Net? I
am worried in particular about speed of execution on
slower machines and clients that have not got the .Net
Framework. If I have to send .Net Framework as well as
my application it will negate much of the advantage I
hope to gain.
In my opinion, if you're going to reimplement the app in somehting other than
Access, then VB.NET or C# is almost certainly a better choice than classic VB.
On the other hand, there would also be a myriad of platforms you could
consider including Java, Python, ColdFusion, etc., ad infinitum.
Any comments and suggestions would be much appreciated,
as would any pointers to useful articles or books.


I don't know your exact situation, but I'm guessing a full-blown conversion
from Access to something else will -not- be cost effective.

What if you were to support 2 versions, the full featured Access version, and
a stripped-down, reimplemented version in another language? Over time, you
could grow the second version if the demand justified it, but with broadband
rapidly becoming ubiquitous, it could be that you'll just use the stripped
down version as a stopgap until speeds catch up with download requriements.

Oh yeah, you could also make downloading easier by zipping the package using
file spanning across several files, so at least, if it takes several sessions
to download the package, the user doesn't have to start over each time. Also,
look into an installer that can make use of a highly efficient compression
algorithm such as bzip2 to get the size a bit smaller. I think I've heard
some installers can do this now.
Nov 12 '05 #2
Steve Jorgensen's points are all well taken.

One point he didn't mention is that I'm pretty sure .NET won't run on
Windows 95.
OTOH, I understand that SageKey can produce an Access Runtime of about 21MB.
That's not too bad to download over a broadband connection,
and you can always offer to mail a CD to users who are still using
dial-up.

HTH
- Turtle
"Peter" <an*******@devdex.com> wrote in message
news:40***********************@news.frii.net...
I have an application written in Access 2000 that I
distribute to a number of organisations who use it on a
variety of platforms, ranging from a P75 running Windows
95 to modern XP machines. It has about 40 forms and
reports and 25K lines of VBA.

I would like to distribute it over the Internet, but I
have to send Access Runtime with the application. This
makes the distributable much too big to download over an
ordinary modem, which is all most of my customers have.
So I am thinking of reworking it in pure VB6, using an
Access (Jet) database connected through ADO.

I have two questions that I wonder if anybody can help me
with.

Will I still be able to use Access forms and reports
without Access Runtime? Or will I have to port all of
these to VB forms and Data Reports?

If I am going to all this trouble, would it be better to
move to VB.Net? Apart from the worry of learning a new
language, are there any other disadvantages of VB.Net? I
am worried in particular about speed of execution on
slower machines and clients that have not got the .Net
Framework. If I have to send .Net Framework as well as
my application it will negate much of the advantage I
hope to gain.

Any comments and suggestions would be much appreciated,
as would any pointers to useful articles or books.

Peter

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 12 '05 #3
On Mon, 12 Jan 2004 13:21:55 GMT, "MacDermott" <ma********@nospam.com> wrote:
Steve Jorgensen's points are all well taken.

One point he didn't mention is that I'm pretty sure .NET won't run on
Windows 95.


Yeah, it turns out you're right. You can run mono (open source implmentation)
on Windows 96, though. Version 0.15 for Windows 95 is available for download
at http://www.go-mono.com/download.html. Presumbly, newer versions are also
compatible with Windows 95, but no one bothered to make a package that can
install on it. One could ask in the forums there about what it would take to
compile and package a newer version.

Nov 12 '05 #4
There are, at this point, still size issues in deploying .NET Windows
applications. The user must have the same .NET framework for which the
application is created, and, to assure that, you'll need to distribute the
framework with the application.

From what I read, the "Whidbey" release of .NET may overcome some of my
strong reservations -- e.g., just too much code required to do simple
things.

I think, in your situation, I'd seriously consider investing in the
third-party installer and scripts that MacDermott suggested.

You can't use Access forms and reports directly in VB, and it's a job of
work to recreate them or, we hear, to complete the modification that
translators begin for you. And, I am not aware of any translators to VB.NET,
only to classic VB (e.g., VB 6.0). And, don't forget, although they are
smaller than the runtime support generated by Access' own wizard, there are
runtime libraries that have to be distributed with classic VB packages, too.

Larry Linson
Microsoft Access MVP
"Peter" <an*******@devdex.com> wrote in message
news:40***********************@news.frii.net...
I have an application written in Access 2000 that I
distribute to a number of organisations who use it on a
variety of platforms, ranging from a P75 running Windows
95 to modern XP machines. It has about 40 forms and
reports and 25K lines of VBA.

I would like to distribute it over the Internet, but I
have to send Access Runtime with the application. This
makes the distributable much too big to download over an
ordinary modem, which is all most of my customers have.
So I am thinking of reworking it in pure VB6, using an
Access (Jet) database connected through ADO.

I have two questions that I wonder if anybody can help me
with.

Will I still be able to use Access forms and reports
without Access Runtime? Or will I have to port all of
these to VB forms and Data Reports?

If I am going to all this trouble, would it be better to
move to VB.Net? Apart from the worry of learning a new
language, are there any other disadvantages of VB.Net? I
am worried in particular about speed of execution on
slower machines and clients that have not got the .Net
Framework. If I have to send .Net Framework as well as
my application it will negate much of the advantage I
hope to gain.

Any comments and suggestions would be much appreciated,
as would any pointers to useful articles or books.

Peter

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Wolfgang Keller | last post by:
Hello, as a non-developer I am currently participating in an industrial "research" project to develop a so-called "web application". This application serves at the same time as middleware to...
5
by: Kenton Groombridge | last post by:
Hi, I previous posted this in a gcc and g++ groups since that is the compiler I am working with, but I didn't get any response. Hopefully these are the right groups for this question. I am...
3
by: Jonathan | last post by:
I have to port a MS Access DB to anotherdatabase engine and I would like to use MySQL because I am familiar with it and is easy to integrate with the web and php what is the ned point of my...
11
by: Errol Neal | last post by:
Hi all, Not sure if this is a question for a php list or this one, but I'll give it a shot and if I am wrong, please do not crucify me. :-) There is a php based sourceforge project called...
4
by: Chris Travers | last post by:
Hi all; A few years ago, I set about porting a PHP application from MySQL to PostgreSQL, after realizing that MySQL wasn't going to be able to handle it. In order to do this, I built a light,...
1
by: Robin Charisse | last post by:
Hi, I have a VC++6 project that uses msxml to parse XML documents. I have been asked to port this to a .NET project but from the research I've done so far it looks as though the only way to do...
3
by: cweeks | last post by:
I am porting a VB 6.0 application to C# that automates navigation of multiple web pages within a site and extracts information from some of the pages. One of the pages contains a listbox...
4
by: Ian | last post by:
I would like to hear from others who have considered and/or ported code from traditional C++ to C++/CLI. The class library I am considering porting to C++/CLI was written in traditional C++ with...
12
by: Zhenhuan Du | last post by:
Hello! I was porting some files writing by others in C language. Due to bad naming ,I found many typedefs disagreement and macro definition conflicts. That was really annoying. My first...
1
by: Otacon22 | last post by:
Hi all, I want to create a robot with a router board based on processor atheros 2.6, called "fonera". I have installed a version of linux, Openwrt and python and i want to use it for some...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.