Hello. I'm busy playing around with the embedding of Vitalize to a vista gadget. I've got a working 'framework' as the gadget appears in the gadget list, with all the variables like the name showing up. When you run it, it loads into the right hand side with the background I chose and so forth.
I then embedded a Vitalize app but it wont appear. Here is the simple source code for the time being (I plan to expand this, using dedicated css etc. but it was easier to post like this
As you can see, I use the System.Gadget.Path like Yves suggested hereCode:<html> <head> <title>LarAlive</title> <style> body { width:130; height:90; color: black; background: url('bg.png'); } #content { font-family: Segoe UI; font-size: 12pt; text-align: center; } #host { font-size: 10px; } </style> </head> <body link="#ffffff" alink="#ffffff" vlink="#ffffff"> <OBJECT ID="LarAliveApp" WIDTH=130 HEIGHT=90 type="application/x-cnc" CLASSID="CLSID:EB6D7E70-AAA9-40D9-BA05-F214089F2275" CODEBASE="http://www.clickteam.com/vitalize4/vitalize.cab#Version=4,0,248,1"> <PARAM NAME="URL" VALUE=System.Gadget.path +"\LarAlive.ccn"> <EMBED TYPE="application/x-cnc" SRC=System.Gadget.path +"\LarAlive.ccn" checkversion="4,0,248,1" PLUGINSPAGE="http://www.clickteam.com/vitalize4/download.html" WIDTH=320 HEIGHT=200> </EMBED> </OBJECT> </body> </html>
I get the Vitalize logo to appear, but then absolutely nothing shows up. If, however, I remove the System.Gadget.Path from the location and run it in my browser, the app runs.
Here's what the sidebar looks like when I run my gadget:
![]()
Any help would be much appreciated. Thank you![]()





