Archive for March, 2009

WPF Cube Rotation Screen Saver

Here is a WPF based screensaver which uses a cube to rotate. My company’s logo is used as texture. The screensaver is done with C# under .net framework 3.5

Download it here

.
VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

Nominate yourself for MVP Award

If you have been actively contributing to online or offline technical communities over the past year, here is your chance to get recognized. Nominate yourself for the Microsoft MVP Award - a program that recognizes exceptional technical community leaders from around the world who voluntarily share their high quality, real world [...]

Leave a Comment

Kerala MVPs on news again

Kerala’s one of the leading daily news paper Mathruboomi published yesterday the news about MVPs with photos. Nice to see my photo also there.

VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

WPF - How to use Image Embeded Resource from c# code?

Add your image (I take a png file) to your solution
Use this code:

Assembly myAssembly = Assembly.GetExecutingAssembly();
Stream myStream = myAssembly.GetManifestResourceStream("WpfApplication1.testimage.png");
 
PngBitmapDecoder bd = new PngBitmapDecoder
(myStream, BitmapCreateOptions.PreservePixelFormat, BitmapCacheOption.Default);
Image1.ImageSource = bd.Frames[0];

Name spaces needed are System.Reflection and System.IO.
VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

Get value from resource in .net

This is one of many ways to get values from a resource file.
First I added a new resource file Resource1.resx to the solution. Now here is the program looks like:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Resources;
 
namespace WebApplication3
{
public partial class _Default : System.Web.UI.Page
{
[...]

Leave a Comment

Microsoft DreamSpark

Microsoft DreamSpark is a program that provides no-cost access to Microsoft designer and development tools and training for verified high school and university students around the world, to support and advance their learning and skills. This program equips tomorrow’s developers with the professional tools to inspire and create today.
 

Here it goes https://www.dreamspark.com/
VN:F [1.1.6_502]Rating: 0.0/5 [...]

Leave a Comment

WPF – Cube rotation - animation

This program animates a cube in black background. My company logo is used as texture.
Here is the XAML file:

<Window x:Class="WpfApplication1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="pitScrnSaver 1.0" Height="300" Width="300" Loaded="Window_Loaded" Background="Black" ResizeMode="NoResize" ShowInTaskbar="False" WindowState="Maximized" WindowStyle="None" Icon="/pitScrnSaver;component/favicon.ico">
<Grid MouseMove="Grid_MouseMove">
<Viewport3D Margin="4,4,4,4">
 
[...]

Leave a Comment

Microsoft Certifications Exam offer extended

The offer of 10% discount for Microsoft Certifications exam extended up to April 30 2009. So friends, you have more time.
Cheer up!
VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

Write your first SQL Server CLR Stored Procedure

In Visual Studio (I use 2008), choose File -> New Project
Choose on Project Type - Database Projects -> Microsoft SQL Server -> SQL CLR
Choose your template type. I choose C# SQL Server Project Template
Next you will be prompted an ‘Add Database Reference’ with available connections. Choose one or add new reference by clicking the button.
Next [...]

Comments (1)

Bundle Offer for MCSE from TimeNet

Today I got a mail from TimeNet Learning with this offer information. They claims you can take 2 exams for Rs. 4300/-
More details I posted here: http://kidoos.net/blogs/kidoos/archive/2009/03/20/bundle-offer-for-mcse-from-timenet.aspx
VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment