Skip to main content

Posts

Showing posts from July, 2012

How to Install and Run PHP file

To download wampserver and it's installation, and  To run php script on browser Step 1: Download php Virtual server like WAMPSERVER or XAMPP http://www.wampserver.com/ Note: - Download php and VC10 (link is provided in warning section) Step 2: After that, install php. (Follow the steps and just click next...next...next...). Step 3: After the complete installation, start wampserver. Step 4: Now go to System tray and click on wampserver icon. Step 5: Click on “start all Services” (Now icon turns green) Note: - If the icon turns green that means all services are started or red then services are stopped or yellow that means temporarily stopped (you need to start all services). Step 6: Now click on “www directory” Step 7: Create new folder (in my case, named it as “vik”). Step 8: Open vik folder and create php file e.g.: Type the below php script in notepad or any other text editor as you want (It is bet...

How to Compile Java Program Using Command Prompt

Step 1 : Go to command prompt (or type cmd in Run Dialog box). Step 2 : Set the path as the location of the bin directory of java which is located in the program file directory. In my case path = C:\Program Files\Java\jdk1.7.0_01\bin Step 3 : Now change directory to the location where source code is residing. Step 4 : After that time to compile java program. You need to type following commands: -   javac source_code.java   ( for compilation, if successfully compiled then program is ready to execute) java source_code (for execution)

How to Create New SQL Server Database in Visual Studio 2008

Step 1 : Go to server explorer (or press ctrl + alt + s). Step 2 : Right click on “ Data Connections ” and select “ Create New SQL Server Database ”. Step 3 : Type Server Name as “ .\sqlexpress ” for sql server connection              And type Database Name              And click OK.