User Profile

Collapse

Profile Sidebar

Collapse
blastman
blastman
Last Activity: Oct 10 '07, 01:03 PM
Joined: Sep 13 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • blastman
    started a topic vb.net help
    in .NET

    vb.net help

    hey all,

    I'v writed some code (below) that runs a batch file and i'm trying to direct the output to a form called formstatus. On this form there is a list box (so as to make it scrollable) in which i'd like the batch file output to be displayed.

    firstly, the bold underlined line throws an error "value cannot be null, parameter name: item" since i'm new to this and lerning as i go i have no idea how to correct...
    See more | Go to post

  • blastman
    replied to vb.net shell command help!
    in .NET
    I have the answer.

    Start a new process (Notepad).
    '
    Dim myProcess As Process = System.Diagnost ics.Process.Sta rt("MyTextFile. txt")
    '
    ' Wait until it ends.
    '
    myProcess.WaitF orExit()

    MessageBox.Show ("Notepad ended: " & myProcess.ExitT ime & "." & _
    System.Environm ent.NewLine & "Exit...
    See more | Go to post

    Leave a comment:


  • blastman
    started a topic vb.net shell command help!
    in .NET

    vb.net shell command help!

    hey all i'm new in here so hello to all!!!

    right down to business,

    I have a little project for work that does several tasks.

    the one i'm having issues with is a on a form of mine.

    I'd like to start a bat file via the shell command but wait for the bat file to finish before popping up a messagebox,show ("completed" )

    any ideas?

    I'm very new to all of...
    See more | Go to post
No activity results to display
Show More
Working...