Tuesday, September 13, 2016

Create Partition in Windows Operating System

In my past blog entry, I depicted how to utilise the Microsoft Windows 7 Disk Management instrument to recoil a current hard drive volume. How to psychologist volume in windows7? When you contracted a volume you can make a new segment on the recently purge space and make another coherent hard drive for your Windows working framework. 

The Windows 7 Disk Management apparatus gives a basic interface to overseeing parcels and volumes. Many individuals get a kick out of the chance to segment their hard drive for different reasons.Here I will demonstrate to you best practices to make new parcel for windows 7 in simple strides in this post. 

1.Click on Windows begin button.Type diskmgmt.msc in a pursuit box.See Figure 1. 

Figure 1



2.Now Click disk mgmt choice on the left board. It will stack plate arrangement information.Your Disk Management Tool will look something like figure 2.

Figure 2

  

2.Now Click disk mgmt choice on the left board. It will stack plate arrangement information.Your Disk Management Tool will look something like figure 2.

Figure 2 
                                              
             
3. In the centre sheet, right tap on the exhaust unallocated parcel or volume and tap on New Simple Volume. This begins the New Simple Volume Wizard. (Note: If you have to make unallocated space, see the T ip How to psychologist volume in windows 7? ) .See Figure 4.
Figure 4

    

4.Click Next on the Welcome screen to begin the process.See Figure 5.

Figure 5

    
5.Now, type in what number of MB (1 GB = 1024 MB) you need to use the unallocated space to make the new parcel with, then tap on the Next button.

Figure 6

                                                                                                                                                                               
6.On the Assign Drive Letter Or Path page, indicate whether you need to allow a drive letter or way and afterwards click Next. The accessible alternatives can be found in Figure 7.

Figure 7

                                              
7.Format the volume utilising NTFS record framework. Sort in a volume name that you need for the new segment, check the Perform a snappy configuration box, and tap on the Next catch. See Figure 8.

Figure 8

               
8.The last screen in the wizard gives you a rundown of your decisions and the chance to venture back and make changes.Click complete to affirm your choices.See Figure 9.

Figure 9

  
In the wake of finishing this procedure your new essential parcel or volume has now been made and prepared to store your records

That is it for now.I trust you like this post.If you are confronting any issue with respect to this post don't hesitate to remark below.I will attempt my best to determine it. If you don't mind impart this post to your companions to spread information and like us on facebook and subscribe by means of email to get most recent overhauls


                                                          
                                               

                                                                                  
Share:

Sunday, June 19, 2016

Open CV Installation and Configuration with Visual C++ Express Edition

Download latest version of openCV, here I am using 2.4.6 from  http://opencv.org/downloads.html and using its self-extractor software will automatically extract all files on given path, as in the following figure it says “C:\



Wait until all files get extracted. It will create a new directory C:\opencv which contains OpenCV header files, libraries, code samples, etc

Now for completing installation its need to add the path in system PATH now follow the following step.

Open Control Panel Ã¨ System Ã¨ Advanced system settings Ã¨ Advanced Tab Ã¨ Environment variables.



Go to OpenCV Ã¨ build Ã¨ x86 (for 32-bit OS) / x64 (for 64-bit OS) Ã¨ VC10 Ã¨ BIN 
Copy that path (C:\opencv\build\x86\vc10\bin)

On the System Variables section, select Path (1), Edit (2), and paste your coppied path (3), then click Ok.

Now open Visual C++ and make a new empty Project named (cvtest)



Right click on Project (cvtest) Ã¨ Properties Ã¨ VC++ Directories



Then click on Include Directories and add the path of Include folder of OpenCV



Now click on Library Directories enter lib path from openCV such as (C:\opencv\build\x86\vc10\lib.)



Now select Linker Ã¨ Input Ã¨ Additional Dependencies
Type all lib file name as written below


