468,300 Members | 1,212 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,300 developers. It's quick & easy.

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 1584
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

Post your reply

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

Similar topics

4 posts views Thread by bbdobuddy | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.