Tuesday, April 22, 2008
Author - Creating Vista Gadgets
Labels: author, gadgets, vista
Comments:
Links to this post:
<< Home
Hi,
I'm really enjoying the book. However, I have two queries that I guess others may have as well. Looking at the source for the Chapter 5 MyBlog gadget in VS2008, there a loads of incorrect XHTML items when using validation to XHTML1 transitional or XHTML1.1. I know that MS don't need to recognise W3C Standards in their own Vista applications but it's annoying while building as the intellisense kicks in. Is there any way round this? i.e. a VS validation dropdown of "Gadget" would be good, is there a download for this?
The other question is, I've just installed the Extras gadget project template on an XP machine in the correct directory (I checked) but cannot see the project in the New Web dialogue box. Does this only appear if VS2008 is installed on a Vista machine (I have both but prefer to use the XP machine)?
Regards,
Craig
I'm really enjoying the book. However, I have two queries that I guess others may have as well. Looking at the source for the Chapter 5 MyBlog gadget in VS2008, there a loads of incorrect XHTML items when using validation to XHTML1 transitional or XHTML1.1. I know that MS don't need to recognise W3C Standards in their own Vista applications but it's annoying while building as the intellisense kicks in. Is there any way round this? i.e. a VS validation dropdown of "Gadget" would be good, is there a download for this?
The other question is, I've just installed the Extras gadget project template on an XP machine in the correct directory (I checked) but cannot see the project in the New Web dialogue box. Does this only appear if VS2008 is installed on a Vista machine (I have both but prefer to use the XP machine)?
Regards,
Craig
Hey Craig
Thanks for your message. I am glad you are having fun with Creating Vista Gadgets, do share the gadgets you create with others. about your queries.
1. Incorrect XHTML items when using validation to XHTML1 transitional or XHTML1.1.
- Try using the "Internet Explorer 6.0" validation , most of the Gadget HTML code should comply with IE 6 validation
2. Extras gadget project template on an XP machine.
- Although the template is created in Vista, it should work in XP machine. All you need to do is put the gadgetTemplate.zip in the following folder 'My Documents\Visual Studio 2005\Templates\ProjectTemplates' and it should work,
- The other work around is to use the source of the template which is located at "Creating-Vista-Gadget.zip\Chapter 14 Extras\5-Gadget Source\Innovate.gadget"
From VS 2008 you can go to file menu -> open website -> and use this extracted folder as your directory and then, from File menu click on 'Export template' this will create the template and put it in the template folder, which you can later reuse.
Hope this helps!
Rajesh
Thanks for your message. I am glad you are having fun with Creating Vista Gadgets, do share the gadgets you create with others. about your queries.
1. Incorrect XHTML items when using validation to XHTML1 transitional or XHTML1.1.
- Try using the "Internet Explorer 6.0" validation , most of the Gadget HTML code should comply with IE 6 validation
2. Extras gadget project template on an XP machine.
- Although the template is created in Vista, it should work in XP machine. All you need to do is put the gadgetTemplate.zip in the following folder 'My Documents\Visual Studio 2005\Templates\ProjectTemplates' and it should work,
- The other work around is to use the source of the template which is located at "Creating-Vista-Gadget.zip\Chapter 14 Extras\5-Gadget Source\Innovate.gadget"
From VS 2008 you can go to file menu -> open website -> and use this extracted folder as your directory and then, from File menu click on 'Export template' this will create the template and put it in the template folder, which you can later reuse.
Hope this helps!
Rajesh
Hi Rajesh,
Thanks for sharing the Gadgets you have developed. Your book on creating Vista Gadgets and the sample code helped me very much in developing a database driven gadget.
i have one question regarding notifying the user when an update is available. I have seen your Utility.js and it was quite helpful. I am able to change the background image when an update is available but not able to notify the user with the hyperlink and a tooltip as you did in Innovate.gadget and other gadgets. Basically, not able to use div tag inside anchor tag which you have used in Gadget.html, Getting a validation error (xhtml 1.0 transitional). Can you please help on how to notify the user with the download link and a tooltip.
Thanks in advance!
Thanks
Kiran Bachu
Thanks for sharing the Gadgets you have developed. Your book on creating Vista Gadgets and the sample code helped me very much in developing a database driven gadget.
i have one question regarding notifying the user when an update is available. I have seen your Utility.js and it was quite helpful. I am able to change the background image when an update is available but not able to notify the user with the hyperlink and a tooltip as you did in Innovate.gadget and other gadgets. Basically, not able to use div tag inside anchor tag which you have used in Gadget.html, Getting a validation error (xhtml 1.0 transitional). Can you please help on how to notify the user with the download link and a tooltip.
Thanks in advance!
Thanks
Kiran Bachu
Great read, but I believe that we need more books for creating gadget for the enterprise (Intranets) preferably Google Desktop Gadgets. There seems to be no information on this anywhere these days.
Post a Comment
Links to this post:
<< Home



