Easy Step To Create Professional Login Screen : C# / VB

Hi.... this is my second tutorial post in my blog where i am going to share how to create good looking login screen for C# VB using photoshop.To create login screen you need to know Photo shop.In fact very basic photoshop.If you don't no just follow my tutor.So lets start..
Part 1: Create login screen.
1.Start photoshop any version. In this tutor i am using Photoshop CS2.

2.Then Goto File --->New

3. Set Size Width:230 x Height:250.

4.Select background layer and double click it and box will popup.Click Ok.Select background layer hit delete.This is to make background transpa
rent. Goto Toolbox and select rectangle tool.Draw rectangle.like given below.now play around with settings.I like this kind of logins so my screen look like this...

5.If you are not comfortable with settings then you can also download gradients from internet.I drawn rectangle with this gradient..

6.Next Then draw two small rectangle. for text boxes i.e Username and password.

7.Have some retouching to image.After retouching i got this.....

8.Goto File -->Save as and save as Filename.png.

Part 2:Using this in VB 2005/2008
1.Start new project in Vb/C#.

2.Goto Toolbox select background image.Select your newly created login screen to set it as background of form.

3.Now Heres tweak.Goto form property window and set background=Marron.Set the form borderstyle =None. Now in the
property window there's property named Transparency.Set transparency=Marron .Now goto toolbox -->textbox set property border =none draw textboxes exactly over the image rectangle boxes.

4.Thats it Run program...and Gotcha....

5. Hope this will help u ...

Note: User can download images and code from download section

posted under | 3 Comments

Folder Background Trick: Without Attrib Command

Couple of months ago i downloaded one website pack.Interesting fact was that when i open that folder it shows custom image background to folder. I know to how to change drive icon using autorun.ini files.To find out working of this trick i enabled view hidden files options and i got two files
  1. Desktop.ini
  2. Image background file
Some people might know this trick of Windows .But for some people this is a new trick.
Note:Dont use icons as icons will repeat itself.

Copy the following to notepad

iconarea_image="u r filename"

insert the path of your image after the icon area_image (with the quotations)



if the picture is in the same folder only the image name will do.
the 'icon area_text=0x00000000' will set the text color of the icons.
the last six numbers are the color in hex

000000 = black
FFFFFF = White
0000FF = blue

iconarea_text=0x00000000 this will set the text colour to black

iconarea_text=0x00000000 this will set the text colour to white

save the file as "Desktop.ini"

If this doesn't work then type this command

Syntax :Attrib +s "Folder path"

then close the folder and go to Start-Run
eg:- Attrib +s "E\Stargate"

If u want cool images then you can visit this website:


posted under , , | 1 Comments

Web designing key notes.

Recently i had gone through one of the very good web designing book by Ben Hunt.I had a PDF of it and want to share it with you people.I am not posting information about web designing because as you start reading book speak itself about designing ....
Note :You can Download File from download section (free)

Web Designer is a artist..

Web design is a really unique occupation because it combines the best parts of visual creativity with modern technology. A Web designer, in essence, is a graphic designer, a creative organizer, a visual communicator, a markup language technologist, and a cutting-edge trendsetter. What sets Web design apart from other careers is that as the designer, you will play a key role in helping businesses connect with their customers in positive and meaningful ways. A good design can help attract the right target audience, sell more products and services, communicate new ideas, and change people’s lives.

As a Web designer, you have the opportunity to put your visual and organizational
spin on the world, taking the complex puzzle of each Web project and turning it into a visually pleasing, easy-to-navigate Web solution for your client. What’s more, you will become inextricably part of the worldwide network of Web professionals who help shape the visual realm of communication in the twenty-first century.


Web services Part 2: Coding Section

Select Go button in our form. Double click on it. You will get this.

private void button2_Click(object sender, EventArgs e)
{ }

This is nothing but the Click Event of button button2 (i.e go button)

Note: Go is the caption of button2.

Now write following code:

