Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
MsgBox("Caminho de inicio : " & Application.StartupPath)
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
MsgBox("Executar Path: " & System.Reflection.Assembly.GetExecutingAssembly().Location)
End Sub
End Class
0 comentários:
Postar um comentário