473,387 Members | 1,760 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.

VB6 VS. Microsoft Access

Guys,

Thanks for the Reply i recieved from one of our Buddy here in Community.

Question REgarding Coding of VB6 and Access
1. Are they same when it comes to Coding?
2. Can i Copy and Paste the Coding From Access to VB6?
e.g The "Add" Command of Access ?

On Error GoTo Err_Add_Click


DoCmd.GoToRecord , , acNewRec

Exit_Add_Click:
Exit Sub

Err_add_Click:
MsgBox Err.Description
Resume Exit_Command8_Click

This Coding can i Make a Command button to VB6 and Paste the Add coding ?
Is there any Conflication if im going Paste the code from ACCESS to VB6?

Guys im sorry if im not yet too good in VB6... i know this is a simple question;

Thanks in advance;

Julius
Nov 20 '06 #1
2 1757
sashi
1,754 Expert 1GB
Guys,

Thanks for the Reply i recieved from one of our Buddy here in Community.

Question REgarding Coding of VB6 and Access
1. Are they same when it comes to Coding?
2. Can i Copy and Paste the Coding From Access to VB6?
e.g The "Add" Command of Access ?

On Error GoTo Err_Add_Click


DoCmd.GoToRecord , , acNewRec

Exit_Add_Click:
Exit Sub

Err_add_Click:
MsgBox Err.Description
Resume Exit_Command8_Click

This Coding can i Make a Command button to VB6 and Paste the Add coding ?
Is there any Conflication if im going Paste the code from ACCESS to VB6?

Guys im sorry if im not yet too good in VB6... i know this is a simple question;

Thanks in advance;

Julius
Hi there,

I would say that the syntax is almost the same but not exactly same, minor modification to access code will enable it to work on VB6 area too. Good luck & Take care.

p.s/ Kindly check details regarding the sytax convertion with experts from the Access Forum
Nov 20 '06 #2
sashi
1,754 Expert 1GB
Guys,

Thanks for the Reply i recieved from one of our Buddy here in Community.

Question REgarding Coding of VB6 and Access
1. Are they same when it comes to Coding?
2. Can i Copy and Paste the Coding From Access to VB6?
e.g The "Add" Command of Access ?

On Error GoTo Err_Add_Click


DoCmd.GoToRecord , , acNewRec

Exit_Add_Click:
Exit Sub

Err_add_Click:
MsgBox Err.Description
Resume Exit_Command8_Click

This Coding can i Make a Command button to VB6 and Paste the Add coding ?
Is there any Conflication if im going Paste the code from ACCESS to VB6?

Guys im sorry if im not yet too good in VB6... i know this is a simple question;

Thanks in advance;

Julius
Hi John,

As a bonus, kindly refer to below attached link, hope it helps. Good luck & Take care.

http://msdn2.microsoft.com/en-us/lib...x2(VS.80).aspx
Nov 20 '06 #3

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

Similar topics

4
by: bbdobuddy | last post by:
Hi, How do I open a Microsoft Access 2003 form from Visual Basic.net Thanks in advance bbdobuddy
0
by: bazzer | last post by:
hey, i am using visual basic.net 2003 and have an ASP.NET webform application thats accessing a microsoft access 2003 database. i kept getting the following error when i tried to run it: ERROR ...
1
by: bazzer | last post by:
hey, i am using visual basic.net 2003 and have an ASP.NET webform application thats accessing a microsoft access 2003 database. i kept getting the following error when i tried to run it: ERROR ...
0
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
7
by: clintonG | last post by:
To all Microsoft partners and customers who have been unable to download recently or access ASP.NET documentation from the msdn2 website and for all of those customers who have been lied to and...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
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
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
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.