Tuesday, December 27, 2011

how to hide selection of richedit c#

private void richTextBox1_SelectionChanged(object sender, EventArgs e)
        {
            //MessageBox.Show("Selected");

             richTextBox1.SelectionLength = 0;
        }

Monday, December 26, 2011

How to create a stunning and smooth popup using jQuery?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>yensdesign.com - How to create a stuning and smooth popup in jQuery</title>
    <link rel="stylesheet" href="general.css" type="text/css" media="screen" />
    <script src="http://jqueryjs.googlecode.com/files/jquery-1.2.6.min.js" type="text/javascript"></script>
    <script src="popup.js" type="text/javascript"></script>
</head>
<body>
        <div id="button"><input type="submit" value="Press me please!" /></div>
        <a href="http://www.yensdesign.com"><img src="logo.jpg" alt="Go to yensdesign.com"/></a>
   
    <a href="#" id="ch1">click</a>
    <input type="button" onclick="document.getElementById('ch1').href='cvb'">
    <div id="popupContact">
        <a id="popupContactClose">x</a>
        <h1>Title of our cool popup, yay!</h1>
        <p id="contactArea">
            Here we have a simple but interesting sample of our new stuning and smooth popup. As you can see jQuery and CSS does it easy...
            <br/><br/>
            We can use it for popup-forms and more... just experiment!
            <br/><br/>
            Press ESCAPE, Click on X (right-top) or Click Out from the popup to close the popup!
            <br/><br/>
            <a href="http://www.yensdesign.com"><img src="logo.jpg" alt="Go to yensdesign.com"/></a>
        </p>
    </div>
    <div id="backgroundPopup"></div>
</body>
</html>


source : http://yensdesign.com/tutorials/popupjquery/

Friday, December 23, 2011

how to avoid tension?

Tension headaches are also known as stress headaches, non-progressive headaches and muscle contraction headaches. They affect 30-80% of the adult population and may be episodic or chronic in nature. Tension headache can last from a few minutes, hours and days to several years and are quite annoying.
Tension headaches are characterized by pounding pain which is felt on both sides of the head and is accompanied by the inability to concentrate, fatigue and irritability. Some patients feel as if their head is being compressed in a vice.
Tension headaches hang on even after the person has woken up from deep sleep causing him/her to feel dull and drained out. Such individuals are often unable to fall asleep or stay asleep for adequate periods of time. Stress and mental tension are the main culprits that trigger tension headaches.  Other causes include prolonged hours of work, irregular eating habits, empty stomach, sleeping or sitting in an odd posture, eye strain and caffeine withdrawal.
Treatment of tension headaches:
Avoid stress:
Stress is the main underlying cause that needs to be eliminated in order to treat tension headaches. You need to take out time for relaxation and exercise on a regular basis, meditate and relax the mind in order to battle stress.

How to increase Internet speed?

There is no specific software for this purpose, as the Internet speed depends on the deal you have with your Internet service provider ( ISP). However, you can optimise your computer and browser for better speeds.
For example, if you are using an older version of Internet Explorer, you can upgrade to the latest IE9, Opera, Firefox or Chrome browsers for an instant speed boost.

Wednesday, December 21, 2011

YouTube video to MP3 Converter

Have you been looking for a converter that can convert YouTube video to MP3, but still cannot find a right one? Come and check out our YouTube video to MP3 Converter, it is also capable of converting videos and audio to other audio formats like MP3, WAV, WMA, AAC, M4A and OGG. And this is why we strongly recommend to you our Any Audio Converter.
Any Audio Converter allows you to convert or extract audio from any kind of disc with high efficiency for your media players like iPod, iPhone, PSP, Zune, mobile phones, and etc.
With Any Audio Converter, converting YouTube video to MP3 is much easier than ever. Merely with a few mouse clicks, the file will be rapidly converted to chosen audio format and ready to transfered to your media device.

