"Run as Administrator" – Run an application in Vista with Administrator rights using app.manifest

יום שני, אוקטובר 13, 2008

With the new version of Microsoft's Windows Vista - you and me as a software developer confronted with the problem of "How to run the application with Administrative rights under VISTA - a decision use app.manifest file with follow configurations.Just add new item "Application Manifest File" into your project and replace all to this one. (See below) <?xml version="1.0" encoding="utf-8" ?><assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" > <assemblyIdentity version="" processorArchitecture="X86" name="someExecName" type="win32" /> <description>Program description</description> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> <security> <requestedPrivileges> <requestedExecutionLevel level="requireAdministrator" /> ...
5 תגובות

Windows Hosts File Manager

יום שלישי, אוקטובר 7, 2008

Hi Guy's I'm wrote some little server component (tool) Windows Hosts File Manager for Web Developers & IT Administrators, QA and others... This application tool for Web Developers & IT Administrators, QA and others who are time to time make some changes in the HOSTS file of the Windows OS.Using this application you might to edit HOSTS file, add & delete some configurations in that file.     Download from MSDN Code Gallery - Windows Hosts File Manager (Setup + Open Source) or from CodePlex.com - Open Source Community * The last release is support...
תגיות: , , , , ,
10 תגובות

ASP.NET 2 Custom Control for Google "UrchinTracker" as sample

יום חמישי, פברואר 21, 2008

Simple example to create ASP.NET 2 Custom Control for Google "UrchinTracker" 1) Edit Web.config file add the next code between <system.web> <pages>     <controls>          <add namespace="Render.Web.UI.CustomControls" assembly="App_Code" tagPrefix="render" />     </controls></pages> 2) Create a new class file *.cs in App_Code/Render/Web/UI/CustomControls using System; using System.Web.UI; using System.Text; using System.Web.UI.WebControls;   /// <summary> /// Summary description for UrchinTracker /// </summary> namespace Render.Web.UI.CustomControls {       // Inherit Control     public class UrchinTracker : Control {           #region Fields         private string userAccount;         #endregion           #region Properties         public string UserAccount {             get { return userAccount; }             set { userAccount = value; }         }         #endregion           #region Constructor         public UrchinTracker() {             //             // TODO: Add constructor logic here             //         }         #endregion           public string GetOutput() {             StringBuilder output = new StringBuilder();            ...
אין תגובות