Archive

Archive for July, 2009

How to open Immediate Window In VS 2005- Shortcuts

July 19th, 2009 joy No comments

The Immediate window is used to debug and evaluate expressions, execute statements, print variable values etc.The Immediate window also supports IntelliSense.There are different methods to open Immediate window.

Method 1 : -
We can open Immediate Window from debug menu.

Debug->Windows->Immediate Window

immediate

Some times Immediate Window menu would be missing.If it seems to be missing for you then you can get the Immediate Window menu by going to Tools->Customize and then select the Commands tab, choose for Debug commands and drag Immediate onto the toolbar.Read more about this issue here.

Method 2 : -

Use the Keyboard Shortcut keys Ctrl+Alt+I

Method 3 : -
We can also open Immediate Window through VS Command window.Just type “immed” in the prompt and hit enter Immediate Window will open.

commimmed

For more details about Immediate Window go to MSDN Link

Popularity: 5% [?]

Categories: Asp.net, Visual Studio Tags: , ,

Easy Trick To Search for Attachments in Gmail – has:attachment

July 17th, 2009 joy No comments

When there are hundreds of mail in our Gmail account and we are in need of mails with attachment and want it to find quickly.Then there is a easy trick in Gmail.

has:attachment

has:attachment

just type has:attachment and the type of the file like pdf,ppt,doc,zip with a space.

Example :-

has:attachment pdf

When we click the search mail button we get the mails with the attachment of the type we specified as the result.Here in this example we get the PDF attachment mails as result.

There are also many easy tricks to find a specified mail in gmail like “has:attachment” keyword.You can find the list here.

Popularity: 1% [?]

Categories: Tech Stuff, Tips And Tricks Tags:

Steps to Create Setup and Deployment Project in Dot Net VS 2008

July 10th, 2009 praveen 23 comments

Step 1
Create your own windows application. Create a new Windows application project in C# and named it as Sample.

d01

Step 2

Design your own application. Here we have a simple login form for example.

d02
Step 3
After completing the design and coding, build the solution of the project in release mode.

d03

Step 4
Check the Release folder for the file “ProjectName.exe”. Here in this example we have the project name as sample so we can find a file with the name Sample.exe. Double click the executable file and check the example.

d04

Step 5
Create a Deployment Project. Select the “Other Project Types” -> “Setup and Deployment” -> “Setup project”. Here we have the setup project for example as “SampleSetup”.

d05

Step 6
Add the Sample.exe project application file inside the “Application Folder”.

d06

Step 7

To make a shortcut for the project right click “File System on Target Machine” and create shortcut of the application. Here in this example the project shortcut is created in program files folder.

d07

Step 8
Create the shortcut of the application.

d08

Step 9
Rename the shortcut of the application.

d09

Step 10
Move the Shortcut file to specified target. Note if you need another shortcut for some other target also create use same steps.

d10

Step 11
Now build the solution in release mode.

d11

Step 12
The setup file created in release folder of the project specified path.

d12

Step 13
Run the setup, step the path to extract.

d13

d14

d15

Step 14
The SampleSetup project is extracted and shortcuts are created. Now run your application.

d16

Popularity: 29% [?]

Categories: Asp.net, C# Tags: ,

Process Explorer

July 8th, 2009 Kathir No comments

It is a advanced process management utility from Sysinternals. It shows you detailed information about a running process like its icon, Image path, command line, current directory, memory statistics, performance graph, network connections, security, environment and more. You can have a closer look of a running process to see the list of DLLs it has loaded or the operating system resource handles it has open.

This utility can be used as a replacement of the standard Task manager of Windows operating system. Like the task manager, you can kill a process or its tree, see the CPU cycles and memory a process takes.

Download the Process Explorer from Sysinternals.

Open the process explorer to see the list of all running processes, its id…

Process Explorer

Process Explorer

Right click on any running process and select ‘Properties’ to see its properties.

In the properties window you can see the process’s icon, image path, command line, current directory.

Process Properies

Process Properies

The TCP/IP tab shows you the network connection status the selected process has made.

Process Network connection lookup

Process Network connection lookup

Process explorer display consists of two sub windows, the default top window shows you the list of all active processes, while the lower pane is shown by selecting View -> Show Lower Pane or CTRL + L or by clicking onProcess Explorer Show Lower pane button icon.

There is two mode of viewing details of a selected process in the lower pane, they are ‘DLL’ mode and ‘Handle’ mode. You can toggle between these modes by clicking on procexp6 toggle button or View->Lower pane view-> DLLs (CTRL + D) ; View->Lower pane view->Handles (CTRL + H).

If the process explorer in ‘DLL’ mode, the lower pane will show the list of DLLs and memory mapped files the selected process has loaded. If it is in ‘Handle’ mode, the lower pane will show the list of handles the selected process has opened.

The Process Explorer also has a search capability that will quickly show you which processes have particular DLLs loaded or handles opened. The process explorer is useful for tracking down DLL-version problems or handle leaks,and provide deep perception of the way Windows and applications work.

Process Explorer does not require administrative privileges to run.

Popularity: 1% [?]

Categories: Uncategorized Tags: