how to open exe file in visual basic through command button?? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

how to open exe file in visual basic through command button??

gaddagadda Posts: 34Member
how to open exe file in visual basic through command button??

Comments

  • dokken2dokken2 Posts: 532Member
    : how to open exe file in visual basic through command button??


    Private Sub Command1_Click()
    Dim ret As Variant
    ret = Shell("c:WINDOWSsystem32calc.exe", vbNormalFocus)
    End Sub
Sign In or Register to comment.