Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

execute an external program from VS.NET

- - - - -

  • Please log in to reply
2 replies to this topic

#1
filipealexandre

filipealexandre
  • Member
  • 1 posts
  • Joined 26-March 04
:) anyone know how do i execute an external program from VS.NET code (VB.NET) without a path



Shell("C:\cat.txt") ------> cat.txt


How to remove advertisement from MSFN

#2
Doggie

Doggie

    I'm very inactive :(

  • Patrons
  • 2,676 posts
  • Joined 13-October 02
Shell "c:\windows\notepad.exe C:\cat.txt"
that would work

#3
CuBie

CuBie

    Advanced Member

  • Member
  • PipPipPip
  • 364 posts
  • Joined 21-February 04
or use the shellexecute api (has quite a few options) and its fast :)..

Chris.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users