Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. start a process and capture its output

start a process and capture its output

Scheduled Pinned Locked Moved Visual Basic
sysadminlinux
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    codger
    wrote on last edited by
    #1

    I am writing an app that will reside on a W2k server. The app will be started from a shortcut on the users desktop. The app will allows users to construct a operating system level command with parameters and excute the command on the server. The command returns monitoring info (for those of you familiar with GIS and ArcSDE, it's the sdemon command, which is usually executed from the command line). I can do that part now by using the Shell function. The info returned is briefly displayed in a dos-like window which automatically closes when all info is displayed. I want to redirect the returned info (text) to the Windows Notepad app where the user can edit, save, etc. I have also tried using the functionality provided by System.Diagnostics.ProcessStartInfo but have so far been unsuccessful. Any ideas would be very helpful and much appreciated.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups