A question I had on top of my head:
When you install Silverlight, is it installed automatically on every browser available on your machine or is it per browser like Flash installation ?
The answer is:
"When you install Silverlight, it installs itself for both Firefox and IE on Windows, and both Safari and Firefox on Mac, regardless of what browsers you currently having running or installed."
Thanks to Daniel Harvey from the silverlight.net forums.
Back to some real content here!
Maybe you already know about this, but as I still often see static method like GetColorFromHTML() in companies static class, it could be a good reminder.
The idea is when you want to set a color in code, like GridView1.ForeColor = "#FFCC66", but this do not work because the property is of type System.Drawing.Color.
You don't need to create a convert method as there is already such a method in the Framework, but the location is not obvious.
First I would have checked for System.Drawing.Color.FromHTML() as there is already a System.Drawing.Color.FromArgb(), but no, it is not there. Instead you have to look in System.Drawing.ColorTranslator.
Convert a RGB color to System.Drawing.Color:
System.Drawing.Color col = System.Drawing.ColorTranslator
Dim col As System.Drawing.Color = System.Drawing.ColorTranslator
Convert a System.Drawing.Color to RGB string:
String sHtmlColor = System.Drawing.ColorTranslator
Dim sHtmlColor As String = System.Drawing.ColorTranslator
Here are the slides and demos of both of my french sessions: "Expression softwares" and "Silverlight".
Expression session was live only demos, but you'll find the samples I used for Silverlight :
- Expression Encoder output
- ASP.NET Future <asp:Media> Control
- Web Service
- Isolated Storage
Note that you need VS2008 beta 2 and Microsoft Silverlight Alpha Tools for Visual Studio 2008 Beta
Download the file:
Thanks to all attendees!
The Real Development Reloaded Tour will be in Montreal on October 18.
I had the chance to review the content of this event, lots of good tips and tricks will be shown, and I am sure you will learn something new, even if like me you do ASP.NET since you are born (almost!).
This tour focus on today's technologies, the ones you use on your day to day job as a web developer. So don't miss this chance to consolidate your knowledge, feel more confident on ASP.NET, AJAX, and learn about the best tools for your browser!
realDEVELOPMENT_07 tour is coming to a Canadian city near you. This half-day event is your chance to get a closer look at the technologies you use to create real web applications.
In the sessions, you’ll learn how to use:
- Visual Studio® development system to debug and trace your web application
- Third party tools and utilities such as the Internet Explorer® internet browser Readiness Toolkit, Developer Toolbar, and Fiddler
- the Enterprise Library to implement best practices
- ASP.NET AJAX to create more immersive and interactive experiences
Link for Montreal registration:
MONTREAL - OCT 18, 2007 (8:30 AM - 12 NOON)
For other dates and cities, read this post.
A new Live Service is available since September: Live Translator.
Can't wait for the new Zune 80 ??
I was not able to setup my Zune device since I bought my new desktop PC.
New Zunes are coming in November!
I had this error each time I browse media folders in Vista :
Tim Heuer has done a really nice Sidebar Gadget Template for Visual Studio.
Join us for a very informative and productive half-day event which will provide you with an overview of Microsoft’s new Silverlight browser plug-in. There is a great amount of buzz around Silverlight and this briefing is meant to provide you with an understanding of its capabilities and value proposition for both you and your customers.
This Innovation Briefing will cover:
- An overview of Silverlight
- Business value to you and your customers of Silverlight
- Architecture and services of Silverlight
- Implementing Silverlight-based applications
- A roadmap for Silverlight
This event is focused on Web Developers, Web Designers and IT Generalists."