//net.webservicex.www.GlobalWeather is the class name
//GW is the object.

net.webservicex.www.GlobalWeather GW = new WindowsFormsApplication6.net.webservicex.www.GlobalWeather();
string temp1 = GW.GetWeather(txtCity.Text, txtCountry.Text);
if (temp1 != string.Empty)
button2.Enabled = false;

//get weather is method to get weather and returns string in Xml format

byte[] byteArray = Encoding.Unicode.GetBytes(temp1);
MemoryStream stream = new MemoryStream(byteArray);
XmlTextReader txt = new XmlTextReader(stream);
List w_data = new List();

//Above Code is used to read xml and extracting the element information

while (txt.Read())
if (txt.NodeType == XmlNodeType.Text)
string values = txt.Value;
w_data.Add(values); //information is added in list

//adding Values to the textboxes

txtLocation.Text = w_data[0];
this.txtTimeZone.Text = w_data[1];
this.txtwind.Text = w_data[2];
this.txtVis.Text = w_data[3];
this.txtSky.Text = w_data[4];
this.txttemp.Text = w_data[5];
this.txtDew.Text = w_data[6];
this.txthumid.Text = w_data[7];
this.txtpressure.Text = w_data[8];
button2.Enabled = true;
button2.Enabled = true;
MessageBox.Show("Error Reading Data.", "Status|Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
catch (Exception ex)
button2.Enabled = true;
MessageBox.Show(ex.Message +"\n"+ex.HelpLink);

This is my Custom sample application .You can download Demo application & this Custom Application from Download section.

Hope you will like this tutor

posted under , | 0 Comments

Web Services Tutorial : Weather Forecast Application

This is my first tutorial in my blog imbeginner for developing the desktop application. In this tutorial I am going to tell u how to develop simple Global Weather Forecast application in C#.
Application Name: Global Weather Forecast .
Visual studio 2005/2008(Developer).
.net framework 2.0 (For End-user) .
Internet Connection
Getting Started:
Before getting started I m assuming that the reader have some basic knowledge about programming and Microsoft Technology (.Net) .If you don’t know about .net then just follow my article. In this project our aim is to get weather forecast anywhere around the world. So we need a service which provide weather information and also must be free of cost. So here comes Web Service.
Web Services : Web services are typically application programming interfaces (API) or Web APIs that are accessed via Hypertext Transfer Protocol (HTTP) and executed on a remote system hosting the requested services.
After surfing over internet I came across one web service which is perfect for our project The Web Service is Global weather web service and it is provided by Webservicex.net

Creating New Project:
1.Start Visual Studio. In this example I am using Studio 2008.But you can user 2005 also.

2. Select C# Windows Application Form and Studio 2005 select Other languages to get view C# Form.

3. You Will get an emty form in your screen.

Adding Control to Form:
Global weather Web service gives us following information after calling it.
Location,Time,Wind,Visibility,SkyCondition,Temperature,DewPoint,Relative Humidity,Pressure,Status
But before that we will add controls to our form from the toolbox which is present at right side. You can also access toolbox from View ->Toolbox.
Common Controls:
13 Labels, 11Textbox, 2Buttons, Weather Images and icons.After some minor arrangement i got this..
My Final Form:

Coding Section:
Now we will take the web reference of the web service.To add web reference right click on the project solution and select add web reference.

Windows will popup asking for the url of the webservice.In our project the url is
Paste url in the textbox & click go. Aftersome time u will get service found message as given.Click on
Add reference

Now check out web references folder added or not. If added means web service is added in our project. If Not then try again. This global Web Service needs 2 parameters
City Name, Country Name for that we already created 2 textboxes.

Magazines for Developers:

This is not my list while surfing on net i found this list.I check out some of some sites and they are really very good..hope u people like it...
Digital Web Magazine: For industry-pertinent reviews, articles and interviews, check out Digital Web Magazine. They offer both daily news and weekly features.
Vitamin: Vitamin has a mix of resources for Web developers, designers and entrepreneurs. Development features weigh heavily on Web apps, while interviews
highlight industry leaders.
DevX: DevX's Web Development Zone offers articles on the latest in AJAX, Ruby and more. You'll also enjoy DevX's development tips and forum discussions.
Alertbox: Current Issues in Web Usability: Check out Alertbox's biweekly column for articles on usability, navigation and other issues for readers concerned with user-friendly Web development.
Wired: With intelligent thoughts on tech industry, conventions and even Martha Stewart, Wired is a must-read for any well-rounded Web developer.
Hiveminds Magazine: Hiveminds is a great resource for information on open source content management systems.
TechRepublic: With developer tips, whitepapers, Webcasts and insightful articles, TechRepublic is an outstanding resource for developers.
Ajaxian: Do you speak Ajaxian? Improve your fluency by reading this Ajax-centric publication.
UX Magazine: This magazine about user experience considers the psychology, strategy and design behind sites that are developed for users.
SitePoint: SitePoint's features encourage readers to think about the little but important things, from microformats to site planning and legal issues.
.net Magazine: .net's competitions, articles and podcasts are sure to be thought-provoking. Don't forget to check out their forums too.
Web Developer's Journal: Check out Web Developer's Journal for whitepapers, tips and features designed to please "propheads."
Center Networks: Stay on top of the latest Web-development news, interviews and insights with Center Networks.
Devlounge: Do you prefer a laid-back approach to development news and resources? Check out Devlounge to get your fix.
Modern Life: This magazine provides insight into statistics and trends in the world of Web development.
PHP5 Magazine: PHP5 is a valuable resource for developers who work in PHP. You'll find helpful book reviews and sharp articles.
Red Hat Magazine: Red Hat Linux users will appreciate the tips, news and features of this magazine.
Jax Magazine: This magazine reports on news and trends in Java, Apache and XML. You'll find a "fresh brew" every day.
Datamation: In addition to on-target articles, Datamation provides readers with scripts and "HTML goodies."
CoDe Magazine: CoDe is chock full of contests and valuable content for Web developers.

Author : Focus Editors

posted under , | 0 Comments

Bumptop : 3D Desktop

BumpTop is a fresh, innovative 3D desktop user interface that lets you stay organized and share your files and photos from your desktop naturally and easily. BumpTop has the look and feel of a real desktop, so it's natural and intuitive. But unlike a real desk where stacks can become unruly, BumpTop lets you pile files intelligently -- by project, by file type or any way you choose.

People organize their real-world desks in any number of different ways, to suit their own style. Research shows that everyone stacks and piles their documents, and almost a third of people indicate stacking and piling is their preferred way of organizing their desks. However, people have had to conform to the rigid, conventional desktop organization which is grid and folder based. BumpTop allows users to create a digital desktop that is intuitive and easy to use, just like their physical one but with the power and intelligence of the underlying computer to increase productivity in a fun and playful way.

Cooliris (Plugin for Browser)

Cooliris, formerly known as PicLens, is a web browser plugin that provides interactive full-screen slideshows of online images. The plugin is available for Safari, Firefox, Chrome, and Internet Explorer. At present, the software is compatible with Bing Images, Google Image Search, Yahoo! Image Search, Ask.com Images, AOL Image Search, Flickr, Photobucket, Corbis, Picasa, Fotki, FotoTime, deviantART, SmugMug, Facebook, MySpace, Bebo, hi5, Friendster, YouTube (for videos), Gallery, Craigslist, Amazon.com, and any web site that implements mediaRSS tags in their HTML pages. The software places a small icon in the corner of an image thumbnail when the mouse moves over it, which launches into a full-screen photo viewer when clicked.

Cooliris also develops apps for iPhone, and more recently, for Google Android devices. Google tapped Cooliris to develop the official media app for Google's Nexus One smartphone, launched January 5, 2010.

CoolPreviews, formerly known as Cooliris Previews, is a web browser plugin for Mozilla Firefox, Internet Explorer, Safari, and Flock that opens a preview of the underlying content of a web link when the mouse hovers over the link. The stated goal of the software is to optimize browsing by allowing review of multiple links while preserving the context of the originating page. For example, one could preview a list of news headlines before deciding which article to read in depth. Visit

posted under | 0 Comments

Go Google:

  • Google’s Home Page Has 63 Validation Errors. Check Google Validation
  • Employees are encouraged to use 20% of their time working on their own projects.
  • Google News, Orkut are both examples of projects that grew from this working model.
  • Google has the largest corporate solar panel installation in the US.
  • Gmail – Free email from Google was used internally for nearly 2 years by Googleemployees before it was launched for public use. The engineers discovered that there are typically 6 types of email users and Gmail was made to satisfy the needs of them.
  • There isn’t any restriction for proper dress code in the Google office. This may include pajamas and even super hero costumes.
  • Tom Vendetta is the youngest google employee ever hired. He was hired by Google when he was 15 years old. Vendetta used to fool his friends by sending fake press releases and news. Vendetta was employed to know the know-how of the teen and to implement them in Gmail security flaws.
  • Orkut is very popular in Brazil. Orkut was the brainchild of a very intelligent Google engineer who was pretty much given free reign to run with it, without having to go through the normal Google UI procedures, hence the reason it doesn’t look or feel like a Google application. They are looking at improving Orkut to cope with the loads it places on the system.

Google Philosophy

1. Focus on the user and all else will follow.

Since the beginning, we've focused on providing the best user experience possible. Whether we're designing a new Internet browser or a new tweak to the look of the homepage, we take great care to ensure that they will ultimately serve you, rather than our own internal goal or bottom line. Our homepage interface is clear and simple, and pages load instantly. Placement in search results is never sold to anyone, and advertising is not only clearly marked as such, it offers relevant content and is not distracting. And when we build new tools and applications, we believe they should work so well you don't have to consider how they might have been designed differently.

2. It's best to do one thing really, really well.

We do search. With one of the world's largest research groups focused exclusively on solving search problems, we know what we do well, and how we could do it better. Through continued iteration on difficult problems, we've been able to solve complex issues and provide continuous improvements to a service that already makes finding information a fast and seamless experience for millions of people. Our dedication to improving search helps us apply what we've learned to new products, like Gmail and Google Maps. Our hope is to bring the power of search to previously unexplored areas, and to help people access and use even more of the ever-expanding information in their lives.

3. Fast is better than slow.

We know your time is valuable, so when you're seeking an answer on the web you want it right away – and we aim to please. We may be the only people in the world who can say our goal is to have people leave our homepage as quickly as possible. By shaving excess bits and bytes from our pages and increasing the efficiency of our serving environment, we've broken our own speed records many times over, so that the average response time on a search result is a fraction of a second. We keep speed in mind with each new product we release, whether it's a mobile application or Google Chrome, a browser designed to be fast enough for the modern web. And we continue to work on making it all go even faster.

4. Democracy on the web works.

Google search works because it relies on the millions of individuals posting links on websites to help determine which other sites offer content of value. We assess the importance of every web page using more than 200 signals and a variety of techniques, including our patented PageRank™ algorithm, which analyzes which sites have been "voted" to be the best sources of information by other pages across the web. As the web gets bigger, this approach actually improves, as each new site is another point of information and another vote to be counted. In the same vein, we are active in open source software development, where innovation takes place through the collective effort of many programmers.

5. You don't need to be at your desk to need an answer.

The world is increasingly mobile: people want access to information wherever they are, whenever they need it. We're pioneering new technologies and offering new solutions for mobile services that help people all over the globe to do any number of tasks on their phone, from checking email and calendar events to watching videos, not to mention the several different ways to access Google search on a phone. In addition, we're hoping to fuel greater innovation for mobile users everywhere with Android, a free, open source mobile platform. Android brings the openness that shaped the Internet to the mobile world. Not only does Android benefit consumers, who have more choice and innovative new mobile experiences, but it opens up revenue opportunities for carriers, manufacturers and developers.

6. You can make money without doing evil.

Google is a business. The revenue we generate is derived from offering search technology to companies and from the sale of advertising displayed on our site and on other sites across the web. Hundreds of thousands of advertisers worldwide use AdWords to promote their products; hundreds of thousands of publishers take advantage of our AdSense program to deliver ads relevant to their site content. To ensure that we're ultimately serving all our users (whether they are advertisers or not), we have a set of guiding principles for our advertising programs and practices:
• We don't allow ads to be displayed on our results pages unless they are relevant where they are shown. And we firmly believe that ads can provide useful information if, and only if, they are relevant to what you wish to find – so it's possible that certain searches won't lead to any ads at all.
• We believe that advertising can be effective without being flashy. We don't accept pop-up advertising, which interferes with your ability to see the content you've requested. We've found that text ads that are relevant to the person reading them draw much higher clickthrough rates than ads appearing randomly. Any advertiser, whether small or large, can take advantage of this highly targeted medium.
• Advertising on Google is always clearly identified as a "Sponsored Link," so it does not compromise the integrity of our search results. We never manipulate rankings to put our partners higher in our search results and no one can buy better PageRank. Our users trust our objectivity and no short-term gain could ever justify breaching that trust.

7. There's always more information out there.

Once we'd indexed more of the HTML pages on the Internet than any other search service, our engineers turned their attention to information that was not as readily accessible. Sometimes it was just a matter of integrating new databases into search, such as adding a phone number and address lookup and a business directory. Other efforts required a bit more creativity, like adding the ability to search news archives, patents, academic journals, billions of images and millions of books. And our researchers continue looking into ways to bring all the world's information to people seeking answers.

8. The need for information crosses all borders.

Our company was founded in California, but our mission is to facilitate access to information for the entire world, and in every language. To that end, we have offices in dozens of countries, maintain more than 150 Internet domains, and serve more than half of our results to people living outside the United States. We offer Google's search interface in more than 110 languages, offer people the ability to restrict results to content written in their own language, and aim to provide the rest of our applications and products in as many languages and accessible formats as possible. Using our translation tools, people can discover content written on the other side of the world in languages they don't speak. With these tools and the help of volunteer translators, we have been able to greatly improve both the variety and quality of services we can offer in even the most far-flung corners of the globe.

9. You can be serious without a suit.

Our founders built Google around the idea that work should be challenging, and the challenge should be fun. We believe that great, creative things are more likely to happen with the right company culture – and that doesn't just mean lava lamps and rubber balls. There is an emphasis on team achievements and pride in individual accomplishments that contribute to our overall success. We put great stock in our employees – energetic, passionate people from diverse backgrounds with creative approaches to work, play and life. Our atmosphere may be casual, but as new ideas emerge in a cafĂ© line, at a team meeting or at the gym, they are traded, tested and put into practice with dizzying speed – and they may be the launch pad for a new project destined for worldwide use.

10. Great just isn't good enough.

We see being great at something as a starting point, not an endpoint. We set ourselves goals we know we can't reach yet, because we know that by stretching to meet them we can get further than we expected. Through innovation and iteration, we aim to take things that work well and improve upon them in unexpected ways. For example, when one of our engineers saw that search worked well for properly spelled words, he wondered about how it handled typos. That led him to create an intuitive and more helpful spell checker.
Even if you don't know exactly what you're looking for, finding an answer on the web is our problem, not yours. We try to anticipate needs not yet articulated by our global audience, and meet them with products and services that set new standards. When we launched Gmail, it had more storage space than any email service available. In retrospect offering that seems obvious – but that's because now we have new standards for email storage. Those are the kinds of changes we seek to make, and we're always looking for new places where we can make a difference. Ultimately, our constant dissatisfaction with the way things are becomes the driving force behind everything we do.


posted under | 0 Comments

Windows Registry Tweaks:

Windows Registry

The Windows Registry is a hierarchical database that stores configuration settings and options on Microsoft Windows operating systems. It contains settings for low-level operating system components as well as the applications running on the platform: the kernel, device drivers, services, SAM, user interface and third party applications all make use of the Registry. The registry also provides a means to access counters for profiling system performance

How to launch Registry?

Run -> regedit


Adds System Restore, Services, LogOff, Reboot, Shutdown, Device Manager, Control Panel and Add/Remove Programs to My Computer Right-Click Menu:

Windows Registry Editor Version 5.00

;Adds Control Panel to right click of MY Computer
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE 0-3AEA-1069-A2D8-08002B30309D}\shell\Control Panel\command]
@="rundll32.exe shell32.dll,Control_RunDLL"

