473,387 Members | 1,530 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,387 software developers and data experts.

Convert .ADP to .NET?

I realize this might be a bit like asking the question "How big is a
mountain" but what's the possibility of converting an Access .adp (SQL
server backend) to a .Net database (using vb.net)without having to slit
my wrists in the process?
I have an .adp with about 50 forms and 300+ stored procedures and to
date don't know didly about .net!

Nov 13 '05 #1
15 8298

"lauren quantrell" <la*************@hotmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
I realize this might be a bit like asking the question "How big is a
mountain" but what's the possibility of converting an Access .adp (SQL
server backend) to a .Net database (using vb.net)without having to slit
my wrists in the process?
I have an .adp with about 50 forms and 300+ stored procedures and to
date don't know didly about .net!


Sorry. You can create an ASP.NET or a WebForms or a WinForms application
with VB.NET that uses ADO.NET to access either a Jet database or, more
likely since you are using ADP, an SQL Server database, but there is no
conversion tool for ADP to .NET.

It would be a complete re-write, and an application of the size you describe
would be decidedly non-trivial. Also, the learning curve to learn VB.NET,
and the .NET Framework, and ASP.NET technology will be substantial.

Unless you have to need to put the application on the Internet, I would
wonder what you expect to accomplish with such a conversion.

Larry Linson
Microsoft Access MVP
Nov 13 '05 #2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If you don't know "didly [sic] about.net," why are you thinking about
converting your .adp to a VB.NET application?

You'd have to go through each of the 50 forms and manually convert them
to .NET Window Forms. You'd have to change from ADO to ADO.NET - and
they are similar but different - like the difference between a house cat
and a Siberian tiger. You could keep the stored procedures 'cuz they
are in SQL Server or MSDE & would still work the same, just different
access routines (using ADO.NET). Any VBA modules you have in the .adp
would have to be manually converted to VB.NET, which means you'd have to
learn the .NET library functions/objects/methods/events and how to use
Object Oriented programming (OOP), the real stuff, not that Alley OOP
stuff we have in Access.

Whew, get out the gauze and call the hospital.
--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQlxGD4echKqOuFEgEQLbfACgtD4alj6d4pJo8yI3mmuIKP BIX2sAoKf8
Thhqc5N5dWuxgB/jrTLAVpu/
=ldZ8
-----END PGP SIGNATURE-----
lauren quantrell wrote:
I realize this might be a bit like asking the question "How big is a
mountain" but what's the possibility of converting an Access .adp (SQL
server backend) to a .Net database (using vb.net)without having to slit
my wrists in the process?
I have an .adp with about 50 forms and 300+ stored procedures and to
date don't know didly about .net!

Nov 13 '05 #3
I have a client wanting a total web-based application based on an
existing access.adp, which is why I am trying to gauge the headaches
ahead...
lq

Nov 13 '05 #4
In article <11**********************@l41g2000cwc.googlegroups .com>, "lauren quantrell" <la*************@hotmail.com> wrote:
I have a client wanting a total web-based application based on an
existing access.adp, which is why I am trying to gauge the headaches
ahead...
lq


Are the forms' controls bound? If not take a look at ASP (as opposed to
.NET). Still a non-trivial task (actually major undertaking) but likely a
bit cleaner/easier then going to .NET. Also a consideration would be how
well the application was broken into discreate layers. If you have a data
access layer and a business logic layer, then you would just be faced with
screen recreation, again could be done in steps. But going to .NET would as
pointed out need an almost complete rewrite, ASP might under the right
conditions require slighty less then a full rewrite.

fundamentalism, fundamentally wrong.
Nov 13 '05 #5
Rico,
Thanks for the reply.
I guess since I don't know squat about the whole .Net universe, I
should try to understand if you're talking about ASP.NET?
I get the idea VB.Net allows me to create forms that either reside on
the client side or web-based forms, and ASP.NET is pure web-based.
I was thinking since Access is VBA it would bear some resemblance to
VB.NET and therefore be a decent transition concept.
lq

Nov 13 '05 #6
Forgot to mention, some forms are bound others are not. If a form
involves data entry or data editing, it is not bound.
lq

Nov 13 '05 #7
rkc
lauren quantrell wrote:
Rico,
Thanks for the reply.
I guess since I don't know squat about the whole .Net universe, I
should try to understand if you're talking about ASP.NET?
I get the idea VB.Net allows me to create forms that either reside on
the client side or web-based forms, and ASP.NET is pure web-based.
I was thinking since Access is VBA it would bear some resemblance to
VB.NET and therefore be a decent transition concept.
lq


Conventional ASP can be written in VBScript which is basically VBA
without data types. Don't forget that not only will you need to learn
ASP, but you will also need a working knowledge of HTML, CSS, ADO and
probably Javascript if you want to do anything client side. There's
also the issue of a web server, either third party hosted or at your
clients site.
Nov 13 '05 #8
On 12 Apr 2005 12:08:29 -0700, "lauren quantrell"
<la*************@hotmail.com> wrote:

Don't take this on as your first .NET project, unless you have a VERY
patient boss.
Rather convert a very small app, which would teach you how much you
need to know about .NET, and how much time may be involved.

-Tom.

I realize this might be a bit like asking the question "How big is a
mountain" but what's the possibility of converting an Access .adp (SQL
server backend) to a .Net database (using vb.net)without having to slit
my wrists in the process?
I have an .adp with about 50 forms and 300+ stored procedures and to
date don't know didly about .net!


