Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim MyPicFile As String MyPicFile = "c:\myPicture.bmp" && or obtained from somewhere outside the _Click event Dim ProcID As Integer ' Run MS Paint. Typically there is a system path to C:\WINNT\System32, so you don't really have to specify the full path to MSPAINT.EXE ProcID = Shell("mspaint.exe " & MyPicFile, AppWinStyle.NormalFocus) End Sub