Want to learn what Agile product ownership means? Then checkout this video from Henrik Kniberg. It’s 2 days worth of learning squished to a 15 minute video and I must say it is very well-done. Definitely worth watching if you want to understand how to manage projects the “Agile way”.
Category: Tutorial
January 18, 2013
keithrull
Here are two ways you can determine what version of Adobe Flash is currently installed in a machine using C#. 1. You can read the Registry entry for Adobe Flash player located in HKEY_LOCAL_MACHINE\SOFTWARE\MACROMEDIA\FLASHPLAYER and read the value for CurrentVersion key
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
private string FindCurrentlyInstalledFlashVersionUsingRegistry() { var result = String.Empty; try { // HKEY_LOCAL_MACHINE var registryHive = RegistryHive.LocalMachine; // Create a registry key pointer to HKEY_LOCAL_MACHINE in the current machine var registryKey = RegistryKey.OpenRemoteBaseKey(registryHive, Environment.MachineName); // Read the key location for Flash using (RegistryKey item = registryKey.OpenSubKey(@"SOFTWARE\Macromedia\FlashPlayer\")) { // Check if the item is null. if (item != null) { // Read the value for CurrentVersion and return an Empty string if it does not exist result = item.GetValue("CurrentVersion", String.Empty) as string; } } } catch (Exception ex) { //TODO: Write your error handling code right here. } // Return the result of our function return result; } |
2. Use Reflection by creating a new SWFObject (Flash Object) and reading its version […]
January 16, 2013
keithrull
By default, Safari web browser does not allow you to view source files of a web page. In order for you to have this feature you need to go to your Safari preference and enable the Develop menu. To enable this menu follow these steps: While you Safari browser is open, click Safari menu. Next […]
January 3, 2013
keithrull
Probably the best Windows 8 capability demonstration I have seen. Scott Hanselman did a really good job demonstrating what you can do with Windows 8’s new interface without getting you bored. Video Link: https://www.youtube.com/watch?feature=player_detailpage&v=wi8NpwiEuzc
March 15, 2011
keithrull
I always forget where to find the location of ClickOnce applications so I’m putting it up here for reference. Windows XP:C:Documents and Settings\Local SettingsApps Windows Vista/Windows 7:C:Users\AppDataLocalApps
May 4, 2010
keithrull
Sometimes its the basic things that we tend to forget. It’s true. One example is encrypting the ViewState. Someone asked me this question today and I had to admit that I wasn’t able to answer on top of my head. Whats funny is that I’ve been doing it all along but never told myself to […]
March 9, 2009
keithrull
Tooltips are great additions to any interface and in this article I’m going to show you how to attach a tooltip to control in Silverlight 2. To start, let’s assume that we have a button that we want to add a tooltip to: [XAML]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<SPAN style="FONT-SIZE: 11px; COLOR: black; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"><FONT color=#ff0000><UserControl x:Class=<SPAN style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"KeithRull.Silverlight.CreatingTooltips.Page"</SPAN> xmlns=<SPAN style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"http://schemas.microsoft.com/winfx/2006/xaml/presentation"</SPAN> xmlns:x=<SPAN style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"http://schemas.microsoft.com/winfx/2006/xaml"</SPAN> Width=<SPAN style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"400"</SPAN> Height=<SPAN style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"300"</SPAN>> <Grid x:Name=<SPAN style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"LayoutRoot"</SPAN> Background=<SPAN style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"#FF1E238E"</SPAN>> <Button Content=<SPAN style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"Hover over me!"</SPAN> Height=<SPAN style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"20"</SPAN> Width=<SPAN style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"100"</SPAN> Margin=<SPAN style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"30 40"</SPAN> VerticalAlignment=<SPAN style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"Top"</SPAN> HorizontalAlignment=<SPAN style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"Left"</SPAN>> </Button> </Grid> </UserControl></FONT></SPAN> |
[Rendered UI] In order or us to attach a tooltip to […]
My MIX09 10K Contest Entry: Silverlight Pregnancy Calendar
.NET ,All about Keith ,Contest ,Family ,Fun Stuff ,Pregnancy ,Silverlight ,Tutorial ,WCF ,WPFJanuary 8, 2009
keithrull
I had some free time during the holidays and saw at the MIX09 website that they have a contest entitled MIX09 10K Challenge where they ask participant to create a web application that is either using Microsoft® Silverlight™ or Windows Presentation Foundation, as a XAML Browser Application running in Partial Trust or as a ClickOnce application in 10 kilobytes or […]
October 22, 2008
keithrull
In part 3 of this 5 part series I am going to show you how to make a Master-Detail View in ASP.NET. I you weren’t able to see the two previous post you can check them out here: How To: Consume Web Services in ASP.NET How To: Convert an Xml string to DataSet This post is […]
How To: Teach Your Apps To Speak With System.Speech.SpeechSynthesizer Part 2
.NET ,Fun Stuff ,TutorialSeptember 23, 2008
keithrull
In part 1 of this series i showed you how to specify the voice, gender, rate and volume of the our SpeechSynthesizer object. This time i’m going to show you how to use predefined Voices in your machine and utilize it as hints to your SpeechSynthesizer object. The first thing that I did to our […]