• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 198
  • Last Modified:

another shell use question

I've searched the questions and did not find a solution to fit my needs. I'm wanting to call within my program an executable that I created previously. I have this executable located in the same folder as the VB.Net executable, and will distribute it like that, so I am not wanting to set a path to my development directory to call it. Is there a way to call this application without setting a full path to it if it resides in the VB.net executable folder? If so, how? Thanks.
0
whittlephilip
Asked:
whittlephilip
1 Solution
 
iboutchkineCommented:
Dim psi As New ProcessStartInfo
With psi
    .FileName = "your exe" ' it must be in the bin directory
    .WindowStyle = ProcessWindowStyle.Maximized
End With
Process.Start(psi)
0
 
whittlephilipAuthor Commented:
Thanks!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now