The TextFieldParser

Éric Moreau wrote an article about an interesting component that I didn’t know about (available since 2.0): the TextFieldParser. It provides methods and objects for parsing structured text files (i.e. .CSV).

Unfortunately, Microsoft included it in the Microsoft.VisualBasic.dll extension. Even though you can add this extension in C#, it is not really specific to VB.

Happy reading

Composite Application Library (PRISM) and Silverlight(WPF)

For some time now, I have been experimenting with Silverlight and PRISM. If you are curious like me, here are some links to help you get started:

Good luck, and if you have other links, feel free to leave a comment!

[Read More]

VS2010 RC to expire on June 30 2010

As I say in a previous post, VS2010 RC won’t last forever, it’s look like all RC version will be expiring on June 30 2010. So make sure to upgrade your version or go get theExpress editions (C#, VB, C++, Web developper and Windows Phone) !

ResourceBlender

ResourceBlender is a utility that allows you to translate your strings very easily (you can even use Google Translate automatically if you are lazy or do not have high translation quality standards).

It can generate RESX files (.Net), Java, XML, etc. In addition to having import functions and reusing already translated strings. See all features here…

The source code is obviously on Codeplex

Orchard Project - Reusable Applications and Components for ASP.NET

The Orchard Project aims to create an application and reusable components using ASP.NET. Additionally, in the short term, it will provide a CMS application based on .NET.

Having tested it several times, it seems very promising, but still too immature to consider using it as my Blog engine. But we’ll see….

The source code is available on CodePlex

SqlDataSource and ORA-01036 Illegal variable name/number

If you ever use the Oracle ODP.Net component with SqlDataSource and get the ORA-01036 Illegal variable name/number error, it is mainly due to the fact that your number of parameters does not match the number in your Insert, Update, or Delete query. I had this problem using a ComposedKey with the ASPxDataGridView from DevExpress. You need to remove the ComposedKey field before executing the query.

Here is the conversation on ASP.Net that helped me resolve this issue.

[Read More]

Using ODP.Net 9 and 11 on the Same Machine

If you want to use Oracle’s ODP.Net 9 and 11 in parallel, you must absolutely uninstall version 9 of Oracle.DataAccess from the GAC. It was blocking me when I wanted to use the graphical tools of VS2008 (Server Explorer and DevExpress).

My question on StackOverflow