Miracle happens when you choose YouTube video to MP3 Converter, you can even download YouTube videos, or music video, and then extract audio from YouTube videos and convert to MP3, WMA, WAV, AAC and more.

How To Download YouTube Videos With fastest Speed

YouTube is a largest video sharing website owned by Google.It’s the biggest online video community in the world.It allows Users to Upload their Videos and and their videos can be seen anywhere in the Public.Any user can watch any videos by just going on the site.You can find different variety of videos here such as learning videos, entertainment, comedy, action,movies, music,
marketing and much more from the any part of World.According to YouTube Latest Stats more than 3 billion videos viewed per day.And 48 hours of video Uploaded per minute from the whole World .This is all about Giant Videos Site YouTube.By default YouTube doesn’t allow to download/save videos due to Copyrighted issue.It only allows to send the Link to friend and he/she can watch it from anywhere on the YouTube.
But,today I come up with a trick to download YouTube videos with fastest speed.IDM here refers to World fastest Download manger.So,here are the Instructions to Download Youtube Videos.

Steps To Download YouTube Videos
  1. Go to IDM Link for download Internet Download Manager and download the file.
  2. After download the file install it in your System by opening it.
  3. After Installing IDM just Restart Your Browser to run IDM Addon on it.
  4. Now go to You Tube or any videos site and while watching it you will get Notify about a button Above Right side your Video Saying Download This Video with a  Green Arrow Just hit it and your video will start downloading in Internet Download Manager with fastest Speed
Source: http://www.latestonnet.com/2011/09/how-to-download-youtube-videos-with.html

Friday, March 25, 2011

How to Create a Web Page Using Microsoft Publisher

If you want a way to create a web page and start your own website but don’t have the HTML coding skills or time to learn a web design program then you can make a web page using Microsoft Publisher. The Microsoft tool used to create web pages was called FrontPage but it was discontinued after the 2003 version and replaced by Microsoft Expression Web and SharePoint Designer, which were released in December 2006.
Keep in mind that if your site is going to need advanced features such as interactivity or database-driven content, or if it will be used with data validation, such as for verifying credit card numbers then you will need to use a program designed for those features. But if you just want a simple site with text and pictures then Publisher will work fine. 


You can start the process by creating your page from scratch or copying content from other websites and then edit it to suit your needs. Click on the File menu and pick New and select Publication Types. From there choose Web Sites. To create a custom Web site that is based on your site goals, use the Easy Web Wizard. To create a Web site from scratch, under Web Sites, click Blank Sizes, and then click the size that you want. Then click on Create. Enter in your content text and images to make the page look the way you want.
After you have things looking the way you want to you can preview the site and use the Design Checker to help find any potential problems. The Design Checker can be run from the Tools menu. You can choose to have the Design Checker fix problems automatically or take you to the points where the problems are located in the page. Finally preview the page by going to the File menu and selecting Web Page Preview. This will open your page in a web browser so you can see how it will look so you can check your hyperlinks and other controls.
To put your site on the internet you will need to have a hosting service that you can upload the content to. There are sites that will provide free web page hosting most likely in return for putting their advertisements on your page. Microsoft provides a free website hosting if you need it. Then you can publish your page on the web server using various methods which will vary depending on the host. You can also publish your page to a local intranet for inter office use and that way you won’t need a hosting service but keep in mind people outside of your network will not be able to see your site.
When you are ready to publish your site, Publisher assembles all the related files that it creates in a single folder including all HTML pages that make up your site, graphic images that you use on your pages, and any files for embedded sounds. By default, Office Publisher creates a single home page and a subfolder that contains all the supporting files that are needed for your Web site. This can be customized to suit your needs. You can publish your site to an internet address, FTP site or a folder on your computer. After your site is published you can publish updates by using incremental publish to the Web, which publishes only those pages that you have updated rather than the whole site.
There is much more to effectively getting your website online and maintaining it than this tip provides but you can get much more detail by using the help section within Microsoft Publisher and checking recourses online at the Mircosoft site.