青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

牽著老婆滿(mǎn)街逛

嚴(yán)以律己,寬以待人. 三思而后行.
GMail/GTalk: yanglinbo#google.com;
MSN/Email: tx7do#yahoo.com.cn;
QQ: 3 0 3 3 9 6 9 2 0 .

Windows環(huán)境變量管理器 EnvMan(Windows Environment Variables Manager)

Main Form

Edit Form

News

15/10/2007 EnvMan-1.2.2 is released

  • Fixed problem with Delete button on Edit Form.

Introduction

Environment Variables Manager (EnvMan) is a tool written in C# .Net intended to handle the administration of Windows Shell Environment Variables. It is designed to replace Control Panel System Environment Manager and easily manage long variable values.

EnvMan User Guide

Installation

In order to run this program you need to have .Net 2.0 runtime installed. After installing .Net 2.0 runtime download program binaries from the EnvMan Project Website. Unzip EnvMan-x.x.x.x.zip file to where you want and set a short cut to EnvMan.exe file to desktop or start menu. You are now ready to run application. In the future I am planning to offer a choice of Windows Installer (MSI) setups and "ClickOnce" for installations and upgrades.

Using a program

Windows Environment Variables Manager (EnvMan) has a simple interface similar to common Environment Variables Editing tool in Systems control panel.

Main screen lists User and System Environment Variables. "New", "Edit", "Delete" buttons allow create new environment variable, edit existing ones and delete. By clicking "New" and "Edit buttons Edit screen is shown.

Enter Variable name and at least one value in the grid to create a new variable. You can use Up/Down arrow buttons on right of the grid to change order of the rows. Folder button allows selecting specific path as a value. Delete button removes selected value from the grid. Once you are ready click Save button or Cancel if no change needed. Changes will be reflected in the Main Screen grid.

Every change performed by side buttons can be undone or redone using arrow buttons. Tool Tip on these buttons shows an action they are going to perform. Keep in mind, if you used undo and then performed an action, every redo command is cleared after that action.

Variable Import/Export

There are two new buttons on the top right of the Edit Form. Variable values can now be exported to an *.env XML file and imported on the different computer or user. The only restriction is that you cannot import values from the different variable. If variable name does not match it will not import and will display a message. It is also possible to create new variables using import. Open new variable by clicking "New" on the Main Form and use import button to import values from selected ENV file. Name of the variable will be loaded as well.

All imported values will have a "+" sign on their type icons.

Open in Explorer context menu

New context menu added to a grid in Edit Form. If right click on the path value of the variable and select "Open in Windows Explorer" it will launch Windows Explorer with first valid folder or file selected. If command used on the non-path value then message will be displayed that no valid paths can be selected.

Running on Vista

To use EnvMan under Vista it should be run with an Administrator privileges. To make it run as Administrator by default open properties of the EnvMan.exe or a shortcut to it.

Select compatibility tab and check "Run this program as an Administrator" check box.

If you want to apply this setting to all users click on "Show settings for all users button" and check "Run this program as an Administrator" check box.

Click OK on every dialog. Now EnvMan.exe will have all the rights to save environment variables. This applies to all versions of the EnvMan.

For more tips and instructions please visit EnvMan project News blog.

Code behind

System Environment Variables Management

Whole application is based around of idea of using System.Environment class and its GetEnvironmentVariables, GetEnvironmentVariable, SetEnvironmentVariable functions. A list of values separated by ';' is divided into separate strings and loaded into the grid to allow easy manipulation.

Below is an extract of the source code used to load and save environment variables:

public IDictionary GetEnvVariables(EnvironmentVariableTarget varType)
{
return Environment.GetEnvironmentVariables(varType);
}
public string GetEnvVariable(string varName, EnvironmentVariableTarget varType)
{
return Environment.GetEnvironmentVariable(varName, varType);
}
public void SetEnvironmentVariable(string varName, string varValue, EnvironmentVariableTarget varType)
{
ValidateVariables(varName, varValue);
Environment.SetEnvironmentVariable(varName, varValue, varType);
}
public void DeleteEnvironmentVariable(string varName, EnvironmentVariableTarget varType)
{
SetEnvironmentVariable(varName, null, varType);
} 

Licence

This program is distributed under the terms of the GNU General Public License v2 or later.

History

Version 1.2.2

  • Fixed problem with Delete button on Edit Form
  • Removed Setup project. It will be replaced by WiX setup.

Version 1.2.1

  • BT1767453 On value edit Undo Redo not recording. Fixed problems when user does not enter text into value cell.
  • BT1792173 Incorrectly detected Value type. Checking that path string is starts with "<drive>:\".
  • BT1806716 Grid Cell accepts semi colon. Added validation DataGridView in Edit form.

Version 1.2

  • Implementation of Import/Export variable values functionality (BT1709867)
  • Implementation of Locate/Open in Windows Explorer Edit Form Grid context menu (BT1729869 - Implemented by PRANKENST!EN)
  • Upgraded license to GPL Version 3

Version 1.1.2

  • Fixed reloading of Main Form on Row double click
  • Added remembering current row and setting it visible after reloading
  • Set Buttons State happens on Data Grid View current selection change
  • Fixed row deletion when user hits delete key on keyboard
  • Added Help Menu new entries.
  • Added credits box in About box
  • Modified CleanAll.bat to work with new projects
  • Added automated build of Setup project

Version 1.1.1.0

  • Implementation of Undo/Redo functionality (Bug Tracker ID: 1705000)
  • Added Tool Tip info for icons in Edit Form

Version 1.1.0.2

  • Made single selection in the Edit form grid
  • Set minimum sizes for main and edit forms
  • Fixed bug on renaming variable name

Version 1.1.0.1

  • Fix alignment of the delete button.
  • Added the current log-on user on Top of User Variables grid
  • Simplify parsing of the variable value string by using string.split function
  • Add settings to save splitter position of the component

Version 1.1.0.0 Released on project site at SourceForge

Support

EnvMan Project at SourceForge
EnvMan News Blog

If you have problems getting latest demo and source files from SourceForge try downloading CodeProject files below.

About Vladislav Setchin


I have never shared my work online before. Now time has come. I recently started a Software Development Toolbox project. Anyone is welcome to view and add your share to it.

Click here to view Vladislav Setchin's online profile.

posted on 2007-12-01 21:38 楊粼波 閱讀(926) 評(píng)論(0)  編輯 收藏 引用


只有注冊(cè)用戶(hù)登錄后才能發(fā)表評(píng)論。
網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問(wèn)   Chat2DB   管理


青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            欧美精选午夜久久久乱码6080| 你懂的视频欧美| 欧美三区美女| 欧美在线免费一级片| 久久精品国产99精品国产亚洲性色| 免费欧美在线| 免费观看国产成人| 日韩午夜精品视频| 亚洲经典在线| 一区二区三区四区在线| 亚洲精品一区在线观看| 欧美日韩另类综合| 国产欧美一级| 亚洲第一久久影院| 久久久久www| 欧美一级一区| 性欧美videos另类喷潮| 一区二区日本视频| 久久亚洲国产精品日日av夜夜| 久久久蜜桃一区二区人| 亚洲高清av| 亚洲一区视频在线| 欧美日韩高清一区| 精品69视频一区二区三区 | 欧美国产一区视频在线观看| 亚洲久久一区| 亚洲午夜精品网| 亚洲欧美日本另类| 国产精品人人做人人爽| 亚洲午夜国产一区99re久久| 日韩视频二区| 欧美午夜精品理论片a级按摩| 日韩天天综合| 99热这里只有精品8| 欧美性猛片xxxx免费看久爱 | 亚洲人成7777| 亚洲福利专区| 欧美日本高清视频| 亚洲欧美日韩精品久久亚洲区 | 蜜桃精品一区二区三区| 亚洲国内高清视频| 亚洲免费成人av电影| 国产精品毛片a∨一区二区三区| 亚洲影音一区| 久久aⅴ乱码一区二区三区| 亚洲国产成人91精品| 欧美国产日本韩| 欧美日韩久久精品| 性欧美8khd高清极品| 久久久久国产一区二区三区| 亚洲乱码国产乱码精品精天堂 | 亚洲美女色禁图| 亚洲素人一区二区| 亚洲国产欧美在线人成| 亚洲免费观看| 欧美一级片一区| 性色av一区二区三区红粉影视| 久久精品人人做人人爽| 最新69国产成人精品视频免费 | 欧美成人精品在线播放| 亚洲影视在线播放| 麻豆久久久9性大片| 亚洲欧美日韩精品一区二区| 久久久亚洲人| 午夜精品视频在线观看| 久久免费视频这里只有精品| 宅男噜噜噜66一区二区| 久久精品国产99| 亚洲欧美区自拍先锋| 欧美xart系列在线观看| 久久精品亚洲精品国产欧美kt∨| 欧美激情一区二区三级高清视频| 性色av一区二区三区在线观看| 欧美成在线观看| 欧美一区二区啪啪| 欧美精品尤物在线| 久久精品人人爽| 性做久久久久久久久| 91久久夜色精品国产网站| 国产精品永久在线| 亚洲三级视频| 亚洲精品国产精品国自产观看浪潮| 欧美亚洲综合另类| 伊人婷婷欧美激情| 欧美理论在线| 欧美二区在线观看| 老色鬼久久亚洲一区二区| 国产精品久久久久久久app| 亚洲人成毛片在线播放| 亚洲成人在线网站| 国产精品久久久免费| 麻豆成人在线播放| 欧美成人伊人久久综合网| 久久不见久久见免费视频1| 亚洲欧洲日夜超级视频| 激情自拍一区| 久久精品一区蜜桃臀影院| 欧美一区二区成人6969| 国产精品人人做人人爽人人添 | 亚洲免费观看在线视频| 亚洲欧洲综合另类在线| 欧美91大片| 亚洲国产成人av| 亚洲国产一二三| 美女网站在线免费欧美精品| 欧美国产三级| 亚洲美女淫视频| 欧美日韩一卡| 日韩一区二区精品| 欧美日韩伦理在线免费| 久久青草欧美一区二区三区| 久久久久久久久久久成人| 国产日韩亚洲欧美精品| 久久国产精品一区二区三区四区 | 亚洲一区二区视频在线观看| 亚洲黄色高清| 亚洲国产女人aaa毛片在线| 欧美成年人网站| 91久久精品国产91久久性色tv | 久色成人在线| 亚洲黄色在线| 欧美调教视频| 久久国产精品电影| 亚洲国产精品成人久久综合一区| 亚洲日本va午夜在线电影| 欧美日韩www| 日韩小视频在线观看专区| 欧美日韩国产精品自在自线| 亚洲国产精品国自产拍av秋霞| 久久精品日韩| 亚洲毛片一区| 欧美午夜一区二区福利视频| 亚洲一区二区三区在线看 | 久久成人18免费网站| 国产一区二区高清| 欧美国内亚洲| 午夜在线精品偷拍| 亚洲国产天堂久久国产91| 亚洲一区视频在线| 亚洲高清免费视频| 国产精品亚洲产品| 久久亚洲色图| 亚洲一区二区三区视频| 免费日本视频一区| 亚洲私人影吧| 亚洲韩国一区二区三区| 国产精品少妇自拍| 欧美激情1区2区| 久久黄金**| 一区二区三区四区国产| 欧美一区1区三区3区公司| 欧美视频在线观看免费| 久久激情久久| 亚洲网址在线| 亚洲黄色在线| 久久精品99国产精品| 日韩午夜三级在线| 在线观看视频一区| 国产香蕉97碰碰久久人人| 欧美理论电影在线播放| 久久人人爽人人爽| 翔田千里一区二区| 99精品欧美一区二区三区综合在线| 久久亚洲一区| 欧美在线免费视频| 亚洲综合精品自拍| 国产精品99久久久久久人| 亚洲精品久久久一区二区三区| 黄色日韩在线| 国产一区二区高清| 国产亚洲成年网址在线观看| 欧美亚洲成人网| 欧美视频免费| 欧美视频在线观看| 国产精品成人一区| 欧美视频在线观看免费网址| 欧美国产在线电影| 欧美精品18videos性欧美| 久久亚洲精品一区| 久久免费一区| 久久嫩草精品久久久精品一| 欧美与黑人午夜性猛交久久久| 一区二区三欧美| 一区二区欧美日韩| 亚洲一区二区三区四区在线观看 | 红桃视频欧美| 国产一区二区三区久久久久久久久| 国产一区二区中文| 国产精品老牛| 欧美婷婷在线| 国产精品美女主播| 国产丝袜美腿一区二区三区| 国产一区二区三区精品久久久 | 亚洲欧美日本另类| 午夜精品999| 悠悠资源网亚洲青| 亚洲国产精品美女| 日韩视频一区二区| 亚洲欧美日韩国产综合| 欧美在线视频一区二区三区|