run a locked EXE file ???
-
Dear ALL now i made an App C# which it write an EXE to a certain Path and it lock this file , now i need the same app to run this EXE while its locked !! ?? How?? does any one have an idea? thanks bye
-
Dear ALL now i made an App C# which it write an EXE to a certain Path and it lock this file , now i need the same app to run this EXE while its locked !! ?? How?? does any one have an idea? thanks bye
Adore C++ wrote:
now i made an App C# which it write an EXE to a certain Path and it lock this file , now i need the same app to run this EXE while its locked !! ??
What do you mean by "locked"?
*Developer Day Scotland - Free community conference Delegate Registration Open
-
Dear ALL now i made an App C# which it write an EXE to a certain Path and it lock this file , now i need the same app to run this EXE while its locked !! ?? How?? does any one have an idea? thanks bye
Just a guess, you have a shortcut to the exe in your debug folder and you cannot run the app from the shortcut as it is "locked" by VS which just completed a compile? Closing VS will free up the file - why are you running from a shortcut?
Never underestimate the power of human stupidity RAH
-
Adore C++ wrote:
now i made an App C# which it write an EXE to a certain Path and it lock this file , now i need the same app to run this EXE while its locked !! ??
What do you mean by "locked"?
*Developer Day Scotland - Free community conference Delegate Registration Open
this what i mean ...........
FileStream fileStream = new FileStream ........
fileStream.WriteByte .......... some where in C:\.....
fileStream.Lockthis filestram is EXE and it now locked , no other process can read it , now i need to run such EXE ?? how can i do that?? thanks all bye
-
this what i mean ...........
FileStream fileStream = new FileStream ........
fileStream.WriteByte .......... some where in C:\.....
fileStream.Lockthis filestram is EXE and it now locked , no other process can read it , now i need to run such EXE ?? how can i do that?? thanks all bye