estas lineas de codigo nos permite abrir un formulario atravez de una variable ;)
Public Sub formulario() ' ABRE EL FORMULARIO DE LA VARIABLE Dim nombrevariable As String = "nomnbredelavariable " Dim objForm As Form Dim sValue As String Dim FullTypeName As String Dim FormInstanceType As Type sValue = nombrevariable FullTypeName = Application.ProductName & "." & sValue FormInstanceType = Type.GetType(FullTypeName, True, True) objForm = CType(Activator.CreateInstance(FormInstanceType), Form) objForm.Show() End Sub

Leony Li
By
Published: 2014-07-10T18:04:00-07:00
abrir un formulario atravez de variable vb.net
By
Published: 2014-07-10T18:04:00-07:00
abrir un formulario atravez de variable vb.net