Showing posts with label C-sharp. Show all posts
Showing posts with label C-sharp. Show all posts

Thursday, February 16, 2012

C# equivalent of VB's With keyword - CodeProject®

English: Logo for C Sharp (programming language)
Image via Wikipedia
Introduction to Article by Omar Al Zabir

VB has a With keyword that you can use to save typing same variables name over and over again. Here's a similar workaround for C#



C# equivalent of VB's With keyword - CodeProject®
Enhanced by Zemanta

Thursday, September 8, 2011

Sunday, June 5, 2011

C# equivalent of VB's With keyword - CodeProject

C Sharp (programming language)Image via WikipediaSummary of article

VB has a With keyword that you can use to save typing same variables name over and over again. Here's a similar workaround for C#


C# equivalent of VB's With keyword - CodeProject
Enhanced by Zemanta

Friday, May 27, 2011

How to use a WebCam in C# with the .NET Framework 4.0 and Microsoft Expression Encoder 4 - CodeProject

Introduction to article


If you are interested in using your webcam from C# in an easy way, this little article is for you. In order to achieve our goal, we need the Microsoft .NET 4.0 and Microsoft Expression Encoder 4. You can get the latter for FREE, using the 'Microsoft Web Platform Installer', that can be downloaded from here: http://www.microsoft.com/web/downloads/platform.aspx



How to use a WebCam in C# with the .NET Framework 4.0 and Microsoft Expression Encoder 4 - CodeProject
Enhanced by Zemanta

Wednesday, October 27, 2010

Step by step introduction to Calling Iron Ruby Function From C# 4.0 - CodeProject

Official Ruby logoImage via WikipediaIntro to Article:
IronRuby is a Open Source implementation of the Ruby programming language for .NET, heavily relying on Microsoft's Dynamic Language Runtime(Quoted from IronRuby Site
This small article will demonstrate step by step as to how we can call IronRuby 1.1 function from C#4.0 using the dynamic keyword
Step by step introduction to Calling Iron Ruby Function From C# 4.0 - CodeProject
Enhanced by Zemanta

Wednesday, October 6, 2010

Trouble trying to implement IValueConverter : The Official Microsoft Silverlight Site

Microsoft SilverlightImage by Ribbit Voice via FlickrI've had a dickens of a time trying to get an sql statement to pass from a silverlight control and to get the results and display them on a datagrid on a silverlight control the following article helped immensely
Populating a Silverlight DataGrid with Data from MDB
Unfortunately there were two problem with it:
i. The article is written in C# and I wanted to know how to do it in VB.Net and C#
ii. The article does not show every step.
The following articles helped fill in some of the missing pieces
Trobule trying to implement IValueConverter : The Official Microsoft Silverlight Site
When binding with Wpf is there a way to use System.String funcntions without using converters?
What I was missing was the fact that I needed to write a converter class and I needed to add xml code to my silverlight control. Once I did this it worked and worked well in browser (IE 8) and out-of-browser. I will be writing an article and attempt to flesh this out better and more fully.
Enhanced by Zemanta