I make a few skins for MSN Messenger, but i thought i would try make a little program to install them without having to do it all manually. But when i get to the stage where it deletes the current msnmsgr.exe and copying the new one to its place. its says permission denied.
but the funny thing is, i can delete and copy things out of this program, but i cant do the exact thing via code? any help?
here is the code im using:
VB Code:
Kill ("" & msnpath & "\msnmsgr.exe") FileCopy "" & txtpath.Text & "", "" & msnpath & "\msnmsgr.exe"




Reply With Quote