Search results

  1. M

    Editing Files

    Hi I want to write a program to automatically edit some files. Basically the files are encoded and the only way we can understand them in in hex This is our hex strings nicly formatted. We need to read:- { } { }{ } 28 000200 000001FF 04...
  2. M

    Listbox short file names

    Yes the 8.3 format (its a dos program that doesnt like spaces)
  3. M

    Listbox short file names

    Hi, Im trying to list shortfile names from a directory in a listbox, i can list the long file name no problem but the other application in trying to pass the names to needs short file names. Any ideas?
  4. M

    Version Tracking

    Doesnt look that free to me
  5. M

    Text addition

    Hi, I know how to read from a file but i dont know how i can add "1" to the value so for example. If the file contains "3" and my app does an even i want to change this value to 4, when it does the event again change it to 5 ect.
  6. M

    Text addition

    Ok i have a file number.txt that by deafult contains the number 1. upon an even happening in my program i want to change this to 2 and then to 3 if the event occures again. How can i do this.
  7. M

    EXE as resource

    Ok how how i extract it and save it to a location on a disk
  8. M

    EXE as resource

    Hi Currently i have an application that calls another application in our program files folder, is it possible to imbed this as a resource in the main exe I have got the exe file in as a resource but im not sure how i can run it any help please?
  9. M

    Running a command line program

    :-( both of those methods dont work the application waits for ages the an error HLVDD - Hardlock Virtual Device Driver cannot befound
  10. M

    copy and retain directory structure

    Hi, i tied several combinations ect but they keep coming up with this is not defined for just crash the application :-(
  11. M

    Running a command line program

    Hi i have a command line program that is run in this format murray.exe C:\folder\input.txt C:\folder\output.txt now to make it easier for me when running this file i am trying to make a ui for it I have found how to locate the file and allow the user to select the output file and dim the...
  12. M

    copy and retain directory structure

    Ok sorry i should have been more specific If i have a file C:\test\1.ptf and a file C:\test2\2.ptf they will show up after copying as 1.ptf and 2.ptf in F:\ is there anyway to keep the folders so they become F:\test and F:\test2 while only copying folders that contain ptf files
  13. M

    copy and retain directory structure

    Any one got any ideas
  14. M

    copy and retain directory structure

    Ok, Is there anyway to retain the folder structure as they are on C:\ ?
  15. M

    Catch Catch ex As System.UnauthorizedAccessException

    who hoo it works, just one little question how do i limit it to one file type? im using but before i limited it in the finding side of things but i cant see how to do this IO.File.Copy(filePath, "F:\" & IO.Path.GetFileName(filePath), True)
  16. M

    Catch Catch ex As System.UnauthorizedAccessException

    FindFiles(Folder) Where do i decalre this ?
  17. M

    Catch Catch ex As System.UnauthorizedAccessException

    For Each filePath As String In IO.Directory.GetFiles("C:\", "*.ptf", IO.SearchOption.AllDirectories) Thats the part thats causing the error, that is outside the try catch part, if i put it inside the try catch bit it doesnt work anymore It is crashing on system volume information
  18. M

    Catch Catch ex As System.UnauthorizedAccessException

    Huh, Sorry i think we just went above my knowladge of vb.net quite sure how to impliment that.
  19. M

    Catch Catch ex As System.UnauthorizedAccessException

    Try For Each filePath As String In IO.Directory.GetFiles("C:\", "*.ptf", IO.SearchOption.AllDirectories) IO.File.Copy(filePath, "F:\" & IO.Path.GetFileName(filePath), True) Catch ex As System.UnauthorizedAccessException Catch ex As Exception...
  20. M

    Catch Catch ex As System.UnauthorizedAccessException

    Yip thats throwing an error aswell, How can i stop that i have tried putting some try and catchs around it but its not happy. Any ideas would be good.
Top Bottom