A1VBCode Forums

Please Help Me In Activex Control


http://www.a1vbcode.com/vbforums/Topic15514.aspx

By khalsainfotechs - 12/20/2005

I am making active x control in that i put one form and funtion like show form

i want that when i put that ocx file in my project and call show function every time new form show but my problem is that i put two ocx in my project and my code are below

private sub cmd1_click()

ocx1.show

end if

private sub cmd2_click()

ocx2.show

end if

BUT IT SHOW SAME FORM EVERY TIME

PLS HELP