;Adds Add/Remove to right click of MY Computer
@="control appwiz.cpl"

;Adds Drive Cleanup to right click of MY Computer
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Drive Cleanup\command]

;Adds Services to right click of MY Computer - may have been already posted but its in my list
@=hex(2):53,00,65,00,72,00,76,00,69,00,63,00,65,00 ,73,00,00,00

@=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00 ,25,00,5c,00,73,00,79,00,73,\
00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,6d,00 ,63,00,2e,00,65,00,78,00,\
65,00,20,00,2f,00,73,00,20,00,25,00,53,00,79,00,73 ,00,74,00,65,00,6d,00,52,\
00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00 ,74,00,65,00,6d,00,33,00,\
32,00,5c,00,73,00,65,00,72,00,76,00,69,00,63,00,65 ,00,73,00,2e,00,6d,00,73,\

;Adds System Restore to right click of MY Computer
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\System Restore\command]
@=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00 ,25,00,5c,00,73,00,79,00,73,\
00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,65,00 ,73,00,74,00,6f,00,72,00,\
65,00,5c,00,72,00,73,00,74,00,72,00,75,00,69,00,2e ,00,65,00,78,00,65,00,00,\

;Adds LogOff to right click of MY Computer. I add the [] to group these
@="shutdown -l -f -t 5"

