Search results for query: *

  1. T

    Help / example on reading last line from file as well as certain character

    Thanks VBobCat, it was erasing the file because I was missing the True statement in my declaration to append :) Dim sw As New System.IO.StreamWriter("C:\adp\cartridgesDONOTDELETE.log", True)
  2. T

    Help / example on reading last line from file as well as certain character

    Awesome, this seems to work. Although I could not use lines.Count, I had to use lines.Length
  3. T

    Help / example on reading last line from file as well as certain character

    You are right. I will correct this. Thanks for the solution, I will try it out!
  4. T

    Help / example on reading last line from file as well as certain character

    I'm in VS2008, I don't get the option for .Last.Substring When I type Last at that point I only get LastIndexOf.. am I missing something? "Last is not a member of System.Array"
  5. T

    Help / example on reading last line from file as well as certain character

    Hi, I have a text file that looks like the following: CARTRIDGE1 CARTRIDGE2 CARTRIDGE3 etc.. I need to be able to read the last line of the file as well as grab the number to use for a counter. So for instance, CATRIDGE3 would be the last line, then I need to add 3+1 to make the next entry 4...
  6. T

    Getting information from GoVault drive

    Darn, after testing a bunch of wmic commands and investigating the classes it doesn't look like I will be able to achieve this. It works great for getting the actual device serial numbers, but not the cartridge inside of it.
  7. T

    Getting information from GoVault drive

    Wow! Thanks for the tip, this works great with DISKDRIVE command to output the all kinds of information as you mentioned. I see it did in fact output the serial number of the GoVault drive, now I need to figure out how to export the serial number of the cartridge. I really hope there is a way...
  8. T

    Getting information from GoVault drive

    Hi All, If you go to My Computer, right click on the GoVault drive and press Properties, there is a tab named "Status" that will give you the cartridge serial number. I need to make a program that will retrieve this serial number. Anybody know how this can be accomplished? I tried using RSM in...
Back
Top