English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

How do i code a command button to show the next form.

2007-11-28 14:32:51 · 2 answers · asked by Deleted 3 in Computers & Internet Programming & Design

2 answers

basically you define a variable as the form you wish to open then call its show property. I assume that by "next form" you mean some other VB form within your project.

Place the following within the button click event handler:

Dim myForm as New frmSomeOtherForm

myForm.show()

2007-11-28 15:39:46 · answer #1 · answered by MarkG 7 · 0 0

put this under the cmd1_click()

call formname.show

2007-11-29 00:28:16 · answer #2 · answered by Anonymous · 0 0

fedest.com, questions and answers