Nov 13 '05 #9
I'm getting the idea maybe I should learn to ski and join the Olympic
team first...
lq

Nov 13 '05 #10
Lauren,

Do you have any experience creating web applications? If not, I would
say that's probably as big a hill to climb as it is to learn .NET. You
will need to learn to think a bit differently than you do when creating
client/server applications. This would apply no matter which web
development platform you choose (ASP.NET, ASP, Java, PHP, etc.).

If you haven't done any work with web applications, I would recommend
getting some help.

Bill E.

Nov 13 '05 #11
As someone who migrated to .NET three years ago from an ACCESS
background - exclusively ASP.NET so far - I'd say you've got a very
steep learning curve ahead. There are no off-the shelf migration tools
that I know of (though on Monday I'm going to try a freebie that
purports to convert ACCESS reports into Crystal Reports). You might
get some added value from cutting and pasting your existing VBA into
the code-behind (stick to VB.NET, rather than C#) but it won't compile
first time and you'll really just be able to use it as pseudo-code.
However, while there are obvious similarities there are also "gotchas"
that get me even now (for example, if your form has a text box called
txtLoginName, you have to write txtLoginName.Text to get the value,
otherwise you get the text box object in all its redundant glory. And
it either doesn't build or doesn't run because you're inevitably trying
to save the value to a variable or write it to a database table.)

There are plenty of good books out there BUT you will probably benefit
from some background reading in OO as well. I should also mention that
..NET is an incredibly richly featured set of tools and it won't be
until you've immersed yourself a bit that you get a flavour of which
bits are of use, and which can be safely ignored for the time being.

In ASP.NET everything is "unbound" because browser apps are inherently
stateless.

Get used to using Try/Catch blocks instead of OnError.

However, if you manage to climb this wee hillock, you're probably onto
a good thing. Most of our clients for whom we have provided ACCESS or
VB apps over the past ten years are coming to us for rewrites in
ASP.NET. It's great for them because application distribution is such
a snap - you just expose the login form on the Intranet and give
everyone with access rights a username and password.

But try with a trivial example first.

Good luck.

Edward
--
The reading group's reading group:
http://www.bookgroup.org.uk

We are what we repeatedly do. Excellence, then, is not an act, but a
habit - Aristotle

Those heights by great men reached and kept
Were not obtained by sudden flight,
But they, while their companions slept
Were toiling upward in the night
- Longfellow

Nov 13 '05 #12
lauren quantrell wrote:
I realize this might be a bit like asking the question "How big is a
mountain" but what's the possibility of converting an Access .adp (SQL
server backend) to a .Net database (using vb.net)without having to slit
my wrists in the process?
I have an .adp with about 50 forms and 300+ stored procedures and to
date don't know didly about .net!

Not exactly your situation but I recently looked into converting from
normal Access forms/jet database to .NET

This link is to info on what I learned.

http://members.cox.net/tulsaalstons/...20Internet.htm

and this one

http://members.cox.net/tulsaalstons/...onSoftware.htm

Hope these help some.

Bob
Nov 13 '05 #13
Maybe the help I need is with a Shrink to even contemplate this!
lq

Nov 13 '05 #14
Edward,
Thank you for your thorough repsonse. You give me hope!
lq

Nov 13 '05 #15
te********@hotmail.com wrote:
Those heights by great men reached and kept
Were not obtained by sudden flight,
But they, while their companions slept
Were toiling upward in the night
- Longfellow


The quote by him to boost our core
He must have written late at night
The words are lofty and do soar
But in the meter is the height

James A. Fortune

Nov 13 '05 #16

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

Similar topics

19
by: Lauren Quantrell | last post by:
I have a stored procedure using Convert where the exact same Convert string works in the SELECT portion of the procedure but fails in the WHERE portion. The entire SP is listed below....
1
by: Logan X via .NET 247 | last post by:
It's official....Convert blows. I ran a number of tests converting a double to an integer usingboth Convert & CType. I *ASSUMED* that CType would piggy-back ontop of Convert, and that performance...
4
by: Eric Lilja | last post by:
Hello, I've made a templated class Option (a child of the abstract base class OptionBase) that stores an option name (in the form someoption=) and the value belonging to that option. The value is...
7
by: whatluo | last post by:
Hi, all I'm now working on a program which will convert dec number to hex and oct and bin respectively, I've checked the clc but with no luck, so can anybody give me a hit how to make this done...
3
by: Convert TextBox.Text to Int32 Problem | last post by:
Need a little help here. I saw some related posts, so here goes... I have some textboxes which are designed for the user to enter a integer value. In "old school C" we just used the atoi function...
7
by: patang | last post by:
I want to convert amount to words. Is there any funciton available? Example: $230.30 Two Hundred Thirty Dollars and 30/100
4
by: Edwin Knoppert | last post by:
In my code i use the text from a textbox and convert it to a double value. I was using Convert.ToDouble() but i'm used to convert comma to dot. This way i can assure the text is correct. However...
1
by: johnlim20088 | last post by:
Hi, Currently I have 6 web projects located in Visual Source Safe 6.0, as usual, everytime I will open solution file located in my local computer, connected to source safe, then check out/check in...
6
by: Ken Fine | last post by:
This is a basic question. What is the difference between casting and using the Convert.ToXXX methods, from the standpoint of the compiler, in terms of performance, and in other ways? e.g. ...
0
Debadatta Mishra
by: Debadatta Mishra | last post by:
Introduction In this article I will provide you an approach to manipulate an image file. This article gives you an insight into some tricks in java so that you can conceal sensitive information...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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.