Ver Mensaje Individual
  #2 (permalink)  
Antiguo 17/05/2005, 01:10
alehawk
 
Fecha de Ingreso: junio-2002
Mensajes: 212
Antigüedad: 22 años, 7 meses
Puntos: 0
En un modulo pone

Sub Main()
dim f as form1
f = new form1
f.show
end sub

en el form1_load
if f2 not nothing then
f2.close
end if

para abrir el form 2 desde donde quieras
dim f 2as form2
f2 = new form2
f2.show

y en el form2_load
if f not nothing then
f.close
end if

Los menues tambien se pueden ocultar
ContextMenu1.MenuItems.Item(1).Visible = False 'oculta el item 1 de un contextmenu
ContextMenu1.Visible = False oculta todo el contextmenu y lo mismo lo pdoes usar para otros menues.
__________________
Simuladores y Examenes Cisco, Herramientas de Red Online - Tecnologia y Redes