How do I create a Visual Basic program and have a Database
like MS Access to update my information.
Please give me a sample code or a procedure on how to to do
So.
Thank you
Look into ADO in the MSDN Library. The scope of your question is very large, therefore difficult to answer. The MSDN has quite a few examples. If you choose to battle wits with the witless be prepared to lose.
I have a Relevant Text Fields, I want to link these fields
to MS Access. I Have created a ms Access file with the relevant fields. I click on Add - Form - VB Data Form Wizard. In there I selected my MS Access file. I would like
to link the Text Fields with the new form that was created
so that it gets updated in the msaccess file.
What do I do from here.
Name
Age
Title
Add
When I click on Add it must update the database
I require the code for the connection
Look into the Data control. It as a basic control that will allow you to move through a recordset much like you can in access. You can also bind various other controls (text boxes) together to display and update the information in the recordset.
Look into MSDN and the VB help files for examples. Thanks and Good Luck!
Then, on the next page, select the ADO-DataControl.
After that page, select as the recordsource, the table that you want, and the fields.
You can click on "Finish" at that point. All the fields will be bound to the data control and the datacontrol to the table.
How do I create a VB Program that will enable to link to
a Windows NT Application e.g. I have a problem when users print to a NT Print server , sometimes the spool gets stuck with error message Error writing to \\john\hp6p
What I do is I restart the print and the rest of the prints continue. I want to write a prgram to be able to restart the job automatically wherever there is error for a print job.
1. fist create a D.S.N. for your MSAccess (go to control pannel and then ODBC, and then follow the instructions).
2. now create table into your concerned access database.
3. then to add/insert data into your database use this syntax cum example:
Dim adCon9 As New ADODB.Connection
adCon9.Execute "insert into <table-name> values(" & <number-data> & ", '" & <string-data> & "' "
first write me back that r u on LAN?
if u r on lan then check that whether u r connected to the computer on the network where the printer is attached.
and then try again to print.
basically it is your network setting problem.... may not be the programm problem.....
write me back that where is this computer "\\john\" is situated.... i mean whether it is your computer or someone else....
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.