I am making active x control in that i put one form and funtion like show formi 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