Google Voice
Progress Bar in C#
So first create a C# Application and add progress bar control on your form, you can give it any name but i am naming it "pb" here. Add timer and name it as "tr".Now paste the following code in form load event
private void frmProgressbar_Load(object sender, EventArgs e)
{
pb.Minimum = 0; // set Minimum to 0
pb.Maximum = 100;// set Maximum t0 100
tr.Interval = 100;// timer ticks each 100 milliseconds
tr.Enabled = true; // start the timer
}
Now paste the following code behind Timer Tick Event
private void tr_Tick(object sender, EventArgs e)
{
if(pb.Value!=100) // check if value below 100 as it shud not be greater than maximum value
{
pb.Value += 5;// add 5 to the Progressbar current value
}
}
Thats it!! its done, isn't it simple? :P.I hope this will help you
Pakistan Zindabad
Nokia's new charger for cell phones!
Those days are going to be over when you say to your friends or other people while talking on your cell phone that my battery is low and I cant talk and stuff. Because Nokia Research Centre in Cambridge is working on a prototype that would eliminate traditional cell phone chargers. Isn’t it cool? J. This system will collect energy from ambient radio waves emitted by antennas,Wi-Fi transmitters etc. This all sounds that this is a whole new concept but it is not a new idea as this technology is used from years i.e in alarm systems etc. so Nokia is going to catch radio waves across a range of frequencies, harnessing them for power. I am not going into more detail about its working to keep it simple :p. I don’t know that what features will it power ?music playing?internet browsing as consumers have entertainment and business needs. This system will develop in 3-5 five years according to Nokia. By the way wireless chargers have already hit the market. This month Palm introduced a wireless charger touchstone for its Palm Pre. Touchstone uses method known as inductive charging.
Contradiction!!
President Zardari said that we need trade not aid, I still can’t believe that is it Zardari? Who was begging all around the world for more aid. How this change occurred? It is a very essential question that needs a precise answer. Whatever it is but you can see the contradiction and lack of commitment in Zardari’s administration. Two or three days back foreign minister Qureshi said in an interview that Pakistan needs aid to fight against Taliban otherwise Taliban can enter India. What a shameful act. He spoke non sense and rubbish, and had disgraced Pakistan by not only doing begging but by saying that Taliban would enter India, why would any Pakistani say this? Everyone knows that India is accusing Pakistan of terrorism activities and doing propaganda of highest level to portray Pakistan as a terrorist and failed state, and people like FM Qureshi are helping them to achieve their goal. This is a clear act of treason and I don’t know why Supreme Court of Pakistan doesn’t take suo motu notice on these types of statements and issues? And most unfortunately people of Pakistan can come on roads for restoration of democracy but no one cares about these traitors who are disgracing Pakistan and also betraying its people.L
Network Simulator 2
- Download all in one package from NS website.
- It is ".tar.gz" format so extract it on your fedora desktop.
- Open terminal
- Type "cd Desktop" and press enter(as your ns folder is on desktop)
- Now type "cd ns-allinone-2.33" and press enter
- Type "./install" and press enter. It will automatically install all the compoents in the folder and it will take some time.
- When done. Now type "gedit ~/.bashrc"
- Add the following lines of code at the end of the file (remember to replace"/home/hassan/desktop" with your installation path)
- Now type "source ~/.bashrc"
- Installation is completed. To check whether your installation is correct type "ns" a "%" will appear on the screen enter "exit". Type "nam" this will open network animator. I hope this tutorial will be helpful for you.
Pity on India!!
I am writing this article after I read some news articles which had bothered me and as being a Pakistani I thought that it would be betrayal with my homeland that If I remain silent. Here I am only discussing two points, I was reading in newspaper that the Indian Foreign Minister SM Krishna said that there would be no dialogue with Pakistan unless they carry out some positive steps against terrorists. He also said that he doesn’t know what is good Taliban and what is bad Taliban.
We should have pity on Indian people and its government, because I guess that ministers like SM Krishna should first complete their education and then should think about coming to politics or if they think it is hard for them then they should hire someone who would atleast read news for them and update them about the events occurring around the world otherwise they are creating so much embarrassment for their country(India). Everyone in the world knows that Pakistan is at war with Taliban, Taliban is just a label that Indian, US and Israel agents are using to conceal their identity and they are the ones who are involved in Swat and Wana, arms that are recovered from these Taliban are Israel made or US made and they got their training from RAW and some agents of RAW are also involved and are fighting against Pakistan in Swat and Wana directly. The most surprising thing that I want to mention here is that I was reading articles about the ongoing war, I came across pictures of terrorists who were killed and you would not believe that they were not even circumcised!. So Mr SM Krishna’s knowledge is not good that’s why he is saying that Pakistan should do some positive steps, I wanted to ask him that what would be more positive step than declaring war against terrorists? But I guess it is not his fault, it is fault of his ignorance. And the fact of matter is that Pakistan is a sovereign country and no one can dictate Pakistan that what to do and what not to do. Infact it is tactics of politicians of India to blame Pakistan and try to dictate things to other’s so that they can divert attention of their own people from the problems and issues related to their own country. Now as he said that he doesn’t know what is good and what is bad Taliban. That shows that SM Krishna is living in ignorant world and doesn’t know about the history of the world, sorry world is a big thing I must say history of sub continent. What an uneducated person he is. Hillary Clinton (secretary of state of USA) herself said that America is responsible for creation of Taliban. So what one gets from it? According to me what I perceive from this is that Taliban’s were created by USA and when USA has completed its goal then they abandoned Taliban and 9/11 was just a drama to eliminate them, so the USA attacked Afghanistan, Taliban defended Afghanistan and for this they became terrorists, obviously if some country attacks another country then the attacked country has the full right to protect and defend itself and Taliban had done the same. And on the other side some people from Taliban had betrayed their own country and had sold themselves to USA, and USA is using them to obtain their objectives in this region and in the world, there are always some good and bad people. Have you ever thought that why American drone attacks never hit hideouts of Beitullah Masood? Because he is the agent of USA and is disloyal to his own country and to Muslims. So there are good Taliban and bad Taliban and most of the people know about it but the foreign minister of India doesn’t!!. well no one can do anything in this matter as there is no remedy for person who remains ignorant after observing all the facts on ground.. but I guess I can do something useful for him :P I can pray for him that Allah please give him some sense and some knowledge so that he can talk intellectually and not like an idiot!!
Facebook vanity URL!!
No doubt that you have heard of Facebook vanity URL, it is a thing for which everyone was so excited from days. It is quite a bigger success for Facebook. As I was seeing the statistics that within first seven minutes of launch of this service 345,000 users grabbed the URL’s and within 15 minutes over a half million users have grabbed one, it was on first come first serve basis. I was doing some research and I found that the best URL so far is “facebook.com/default.aspx” chosen by a user. I know some of you will be amazed that doesn’t it conflict with facebook's default page :P..well no it is not going to create a problem as facebook is built in php not asp J. I have also read in different websites that some people selected good URL’s and are now auctioning it to make some good money. But there are also some people who are sad as they were unable get their favorite URL, because it is taken by someone else before them :P. I think it’s a good thing to give everyone a unique URL as a name instead of a number(as it was previously) as it will help in tracking friends and stuff. I haven’t got one for me up till now, I hope I will be able to get a good one J
Bing.com
I am writing it a little late because I thought that I should wait for some time before writing a review about bing.com, Microsoft’s “decision engine”. Bing was released on June 3rd, all the technology conscious people were waiting that what type of decision engine Bing will be. I also got baffled with the term decision engine, will it be like WolframAlpha? Will it be like search engines like Google? Or will they are coming with a whole new idea?. But at the end it is a search engine like Google, then why they were saying it decision engine? Well whatever it is, Microsoft has followed its traditions to copy others idea and then grab the market share. Well Google is their main competitor and interestingly the stats after the release of bing shows that more and more people are using bing than Google, so some good news for Microsoft :P. I also used bing and it produces good search results, the interface is quite cool with rotation of stunning photography while Google interface is simple, maybe more people are attracted towards the cool interface of bing. But in my opinion as I said in one of my previous posts that users don’t want to get links for their searches, they want answers rather than list of links of websites that Google and Bing are providing. Users want search to be smarter and simple than ever before, which gives them accurate results within less time. Bing has not came with any new idea it is just another drop in an ocean. Although WolframAlpha is not successful but they came with a new idea and they are going to improve it with time, that’s the type of search that people want or even more. Let’s hope that some useful search engine will come or the existing ones will be optimized to give users what they want!!
Convert FAT partition to NTFS
- Go to start->RUN
- In RUN type "cmd" to open command prompt
- Now in command prompt type "CONVERT [driveletter]: /FS:NTFS". In drive letter above you have to give drive name that you wish to convert to NTFS.
- Wait for few moments, depending on your disk size, and after some moments your FAT drive will be converted into NTFS.
Future of Gaming!!!
Creating a torrent file in uTorrent
http://www.torrent-downloads.to:2710/announce
http://denis.stalker.h3q.com:6969/announce
udp://denis.stalker.h3q.com:6969/announce
http://www.sumotracker.com/announce
How to make a DLL file and use it in C#
1.Open new project and select "class library", and choose location where you want to save it.
Google Squared
Google Labs has released "Google Squared", which according to the search giant, "constructs a table of facts about any search category you specify". I used it and had tested it with random searches, some searches produce better results than others. I think this is Google’s short term answer to WolframAlpha. Google said that this is no perfect yet, so they will definitely improve this. In this approach they put results in a square or table format of a category or topic you specify. You can also track the links by which the data is putted in square. You can use Google squared by typing google.com/squared. Try it yourself and also let me know that what you think about it :P