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: 28% [?]

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:

Shiretoko – Codename for Firefox 3.5

June 29th, 2009 Kathir No comments

Shiretoko the codename for Mozilla firefox version 3.5, named after Japan’s famous World Heritage site “Shiretoko”. The name “Shiretoko” is actually derived from the word “Shiretok” meaning “the end of the land”.

It is a peninsula in eastern Hokkaido, where one can experience diverse natural environments all in a single peninsula. It has many lakes and waterfalls, such as the Shiretoko Goko Lakes and the Kamuiwakka falls, a cascading natural hot spring, as well as nearly 70 rivers and streams.

Discover Shiretoko

Discover Shiretoko

Discover Shiretoko” campaign was born as a collaborative project between Japan’s Shiretoko Foundation and Mozilla Japan. Discover Shiretoko campaign also has a link to interFORest.

Mozilla Firefox codenamed latest 3.5 version as Shiretoko to support the protection of nature of Shiretoko.

Popularity: 2% [?]

Categories: Internet, Tech Stuff Tags:

500 Internal Server Error – How We Fixed – Wordpress – Dreamhost

June 27th, 2009 joy No comments

Problem : Internal Server Error 500

Yesterday(Jun-26-2009) our blog was down and got the internal server error 500.So we immediately mailed Dreamhost(our host) support to see the issue and got a support ticket.

We Checked the  error log  which was stating “Premature end of script headers: index.php” error for every hit made.We came to know many had this problem previously in their sites mostly due to some script error in the plugin installed in wordpress.

While waiting for support reply we started to search the web for some solution about internal server error 500 and 503.

We followed some suggestion to solve error 500 like : -

1. Rename wp-cache-config.php

2. Disable the plugins.This we cant do because wordpress was installed in the root folder which made impossible to login and disable the plugins through web interface.

3. Just click Change fully hosted settings actually without making any changes in dreamhost panel

Unfortunately these didn’t work for us.

Today(Jun-27-2009) morning we got the reply mail from dremhost as

I was looking through your error logs and I found one issue that definitely could contribute to the 500 errors that you’re experiencing:

[Fri Jun 26 12:40:29 2009] [notice] mod_fcgid: too much  /home/fordevs/fordevs.com/index.php process(current:4, max:4), skip the spawn request

These errors can be contributed to several things:

1.) Plugins or extensions that are causing the site to load ineffectively, this is common with 3rd party scripts as they are   generally poorly coded.

2.) Your over all site is maxing out the allocated amount of RAM for your user. Unfortunately for security reasons we can’t reveal the amount available to each user, but this could be a contribution to the error.

How we solved the issue?

As the support mail also says it may be due to plugin we decided to solve it ourselves taking the suggestion from a forum discussion .We backed up the plugin folder from webftp and deleted all the plugin there.

After deleting the plugins the site was working fine.We could not exactly say which pulgin made the mess.

If you get the same error just try this but cant assure this method will work for you.

Popularity: 14% [?]

Categories: Internet, Tips And Tricks Tags: ,

How to Get The List Of All Tables in a Database – Sql Server 2005

June 22nd, 2009 joy No comments

We a can get the list of all tables of a database in different ways : -

1.

SELECT *
FROM sys.TABLES

2.

SELECT *
FROM sysobjects
WHERE TYPE='U'

3.

SELECT *
FROM information_schema.TABLES
WHERE TABLE_TYPE = 'BASE TABLE'

Popularity: 3% [?]

Categories: Sql Server Tags:

View Existing Triggers – Drop One or More Triggers in Sql Server 2005

June 19th, 2009 joy No comments

To view the existing triggers in the database

SELECT * FROM sys.triggers
OR
SELECT * FROM sysobjects WHERE xtype='TR'

To view the existing triggers in a specified table

sp_helptrigger tablename

To drop a trigger

DROP TRIGGER triggername

To drop more triggers at a time

DROP TRIGGER [trigger1],[trigger2],[trigger3]...[triggern]

Popularity: 4% [?]

Categories: Sql Server Tags:

5 Good Places To Find PDF Files – PDF Search Engines

June 17th, 2009 joy No comments

We find the relevant stuffs from the web using the search engines like Google,yahoo.There are also search engines dedicated only to search pdf files around web.Here are 5 good places where you can make your search for pdf files.

PDFGENI

PDFGeni is a dedicated pdf search engine for PDF e books, sheets, forms and documents.PDFGeni provides preview of the file and download link.
PDFGeni also provides Firefox pulgin and iphone edition which works on mac,windows,Linux.

pdfgeni

PDF-SEARCH-ENGINE

PDF Search Engine is a book search engine search on sites, forums, message boards for pdf files.PDF Search Engine provides preview of the file, download link and also HTML format of the pdf.It supports different languages such as Spanish,Italian,Russian.

pdfbooks1

DATASHEET

Datasheet is pdf ebook datasheet manual search engine where we can search any ebook datasheet pdf files and download them. datasheet gives the link of most popular searchs and also shows the most relavent images of the search.

datapdf

PDFDATABASE

PdfDatabase is another pdf search engine where we can search for pdf files and word documents.pdfdatabase provides preview of the file.

pdf3

PDFBOOKS

PDF Books is prefect place to search for pdf ebooks,manuals.PDF Books provides preview of the file and download link.

pdfbooks

Popularity: 1% [?]

Categories: Internet Tags:

Microsoft’s new FREE anti virus – Morro launching soon

June 11th, 2009 joy No comments

“Morro” a new word buzzing from Microsoft about their new FREE anti virus for personal computers which could protect pc’s from malware including viruses, spyware, rootkits and trojans would be available by the end of 2009.

Microsoft quotes,

“Morro” will be available as a stand-alone download and offer malware protection for the Windows XP, Windows Vista and Windows 7 operating systems. When used in conjunction with the ongoing security and privacy enhancements of Windows and Internet Explorer, this new solution will offer consumers a robust, no-cost security solution to help protect against the majority of online threats.

Microsoft assures “Morro” will be able to provide the essential protections that consumers need without overusing system resources, and will help more consumers have better protection against online threats.

Microsoft’s Windows Live OneCare a commercial failure will be overtaken by morro in the coming days.Morro would be a great challenge for the leading anti virus companies in the market.

Source : Microsoft Press

Popularity: 1% [?]

Categories: Internet, Virus, Windows Tags: