10-12-2013, 10:53 PM
Well, if you're simply trying to rename the application file, using the FileSystem.Rename command.
You can use
[code2=vbnet]FileSystem.Rename(My.Application.ExecutablePath, "NewName.exe")[/code2]
--
I don't know if this will work while the application is running, but it's worth a shot!
You can use
[code2=vbnet]FileSystem.Rename(My.Application.ExecutablePath, "NewName.exe")[/code2]
--
I don't know if this will work while the application is running, but it's worth a shot!