July 2007 - Posts

Silverlight presentation material

 

Recently I was looking for Silverlight powerpoint to download in order to give a presentation in my company. Here are some nice content I found :

 

Scott Guthrie (obviously) did some talks during the year and is kind enough to share his slides :

http://weblogs.asp.net/scottgu/archive/2007/06/19/building-silverlight-applications-using-net.aspx

http://weblogs.asp.net/scottgu/archive/2007/06/06/my-quot-lap-around-silverlight-quot-talk-at-teched.aspx

 

Tim Sneath provides 2 great presentations, one for Silverlight 1.0 and the other for Silverlight 1.1 :

http://blogs.msdn.com/tims/archive/2007/07/03/so-you-want-to-give-a-silverlight-presentation.aspx


Well done!

Posted by pluginbaby | 1 comment(s)
Filed under: ,

Live OneCare Problem: You reinstalled Live OneCare, or you start using v2 beta, and want to delete your old backup folder, but you can't.

This is a permission problem, that maybe you can solve with cacls with command line:

cacls "<drive letter>:\<path>" /t /g administrators:F 

Sample:
cacls "F:\Windows OneCare Backup\YourComputerName" /t /g administrators:F
Do NOT put a \ at the end of the path.

You'll get a message "Are you sure(Y/N)?"

This will strip the permissions from the folder and you should be able to delete it.

 

Another solution found on the Windows Live OneCare Forum :

  • Under Computer, double-click the disk letter that corresponds to your hard disk.
  • Right-click the Windows Live OneCare folder, and then click Properties.
  • On the Security tab, under Groups or user names, click either Administrators or your user name.
  • Click on Edit
  • Next to Full Control, select the Allow check box, and then click Apply.
  • In the Windows Live OneCare folder, select the backup set folder, and then press DELETE.

Dynamic Drive

This is not directly related to ASP.NET but might be very useful for general web development, check out these great free online tools from Dynamic Drive :

FavIcon Generator

Favicon Generator

Use this online tool to easily create a favicon (favorites icon) for your site. A favicon is a small, 16x16 image that is shown inside the browser's location bar and bookmark menu when your site is called up. It is a good way to brand your site and increase it's prominence in your visitor's bookmark menu.

Try FavIcon Generator

 

Email Riddler

Email Riddler is an online tool that encrypts and transform your email address into a series of numbers when displaying it, making it virtually impossible for spam harvesters to crawl and add your email to their list.

Try Email Riddler

 

Gradient Image Maker

Gradient images are used everywhere in web page design, ie, as the background of form buttons, DIVs, to act as shadows and other interesting visual effects etc. We created this online tool to allow you to painlessly generate a gradient image of 3 types, with instant previewing so you get exactly what you had in mind.

Try Gradient Image

 

Image Optimizer

Image Optimizer lets you easily optimize your gifs, animated gifs, jpgs, and pngs, so they load as fast as possible on your site. Furthermore, you can easily convert from one image type to another.

Try Image Optimizer

 

Badge Button Maker

Use this online tool to easily and visually create those popular "XHTML valid" micro buttons (80x15). You can also opt for the larger 88x31 button instead. Enjoy!

Try Button Maker

 

I think later I'll post about others great free online resources I use a lot, buttons generators, xhtml templates and stuff like this.

As you know Silverlight is currently available in 2 versions :

  • v1.0 beta
  • v1.1 alpha

First thing to know is the 1.1 alpha release contains the 1.0 beta bits, if you already installed 1.1 you do not need 1.0

Right, so how do you know which version of Silverlight is installed on your browser (Win)?

On IE if you go to Tools/Manage Add-ons, you see an AgControl pluggin, but no way to get the version there...

For IE/Win you can use the following code to detect the Silverlight version :

if ((navigator.userAgent.indexOf('Windows') != -1) &&
(navigator.appVersion.indexOf('MSIE') != -1) ) { try { var AgControl = new ActiveXObject("AgControl.AgControl"); agVersion = AgControl.settings.version; AgControl = null; } catch (e) { agVersion = -1; } } alert(agVersion);

Version 0.90 is v1.0
Version 0.95 is v1.1

Another way to check the version, more user friendly, look at the folder "C:\Program Files\Microsoft Silverlight", if you have 2 files only:

  • agcore.dll
  • npctrl.dll

then you have 1.0 installed.

csdfdsfsdfsd


If you have much more files like these one :

  • coreclr.dll
  • mscorlib.dll
  • microsoft.scripting.dll
  • mscorrc.dll
  • microsoft.jscript.runtime.dll
  • microsoft.visualbasic.dll
  • system.xml.core.dll
  • system.core.dll
  • ironpython.modules.dll
  • ironpython.dll
  • agclr.dll
  • microsoft.jscript.compiler.dll
  • system.silverlight.dll
  • slr.dll

then you have 1.1

ytgfvch

That's all folks.

Live Maps just got 26 terabytes of update !!!

They added aerial and 3d content to several new cities, including Quebec city and Toronto for Canada  (Montreal will come in the next release) and one city in France... Toulouse! (my city!).

The quality of pictures is absolutely amazing and totally blow my mind!


Also one new feature, called "hill shaded", that adds topographical information to the road maps:

image

 

Quebec in 3d!

image

 

Toulouse in 3d!!

image
Hi guys, I used to work in this building!!

Posted by pluginbaby | 1 comment(s)
Filed under: ,

For a tutorial on creating Popfly mashup, read my previous post :
Building a simple mashup step by step with Popfly.

 

So now that you have a mashup, what can you do wih it ?

Your mashup is private by default.

First thing to do is switching it to public by clicking on "Share" :

Mashup private

 

Now that the mashup is shared, you have several new options :

Mashup shared

You can :

  • Embed it in a web page
  • Export as Gadget for Vista Sidebar
  • Add it to your Windows Live Space

 

Embed it

Click on "Embed it" to get the HTML code needed to embed your mashup in any web page.
Note the options to publish your mashup in a new entry of your blog (requires MetaBlog API), also TypePad, and probably more to come.

Embed it

 

Download as Gadget

Click on "Download as Gadget" to install your mashup directly in your Vista's Sidebar, like any Gadget from the Live Gallery. A mashup is just HTML, Javascript and Silverlilght, so there are no problem to host it in Vista Sidebar, but users will have to install Silverlight.

Mashup in Vista Gadget 

Mashup as Gadget

For now (beta...) export is not perfect (specially for the size) but you can easily tweak it by going to your local folder :
%userprofile%\appdata\local\microsoft\windows sidebar\gadgets

 

Popfly Mashup as Gadget 
Better now!

In fact the exported gadget is just an iframe with a link to your content in Popfly, for my sample :

<iframe allowtransparency='true' width='100%' height='100%' src="http://www.popfly.ms/users/pluginbaby/Blaugh Carousel.content"></iframe>

If you point your browser to http://www.popfly.ms/users/pluginbaby/Blaugh Carousel.content you'll see that the entire content of the mashup is there, the exported gadget act like a wrapper for the Sidebar.

 

Add to Windows Live Space

I don't have a Live Space but I assume you just have to specify which account to publish and it will create a new entry with your mashup embeded.

More Posts