Quote:
Originally Posted by eziorav
up up
|
Wow.. Mate, in the time you've spent bumping this thread and waiting for Marek to make edits you could have learned C# and made a program for yourself. Seriously, I learned through code samples on codeproject (
[Only registered and activated users can see links. Click Here To Register...]) and stackoverflow (
[Only registered and activated users can see links. Click Here To Register...]).
It's real simple, watch;
step 1: go to google.com
step 2: input the following site:stackoverflow.com what I want to know
step 3: Read!
Code:
MessageBox.Show("F- for effort and initiative.");
Quote:
Originally Posted by glandu2
if your try to write in a user folder (that is, not in read-only folder like C:\windows, C:\Program files, C:\, ...) you should not need this, and that could be too complicated to do (3 clicks instead of only 2 is too many)
I said that, because i hate when programs wants to have admin right while doing nothing that would need them (like rappelz ...) . If every programs use admin right only if they need them, even if you download bunch of viruses, UAC should be enough as a anti-virus (at least if there is no security flaw in the uac used by these viruses)
And if you want to automatically have admin rights, you should use a manifest file with
Code:
<security>
<requestedPrivileges>
<requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>
</requestedPrivileges>
</security>
|
Agreed, but, I've noticed Marek likes to add auto-updating to some of his software. If he's using Microsoft Click-once it won't work with an ex level of req admin. One of the main reasons i never use it.