opencv_calib3d243d.lib
opencv_contrib243d.lib
opencv_core243d.lib
opencv_features2d243d.lib
opencv_flann243d.lib
opencv_gpu243d.lib
opencv_haartraining_engined.lib
opencv_highgui243d.lib
opencv_imgproc243d.lib
opencv_legacy243d.lib
opencv_ml243d.lib
opencv_nonfree243d.lib
opencv_objdetect243d.lib
opencv_photo243d.lib
opencv_stitching243d.lib
opencv_ts243d.lib
opencv_video243d.lib
opencv_videostab243d.lib


Keep in Mind:
          You can see the number 243 at the end of every lib file. This is basically version of openCV 2.4.3, change them as your openCV version as it ia 2.4.7 you have to write “247” instead of 243.
And the file name names “d” is for debugging purpose.


Now add C++ file in project by Add Ã¨ New Item Ã¨ Visual C++ Ã¨ C++ file



Now copy paste the following code to check either your OpenCV work fine
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/opencv.hpp>
#include <opencv/cv.h>
#include <iostream>
#include <vector>

using namespace cv;
using namespace std;

int main()
{
       //-------------- Load Image -------------------
       IplImage* img = cvLoadImage("image.jpg");
    cvNamedWindow("image");
    cvShowImage("image", img);

    cvWaitKey(0);
    //---------- EXIT Program --------------
    cvDestroyWindow("image");

    return 0;
}
                                
For this you have to use the following image download it by right click Ã¨ save as
And keep this file in your C++ project.


Output:






Share:

Monday, August 11, 2014

Fetching Data from DATABASE in spread sheet form - SQL Server 2008

Steps:
  1. Database Connection using DOT.NET
  2. Write Query
  3. Getting data in Spreadsheet form


Open you project in Visual Studio 


Click on SERVER EXPLORER and right click on DATA CONNECTION and select ADD CONNECTION in your running project


Open SQL Server 2008 and copy highlighted string


Paste COPPED string at point A, point B will become visible. 



Select Specific database from there.
I am working on gang war game so I am going to select GANG WAR GAME database
Then click OK


Select “FORM” where you want to display data in spread sheet from SQL Server 2008.


Select “DATA GRID VIEW” from ToolBox and place it on form.


Select dropdown menu where (none) has been written then select “ADD PROJECT DATA SOURCE” then click “DATABASE” and click “NEXT”


Then Select “NEXT” again


At point A there is our database which we are going to add
You can change your database using “NEW CONNECTION”
When you click on point B “+” button connection string will be shown up
Click “NEXT”


Above screen been shown up. Click “NEXT”


After that above window will be appear. Select (TICK) “TABLES” because you are going to insert TABLES. And click “FINISH”


After that all table can easily be seen. Select desired table at point B and then you can view all data at point A



Share:

Sunday, April 20, 2014

How to Install SQL Server 2008 or Later Step by Step Tutorial

Installation of SQL Server 2008 or later is very simple follow the following step and install on your laptop or computers.
If you are still unable to install, make sure all pre-requirements are fulfilled such as the installation of service pack 2.





If you are going to install SQL server express edition you must have visual studio if you are willing to install standalone SQL server then you need full version SQL Server ultimate or higher to install

Download SQL Server 2008
Double click on the installer a window  will open as follow:


From this window click on the Installation menu (See Left). Then select New SQL Server stand-alone installation or add features to an existing installation.



After that following window will appear Click on RUN PROGRAM


After that software will take some time to perform some task. Check that all status are passed


This is express edition so its not necessary to enter Product Key. Just click Next


Check Accept and click next


Now Click Install button


Now again It needs some operation to be completed. Click Next.


Now Check All and click Next


Here we need the name and instance ID. I am selecting Default Instance but keep the name “SQLExpress” in your mind for future (when we are going to connect SQL Server at start up every time). Click Next.


Now a window will appear. Click Next.


Click Next.


Now its not necessary to enter another user if you are trying to install on your personal PC. Click Next.


Click Next


If the status contains no Error. Click Next. Otherwise click on hyperlink text "Error" under status.


Now finally it is going to start the installation. Click Install


Now wait till installation is complete. Than click Next


Close this window


Exit the setup


Now SQL Server 2008 Express Edition has been installed on your computer an ICON will be on your desktop or simply search "SQL Express 2008" on start menu.


Share: