Connecting Tech Pros Worldwide Forums | Help | Site Map

problem in VB 2005

Newbie
 
Join Date: Mar 2009
Posts: 3
#1: Mar 12 '09
I have a problem, I don't know how to put a vb code in a button event of a form. Could you help me on this?

kadghar's Avatar
Expert
 
Join Date: Apr 2007
Location: Mexico City
Posts: 1,155
#2: Mar 12 '09

re: problem in VB 2005


double clic on it.

20
Newbie
 
Join Date: Mar 2009
Posts: 3
#3: Mar 12 '09

re: problem in VB 2005


Double click on the code?, where?
kadghar's Avatar
Expert
 
Join Date: Apr 2007
Location: Mexico City
Posts: 1,155
#4: Mar 13 '09

re: problem in VB 2005


When you double click on the button, in the design view, you'll go to the code of a button's event. You'll enter to click by default, but you can change the event. Each event will be a separated Subprocedure, activated (during runtime) when the event is done.
Newbie
 
Join Date: Mar 2009
Posts: 3
#5: Mar 13 '09

re: problem in VB 2005


Yes, but I have already my vb code and I have the form and the button, but I don't know how to pull the vb code into the sub of the event
debasisdas's Avatar
Moderator
 
Join Date: Dec 2006
Location: Bangalore ,India
Posts: 7,508
#6: Mar 14 '09

re: problem in VB 2005


You need to read some books for such basics things.
Newbie
 
Join Date: Mar 2009
Posts: 11
#7: Mar 18 '09

re: problem in VB 2005


THank's you for this help
Reply

Tags
button event, form, vb code