Far Away Developer

Sebastien Lachance

Archive for January, 2005

Tips and tricks

Posted by Sebastien Lachance on January 19, 2005

Today, I have tried FxCop from GotDotNet, and the first warning was about the assembly not marked with ComVisible attribute. What this attribute does in fact is to limit access to components from Vb6 or else, to your assembly. Here is how you can do that:

Step 1: Open AssemblyInfo file.
Step 2: Add this or if needed.)

So it’s all. I hope this is a worthy advice.

Posted in .NET | No Comments »

Windows Service

Posted by Sebastien Lachance on January 18, 2005

At first, I didn’t want to begin a journey on this subject. But then I begin reading this chapter today … and what the .. it was something very easy to do with Visual Studio.

Step 1 : Add code to the OnStart, OnStop, OnContinue and OnPause.
Step 2 : Go to the designer of the Web Service. Right-Click, Add Installer.
Step 3 : Go to the Bin directory
Step 4 : installutil nameofyourapp.exe
Step 5 : Enjoy

Posted in .NET | No Comments »

MCAD Training - Part 1

Posted by Sebastien Lachance on January 18, 2005

I just got through XML Web Services and they talk a lot about Serialization and I found out that they don’t really go through the explanation of what is happening in the process. So I borrowed a book from a friend called “Designing Enterprise Applications with Visual Basic.Net. This book clears every single question I had. I think that I can’t post the text from the book, so here is a link on MSDN abot that. Sorry C# guys, but you will have to translate. I don’t think this a problem anyway :).

Posted in .NET, Certification | No Comments »