Hey guys Have you ever tried to create your own gadget in your
Vista..............Try this it will be fun and really nice...........You can
show your friend as "This is my own gadget"......It's too simple.
Gadget are nothing moreover than a little but
powerful handy tool. you might get surprised when you know how easy they are to
create. In fact, if you know HTML, CSS, and JavaScript, you’re well on your way.
In short
if I have to say what is Gadget, then simply
I say it is made of nothing more than of a HTML and XML defination files. There
may be some gadgets which include other files like PNG and JPEG for image and
also STYLE SHEETS (CSS), and too some scripting languages.All of these are
collected in file and that is just ends with name as *.gadget (ie
weather.gadget).
Now to create the gadget you need two things
specially they are
1. A
“manifest” file named Gadget.xml. This manifest contains all the
settings for your gadget, including the gadget name, author and copyright information,
and information about the HTML page that makes up the actual gadget.
2. An HTML
file (for example, Test.htm). Although they might not look like it, gadgets are
really nothing more than HTML files: you simply create an HTML file, add the
appropriate tags and script code, and you’ve got yourself a gadget.
You may have
a Question how can I have these files but don’t worry abt this coz I have got a
example of Manifest file you can just
copy and save it in Gadget.XML.Here
below is a “manifest” file
- - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - -- - - - - - - - - -
<?xml
version="1.0" encoding="utf-8" ?>
<gadget>
<name>My First Gadget</name>
<author>The Microsoft Scripting
Guys</author>
<copyright>2006 Microsoft
Corporation</copyright>
<description>Sample gadget that
returns the name of the installed operating system.</description>
<icons>
<icon>icon.png</icon>
</icons>
<version value="1.0.0.0"
MinPlatformVersion="0.1"></version>
<sidebar>
<type>html</type>
<permissions>full</permissions>
<code>test.htm</code>
<website>www.microsoft.com/technet/scriptcenter</website>
</sidebar>
</gadget>
- - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - -- - - - - - - - - -
Before you ask, yes, you can simply copy this file and use
it pretty much as-is, just making changes (as needed) to a few of the tag
values. (And don’t forget, you must name the file Gadget.xml.) The tags
you might want to/need to modify are specified in the following table:
|
Tag
|
Description
|
|
<name>
|
Name of the gadget as it appears in the gadget picker
dialog box.
|
|
<author>
|
Name of the person who wrote the gadget. The author, copyright,
and description tags all appear in the gadget picker when you click on a
particular gadget. For details, see the illustration shown below.
|
|
<copyright>
|
Copyright information, including name of the copyright
holder and copyright date.
|
|
<description>
|
Brief description of the gadget and what it does.
|
|
<icon>
|
Name of the icon file (the icon is the graphic displayed
in the gadget picker). For more on icons, see Creating an Icon in the
following subsection of this document.
|
|
<code>
|
Probably not the most intuitive tag name in the world, but
this is the name of the HTML file that makes up your gadget.
|
|
<website>
|
Web site associated with the gadget.
|
And also I have
got a example of one HTML file…… You can just copy and use this one
- - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - -- - - - - - - - - -
<html>
<head>
<title>My Gadget</title>
<style>
body{width:120;height:160;font:8 pt
Arial;color:white;
filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=1,
StartColorStr="#000000",
EndColorStr="#0000FF")}
</style>
</head>
<script
language="VBScript">
Sub
Window_OnLoad
RunSub
End Sub
Sub RunSub
strComputer = "."
Set objLocator =
CreateObject("WbemScripting.SwbemLocator")
Set objWMIService =
objLocator.ConnectServer(".", "root\cimv2")
Set colItems =
objWMIService.ExecQuery("Select * From Win32_OperatingSystem")
For Each objItem in colItems
DataArea.InnerHTML =
objItem.Caption
Next
End Sub
</script>
<body>
<input type="button"
value="Run" name="run_button"
onClick="RunSub"><P>
<span
id="DataArea"></span>
</body>
</html>
- - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - -- - - - - - - - - -
Now you need
to save this file in name as you type the code file name in manifest file…. Then
complie it in a folder and give it a name end with .gadget
And the final
part copy your folder of gadget and past it in to a location
%userprofile%\appdata\local\microsoft\windows
sidebar\gadgets
Here the link i tooked the help:-
http://www.microsoft.com/technet/scriptcenter/topics/vista/gadgets-pt1.mspx
Hey Guys Have you Tried Microsoft Office Live Workspace.....................
Microsoft Office Live Workspace beta is your online place to save, access, and share documents and files. Use it to group related information for work, school, or personal projects. No downloads are required-just sign up and go
The great things about Microsoft Office Live Workspace beta is that it acts like a virtual file cabinet i.e. virtual hard disk that's available anytime, anywhere, from any computer connected to the Internet. Now that you only need to create workspaces for your projects, and add documents to them.
Bingo.........with the space of 5GB storage, This will be enough....(i think so) for all of your work, school, or personal files. The days of forgetting files on your home computer or keeping track of flash drives are over! Plus, using folders within workspaces will help keep your documents organized and easy to find.
Creating a workspace & Adding files to a workspace:
Step 1: Click "New Workspace" in the left column.
Step 2: Select the workspace template that matches your project.
Step 3: Get going!
Step 4: Now Click "Add Documents."
Step 5: Select the file you'd like to add. (Install silver light for more efficiency...you can upload several file at a time).
Plus, with the Office Live Update you can open, edit, and save documents to your workspace directly from Office applications-Word, Excel, and PowerPoint-without launching your browser! But first DO NOT FORGET TO SIGN UP...............Hurry up guys Technology is waiting for you in the next end lets catch up....
http://workspace.officelive.com/