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

how to connect visual basic to the access

hi,i have problem doing the front end and back end for my website...i have this contact us in my website and under contact us i have first name,last name,email,address,contact number,feedback for customers to fill in...n bellow there is submit button...how to make sure that when people click that submit button the data can b sent to the back end(so that in the database can b updated)..n after they submit,we can show a confirmation like"thank you for contacting us"....

as for my track order,i have user id/email address and order id for customers to track their purchase...same thing,how to make sure once submit button is clicked,the status of the order can b shown out..?how to do for the back end part,so that we can edit the status or delete some of the things?just like any other website for track order.....

please provide the solution step by step...i do not really understand how it works...and i dont get some of the terms...thanks in advance....
Jun 23 '07 #1
2 1340
VijaySofist
107 100+
Hai bluebery!

We can connect access to VB in 2 methods.

1 is by using DAO and
another is by using ADO

Here I give the steps for connecting the DAO to VB

1. Create a New VB Project.
2. Select Add-Ins menu--> Click Visual Data Manager.
(Now a Screen Named VisData will Appear)
3. In the VisData Screen, Select New Menu--->Microsoft Access---->Version 7.0 MDB
(Now Save Dialog Box will Appear)
8. In the Save Dialog Box, Type a Name for the Database.

(Now a Database will be Created and a Database window will be shown)

9.In that Database window, Right Click Mouse and click New Table menu
(Now a Table Structure Screen will be displayed)

10. In that window, Type a Name for the Table.
11. By clicking Add Field you can add new field to the table.
12. After you have added fields to the table. Click Build the Table Button.
(Now a table will be created as per the details you had given)
13. Now Select Utility menu--> Data Form Designer
(Now the Data Form Designer screen will be displayed)
14. In that screen give a name to the form you want to create and select a Record source.
15. Now you will find the fields you have created in the available fields list.
16. Include all the Fields to the Included List.
17. Now Click Build the Form Button.
18. Now you will find the form included with the basic functionalities.
19. Run the form & Study the code well.
20. Now you can make alterations as you need.

Bye................
By Vijay
Jun 25 '07 #2
Hai bluebery!

We can connect access to VB in 2 methods.

1 is by using DAO and
another is by using ADO

Here I give the steps for connecting the DAO to VB

1. Create a New VB Project.
2. Select Add-Ins menu--> Click Visual Data Manager.
(Now a Screen Named VisData will Appear)
3. In the VisData Screen, Select New Menu--->Microsoft Access---->Version 7.0 MDB
(Now Save Dialog Box will Appear)
8. In the Save Dialog Box, Type a Name for the Database.

(Now a Database will be Created and a Database window will be shown)

9.In that Database window, Right Click Mouse and click New Table menu
(Now a Table Structure Screen will be displayed)

10. In that window, Type a Name for the Table.
11. By clicking Add Field you can add new field to the table.
12. After you have added fields to the table. Click Build the Table Button.
(Now a table will be created as per the details you had given)
13. Now Select Utility menu--> Data Form Designer
(Now the Data Form Designer screen will be displayed)
14. In that screen give a name to the form you want to create and select a Record source.
15. Now you will find the fields you have created in the available fields list.
16. Include all the Fields to the Included List.
17. Now Click Build the Form Button.
18. Now you will find the form included with the basic functionalities.
19. Run the form & Study the code well.
20. Now you can make alterations as you need.

Bye................
By Vijay

----------------------------------------------------------------------------------------------------------------
what about using ADO??and what if we will not use the datacontrol only codes...please help me...the basic one...please no user define codes or the other thing..
Aug 7 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Linda Lee | last post by:
I purchased Visual Basic .NET version 2003 Standard I first try to connect Visual Basic .NET 2003 Standard to SQL Server 2000 Personal edition. When I go into Visual Basic .NET under Server...
1
by: Zvonko Tusek | last post by:
Is there a way to use access database on web host (I have a web hosting account) in visual basic. I want to make Visual basic client applications that connect to internet and work with access...
5
by: mayamorning123 | last post by:
A comparison among six VSS remote tools including SourceOffSite , SourceAnyWhere, VSS Connect, SourceXT, VSS Remoting, VSS.NET To view the full article, please visit...
1
by: Dave | last post by:
I am trying to learn .NET with the standard edition of VC++.NET 2003 Standard edition. When I use the wizard in the toolbox to connect to a non-microsoft ODBC data source, I get the error message...
1
by: http://www.visual-basic-data-mining.net/forum | last post by:
Hi, I am new here. I am facing a problem that I can't connect to MS Access with my Web application written in VB.Net. It gives me this kind of error: The Microsoft Jet database engine cannot...
2
by: http://www.visual-basic-data-mining.net/forum | last post by:
Say i have declare a module for connection and two buttons... one button has the method connect() and the other has the method disconnect().... how do i actually connect after i had disconnect...
3
by: kumarg | last post by:
how to create database in Ms-Access & how to connect that database with Visual Basic-6.0? Kindly let me know in detail.
2
by: czi02 | last post by:
does anybody knows how to connect access to visual basic?? I know that this is for access and database but hope that there is someone who could help me just a simple code on how to connect easch...
4
by: chowdhury | last post by:
Hi, I am new in visual basic. i want to know how to connect and access data to MS Access or MS SQL database from a visual basic form.plz write me the code. Regards, chowdhury
2
by: sandipdeshmukh | last post by:
how to connect both MS Access and MS SQL database in one visual basic form
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.