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...
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?
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.
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.
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?
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...
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
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)
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
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.