write in the main form command button main.hide also when second form is loaded then create a commandbutton and write the following code me.hide main.show
Z
zaheer Asif
@zaheer Asif
Posts
-
hide a from which is not foucsed -
hide a from which is not foucsedat the main form write this also main.hide(this will hide the main form) and when another form is loaded then also create a command button there and write in the code window the following in click event
-
creating checkboxes dynamicallynote it is for vb6.0 dim chkbox as checkbox set chkbox=controls.add("vb.checkbox","checkbox1") chkbox.visible=true chkbox.left=50 chkbox.height=50 chkbox.enabled=true Note:- u can also change name (the second parameter in controls.add method) by concating string
-
creating checkboxes dynamicallynote it is for vb6.0 dim chkbox as checkbox set chkbox=controls.add("vb.checkbox","checkbox1") chkbox.visible=true chkbox.left=50 chkbox.height=50 chkbox.enabled=true u can also change name (the second parameter in controls.add method) by concating string