Showing posts with label Tips'n'Tricks. Show all posts
Showing posts with label Tips'n'Tricks. Show all posts

Solved - "Are You Missing An Assembly Reference Error in Visual Studio"

These days i am working on speech recognization feature of c# in visual studio , for this i must have to include ---

System.Speech 

namespace in my application...
and the problem arises here , when i include this namespace in my application - it gives me an error something like this-- 

"The type or namespace name 'Speech' does not exist in the namespace 'System' (are you missing an assembly reference?)"

First i thought that i am using older version of .net thats why i am seeing this error bcoz the Speech library is included in .net3.0 and later but actually i am using .net4.0, now that feel me odd ...... that i am using updated framework then why i am getting this error.....
Then i came with a solution that i have to add dll reference of this library ,then only i can include the specified namespace in my application, so to add reference , follow these steps:-

1. Go to Solution Explorer Window.
2. Right Click References.
3. Click on Add Reference.
4. Select .Net tab.
5. Then search for your specified Namespace, in my case it is System.Speech, so select that namespace.
6. Now Click Ok.

and you are done, you will not see that error now........

Enjoyzzz.... :-p



How To Get Facebook Profile ID

Well today in this tutorial i am going to tell you , how to get your
profile ID of facebook , well i know your first question is why do i know my user profile Id, well for normal users it is not necessary to know your profile id , but ofcourse today facebook has launched many social plugins , so as to make these plugins work on your sites it is necessary to know your profile Id...........
Its very simple just go to


http://graph.facebook.com/USERNAME

Replace “USERNAME” with your Facebook user/profile name.
For example :- http://graph.facebook.com/nk.armaani
will gave the result

"id": "100002096660106",
"name": "Nk Armaani",
"first_name": "Nk",
"last_name": "Armaani",
"link": "http://www.facebook.com/nk.armaani"
"username": "nk.armaani",
"gender": "male",
"locale": "en_US",

Cheerrrzzzz........ Guyzzzz!!!!!!



How To Create Disk Partition on Windows7

Hey! I will guide you through the procedures for making a partition on your computer/laptops. It’s not at a complicated process, so you could just chill and follow the set of instructions & I’m pretty much sure you will be able to do it.

1. Go to the ‘start-menu’ & hover your mouse over ‘computer’. Right-click on it & click on ‘manage’.
Note: If you do not have ‘administrative rights’ or your account is limited. If so, then you will not be able to make a partition. So make sure that you have ‘administrative rights’
If you find a window popping up asking for ‘YES’ or ‘NO’. Click on ‘YES’.

2. The ‘Computer Management’ window will open. In there, you will find ‘Storage’. Under that you will be able to see ‘Disk Management’ thus click on it.
Note: It should take about 10 seconds to load, if it takes lot of time then immediately close the computer management or restart the computer and start over from step 1.

3. So when the ‘Disk Management’ window opens you will see there is 1 drive i.e. C-drive or another one before the C-drive called ‘system reserved’. DO NOT do anything on the ‘system reserved drive’.

4. OK! Now you could either create partition on ‘C-drive’ or if any other drive available. You can do this to any drive you want. Of course, depending on the space availability. I am using E-drive to demonstrate the procedure.

5. Right-click on the drive you want to create partition, in my case it is E-drive. A pop-up should come up, click on ‘Shrink Volume’.
Note: If you have a big hard-drive, it would take longer time. For instance, if your hard-drive is 1TB it can take up to 20 minutes. In case, it says ‘NOT RESPONDING’ don’t worry. Just be patient as it will respond.

6. Once the loading is done, a window should pop up. In here you can allocate what size your new drive will be. This completely depends on you. Under ‘Enter the amount of space to shrink’ you have to allocate the size.
Note: The allocation of size should be done in ‘Megabytes’ only. For instance, if you want to put 10 Gb, you could write it as 10024 Mb = 10 Gb and if in one digit like 8gb then write it as 8024 Mb = 8 Gb.

7. Then click on shrink.
Note: This will take time depending on what size you have allocated.

Once it is done, you will find a new slot. Usually it is placed after the drive that you partitioned. The partition drive will show a ‘black bar’. Right-click on the drive with the black bar, a window should pop-up. Just follow the procedure. Keep clicking ‘NEXT’ until you find the bit where it says ‘Assign the following drive letter’. You could just leave it as it is or give any letter you want and then click 'Next'. On the next window just name the volume and make sure ‘perform a quick format’ box is checked. If you un-check it, then the procedure would be very long and leave the other bits as it is. After checking everything and then click 'Next' & then 'Finish'.

Wait for a bit and your new drive will be created. So close everything up and go to my computer & you should see your new drive ready for you to use. :D



Top 10 Tips To Improve System Speed

Hey everyone here, are some tips for you alllllll.......



1. Let your PC boot up completely before opening any applications.

2. Refresh the desktop after closing any application. This will remove any unused files from the RAM.

3. Do not set very large file size images as your wallpaper. Do not keep a wallpaper at all if your PC is low on RAM (less than 64 MB).

4. Do not clutter your Desktop with a lot of shortcuts. Each shortcut on the desktop uses up to 500 bytes of RAM

5. Empty the recycle bin regularly. The files are not really deleted from your hard drive until you empty the recycle bin.

6. Delete the temporary internet files regularly.

7. Defragment your hard drive once every two months. This will free up a lot of space on your hard drive and rearrange the files so that your applications run faster.

8. Always make two partitions in your hard drive. Install all large Softwares (like PSP, Photoshop, 3DS Max etc) in the second partition. Windows uses all the available empty space in C drive as virtual memory when your Computer RAM is full. Keep the C Drive as empty as possible.

9. When installing new Softwares disable the option of having a tray icon. The tray icons use up available RAM, and also slow down the booting of your PC. Also disable the option of starting the application automatically when the PC boots. You can disable these options later on also from the Tools or preferences menu in your application.

10. Protect your PC from dust. Dust causes the CPU cooling fan to jam and slow down thereby gradually heating your CPU and affecting the processing speed. Use compressed air to blow out any dust from the CPU. Never use vacuum.

RAM IS THE WORKING AREA (DESKTOP) OF THE CPU, KEEP IT AS EMPTY AND UNCLUTTERED AS POSSIBLE!



Total Pageviews