Archive | English RSS feed for this section

How to Pause Visual Studio Splash Screen

Here is a simple yet usefull swith for visual studio to test your VSPackage’s splash screen support: /splash    With that switch, Visual studio simply displays a dialog saying “click OK to continue” which pauses VSFollowing commandline can be used to pause vs for exprimental enviroment: devenv /rootsuffix Exp /splash

Read more

How to Restrict Internet Explorer Control Panel Settings

On your start menu click on run and type Regedit on run dialog, this will open registery editor. Then browse to HKEY_CURRENT_USER \ Software \ Policies \ Microsoft \ Internet Explorer \ Control Panel (If path doesn’t exist, you may create it yourself). Within that key you may enable any restriction you want, all you [...]

Read more

Readonly variables in Php

  One of the coolest thing in php5 stuff is overloading. You can control access to your variable via __call, __get and __set methods. You may also make your variables readonly to other classes as shown below : class SomeClass { /***********************************************************************************/ /* -=Data Members=- */ /***********************************************************************************/ private $variables = array(); private $readOnlyVariables = array(); [...]

Read more

Generating Registery Entries for Your VSIP package Installer

If you have finish development of your package; you should probably looking for ways to create installer. Simply create an install project on VS; add output of your package. Finally you should insert some registery entries to register it on client’s machine.    To do so is quiet simply; just open a Visual Studio command [...]

Read more

Null DTE when VSIP Package is Auto Loaded on Startup

In my VSIP package, I’ve mark with the following attribute to indicade it should load at startup: [ProvideAutoLoad(UIContextGuids.NoSolution)] You can find details about other auto load options on my other post. And then in initialize function I’ve try to get DTE object with the following code . DTE dte = GetService(typeof(DTE)) But DTE is allways [...]

Read more
Quick Open Add-in for Visual Studio

Quick Open Add-in for Visual Studio

Introduction While working on a project, I don’t like to use the mouse very often. But some tasks like opening a project file in Visual Studio need to use the mouse. So I decided to implement an add-in that doesn’t need any mouse strokes (but is optional) and assigns a shortcut "Ctrl+Shift+Alt+N". Here is my [...]

Read more
Page 3 of 3123
QR Code Business Card