;Adds Reboot to right click of MY Computer. I add the [] to group these
@="shutdown -r -f -t 5"

;Adds Shutdown to right click of MY Computer. I add the [] to group these
@="shutdown -s -f -t 5"

;"LocalizedString"=hex(2):25,55,53,45,52,4e,41,4d, 45,25,27,73,20,43,6f,6d,70,75,74,65,72,00

@="Registry Editor"


Windows Registry Editor Version 5.00

@=hex(2):44,00,65,00,76,00,69,00,63,00,65,00,20,00 ,4d,00,61,00,6e,00,61,00,67,\

@=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00 ,25,00,5c,00,73,00,79,00,73,\
00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,6d,00 ,63,00,2e,00,65,00,78,00,\
65,00,20,00,2f,00,73,00,20,00,25,00,53,00,79,00,73 ,00,74,00,65,00,6d,00,52,\
00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00 ,74,00,65,00,6d,00,33,00,\
32,00,5c,00,64,00,65,00,76,00,6d,00,67,00,6d,00,74 ,00,2e,00,6d,00,73,00,63,\

Add 'Event Viewer' to the My Computer Right-Click Menu:

Windows Registry Editor Version 5.00

;Adds Add/Remove to right click of MY Computer
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Event Viewer\command]

Add 'Cleanup Drives' to the My Computer Right-Click Menu:

Windows Registry Editor Version 5.00

;Adds Drive Cleanup to right click of MY Computer
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Drive Cleanup\command]

Fix the Windows Search and treat all unknown extensions as text (.txt) files (Chris Sells)

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\ContentIndex]
"FilterFilesWithUnknownExtensions"=dword:00000 001

Note:To make reg edit easier just copy values and paste in notepad ans save with extension .reg. (for beginners)

posted under , | 0 Comments
Newer Posts Older Posts Home

We have seen by



Recent Comments