By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,057 Members | 1,401 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,057 IT Pros & Developers. It's quick & easy.

VB6 VS. Microsoft Access

P: 27
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
Share this Question
Share on Google+
2 Replies


sashi
Expert 100+
P: 1,754
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
Expert 100+
P: 1,754
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.

Browse more Visual Basic 4 / 5 / 6 Questions on Bytes