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

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

Process Explorer

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

Shiretoko – Codename for Firefox 3.5

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

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

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

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

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

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

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

5 Good Places To Find PDF Files – PDF Search Engines

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

Microsoft’s new FREE anti virus – Morro launching soon

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

Microsoft’s New Search – Bing Coming Soon

Microsoft on May 28 2009 introduced their new search engine named bing,which will be available world wide at www.bing.com from June 3rd.

bing

What’s new in this search engine? question may go through our mind. Microsoft Bing Team as the answer saying ,

We took a new approach to go beyond search to build what we call a decision engine. With a powerful set of intuitive tools on top of a world class search service, Bing will help you make smarter, faster decisions. We included features that deliver the best results, presented in a more organized way to simplify key tasks and help you make important decisions faster.

Let’s wait and see in the coming days the fight between Bing(Decision Engine) Vs King(Google Search Engine).

you can find more information on bing from discoverbing.com and decisionengine.com .

Popularity: 1% [?]

Java with JDBC

Combination of java and JDBC is very useful to lets the programmer run his/her program on different platforms. Java programs are secure, robust, automatically downloaded from the network.JDBC API enables Java applications to interact with different types of databases.

Some of the advantages of using Java with JDBC are
• Easy and economical
• Continued usage of already installed databases
• Development time is short
• Installation and version control simplified

JDBC does the following three things
• Establish connection with a database
• Send SQL statements
• Process the results

Popularity: 2% [?]

Designed by: Business Web Hosting | Thanks to Buy Icons, travel tips and Used Cars