Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Normally Fox, recent project in VB6
Message
From
09/02/2003 13:36:41
 
 
To
09/02/2003 13:07:30
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00751187
Message ID:
00751191
Views:
17
Assuming you have Command1 and Command2 command buttons on the form and want to call Command1_Click from Command2_Click, use this syntax:
Private Sub Command1_Click()
  [some code goes here]
End Sub

Private Sub Command2_Click()
  [some code goes here]
  Command1_Click()
  [more code]
End Sub

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Previous
Reply
Map
View

Click here to load this message in the networking platform