Recent content by jlwilson

  1. J

    Gather Windows Services Information

    I have pieced together the following application using tips from other forum members and have run into an issue that I can't explain or fix. For some reason, when I execute this, type in a username and password, enter a server name, and then click Scan Server it doesn't always give me back the...
  2. J

    Grep and Awk equivalent in VB.NET?

    Is there a Grep and Awk equivalent in VB.NET? For instance, in Linux If I had the following data in a file and I wanted to only see the SERVICE_NAME line, I could type the following command: cat filename.txt |grep SERVICE_NAME output would be: "SERVICE_NAME: WZCSVC" If I wanted to...
  3. J

    Retrieve Process Output as a String

    Nope. Nope, I wasn't haha but I just figured it out. I said I'm "brand new" to VB. haha
  4. J

    Retrieve Process Output as a String

    How would I execute the sub routine? I know how to call the function but how would I use the sub routine that you created? I like what you've done with the "CreateNoWindow" and can't wait to see input come in line for line, but I don't know how to pump my variables into the Params of the sub...
  5. J

    Retrieve Process Output as a String

    Help me modify this code to use GetProcessText Thanks a bunch! It works! I have a "tweaking" question though regarding this function. How would I manipulate my code below so that I could have the process output populate my textbox line by line instead of waiting until it is finished to...
  6. J

    Retrieve Process Output as a String

    How would I use this Public Function? Ok, now I feel stupid. Did I mention I'm a very new beginner haha. How would I implement this cool shared function into my existing form?
  7. J

    Retrieve Process Output as a String

    Ok, here is another doozy for me. I am trying to figure out how to retreive the output of a process in string format. Here is why... First off, I'm trying to get away from ugly black MS-DOS Windows! Ewww! Secondly, there are times when I'd like to actually parse the output of a command, line...
  8. J

    Executing an External Command

    That did it! Thanks a bunch! I wanted to say thank you! This did the job and it looks great. Thanks a bunch. I cleaned up some unnecessary stuff in your Process.Start() line but other than that it was perfect. Below is the code that I used. Process.Start("cmd", "/c title Pinging myself...
  9. J

    Executing an External Command

    My command is running now! - How do I set the window title? Thanks a bunch! That got my command working, but I still don't know how to specify what the command prompt window title is. In ms-dos you can type: start "Pinging 127.0.0.1" ping 127.0.0.1 -t It will open up a window with a title...
  10. J

    Executing an External Command

    Process.Start() I wanted to mention that I've also tried to use Process.Start() and cannot get that to do it either. I continue to get a message stating something about a filename exception error. Dim strCommandString As String strCommandString = "start ""Pinging 127.0.0.1"" ping 127.0.0.1...
  11. J

    Executing an External Command

    I'm a beginner go easy on me! I've only completed VB.NET I in college. I am trying to write an application that will run an external command such as the following: start "Pinging Host" 127.0.0.1 -t The above is just an example (not really what I'm trying to ping). I can't figure out how to...
Top Bottom