tag:blogger.com,1999:blog-102157132008-06-24T15:55:11.087-04:00Sebastien LachanceSébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comBlogger29125tag:blogger.com,1999:blog-10215713.post-1115048355044994362005-05-02T11:38:00.000-04:002007-12-03T10:22:32.370-05:00New BlogYou can find my new blog <a href="http://www.sebastienlachance.com">here</a>.<hints id="hah_hints"></hints>Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comtag:blogger.com,1999:blog-10215713.post-1114607090791052422005-04-27T08:59:00.000-04:002005-04-27T10:51:47.296-04:00CommunityI have been thinking lately to get involved more in the .Net community. You know, make a name and all that. I have tried to post answer in the Code Project forum. But some are more faster than other, and the easy question are already been answered. And I have always thinking about presenting stuff to people. I'll get you more informed in the days to come.<br /><br />Oh, and if you have suggestion, tell me please :)<br /><br />And for an update, Visual Studio 2005 Beta 2 is out, and have been playing with it the last few days, and it seems great. More to come.Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comtag:blogger.com,1999:blog-10215713.post-1112873924276670842005-04-07T07:34:00.000-04:002005-04-11T13:06:41.976-04:00Class GeneratorI'm returning back to my idea of doing a Code Generator, but with less expectations. Instead of generating class from an entire database, I will take only one table and generating the entire class to acess it. I mean, to have method like Save, Load, Delete and to create stored procedure automatically.<br /><br />I will have an update as soon as possible in the day.<br /><br />Oh and forgot to mention that I'm still studying for 70-310. I't awfull how much you learn stuff from this one.Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comtag:blogger.com,1999:blog-10215713.post-1112201725621409512005-03-30T11:26:00.001-05:002005-03-30T12:05:40.500-05:00Intellisense in the Immediate Mode Command WindowHere is the tip of the day. But you already propably know. The command window is a great tool to use when you are debugging. But it seems some people doesn't know about it, and now thoses ones will knows.<br /><br />Open the Command Window from the View Menu. If you see an >, type "immed" (without "") to switch to immediate mode.<br /><br />Now you can see all values you can normally see in debug mode. So if you are tired to "Add Watch", "Add Quick Watch", etc, you can now be happy about the fact that you can debug without using the mouse. Enjoy.Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comtag:blogger.com,1999:blog-10215713.post-1111679968600289762005-03-24T10:50:00.000-05:002005-03-24T11:00:26.216-05:00Standards Master 2005I have signed for the Standards Master 2005 Beta for the Visual Studio 2005. I hope I get choosed, because, I'm currently using VS2005 to test home, and soon we will introduce it to the company I work for in the next weeks I believe. I strongly believe in coding standars and hope we can approve some soon. You sould check those links, if you are interested in the subject :<br /><DL><br /> <DT><A HREF="http://www.akadia.com/services/naming_conventions.html" ADD_DATE="1105544493" LAST_VISIT="1109600417" LAST_MODIFIED="1105544493">.NET Naming Conventions</A><br /> <DT><A HREF="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconnetframeworkdesignguidelines.asp" ADD_DATE="1105544812" LAST_VISIT="1109600417" LAST_MODIFIED="1105544813">Design Guidelines for Class Library Developers</A><br /> <DT><A HREF="http://www.google.de/groups?selm=%23YF7Ng3uCHA.572%40TK2MSFTNGP12" ADD_DATE="1105544633" LAST_VISIT="1109600417" LAST_MODIFIED="1105544633">Google-Suche</A><br /> <DT><A HREF="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconnamingguidelines.asp" ADD_DATE="1105544686" LAST_VISIT="1109600417" LAST_MODIFIED="1105544688">Naming Guidelines</A><br /> <DT><A HREF="http://www.gotdotnet.com/team/vb/VBSampleGuidelines.htm" ADD_DATE="1105544147" LAST_VISIT="1109600417" LAST_MODIFIED="1105544147">Visual Basic .NET Sample Guidelines</A><br /> </DL>Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comtag:blogger.com,1999:blog-10215713.post-1111178386345263902005-03-18T15:30:00.000-05:002005-03-23T11:35:00.170-05:00MSDN User Group Tour: Interoperability - ResumeGreat confenrence done by Luc Gauthier. Again it was not in-deep, but enough to understand the basic to allow you to go on your own. Web Services is the way to interoperate. I highly recommend, if you go in that direction, to read and learn as much as you can. It is not easy as it seems. By example, Java.Lang.Util.String is not the same as System.String. I'll try to go on Msdn and bring some link back here, in the next days.Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comtag:blogger.com,1999:blog-10215713.post-1111096470268737562005-03-17T16:53:00.000-05:002005-03-23T11:34:01.356-05:00MSDN User Group Tour: InteroperabilityI'm attending to this event, in about 30 minutes. I wil write a resume tomorrow.Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comtag:blogger.com,1999:blog-10215713.post-1111074562279098762005-03-17T10:22:00.000-05:002005-03-23T11:33:32.340-05:00Refactoring: Improving the Design of Existing CodeThis <a href="http://www.amazon.com/exec/obidos/tg/detail/-/0201485672/qid=1111072251/sr=8-2/ref=pd_csp_2/104-0473476-2747114?v=glance&s=books&n=507846">book </a>is all about refactoring. And God knows we need it. In my short carreer, I have seen entire systems who should have had a major refactoring. Before buying it, you should know you need a basic understanding of Java. If you do, you'll like it. Excellent book !Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comtag:blogger.com,1999:blog-10215713.post-1111063132933543502005-03-17T07:36:00.000-05:002005-03-23T11:32:39.660-05:00Visual Studio Tips and TricksVisual Studio IDE Tips and Tricks<br /><br />I'm very interested in macro, so if you have any good advices to help me start with, don't be afraid to share please.<br /><br />Edit : Current favorite<br /><br />Crtl-Space - Show intellisense<br />Ctrl-K-C - Comment line<br />Ctrl-K-U - Uncomment line<br />Ctrl-Z - Undo<br /><br />Custom shortcut<br /><br />Alt-A - Add a Watch<br />Alt-Ctrl-Q - Quick Watch<br /><br />I also use <a href="http://www.gotdotnet.com/workspaces/releases/viewuploads.aspx?id=112b5449-f702-46e2-87fa-86bdf39a17dd">VbCommenter</a> on VB projects to comment functions and class.<br />Also <a href="http://www.gotdotnet.com/workspaces/workspace.aspx?id=01f2f983-298f-4167-b52a-d11b76f3ea62">XmlVisualizer</a> to see what a data control contains ( dataset, datatable, datarow, etc.).Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comtag:blogger.com,1999:blog-10215713.post-1110811493264008512005-03-14T09:39:00.000-05:002005-03-23T11:31:51.446-05:00Visual Studio IDEIf you have something to share on tips you have to get the most of Visual Studio, don't hesitate. My current favorite is Ctrl-Space to get the intellisense, when it does not show. :)Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comtag:blogger.com,1999:blog-10215713.post-1110549654562966732005-03-11T08:54:00.000-05:002005-03-11T14:05:38.713-05:0070-310That's it, I'm seriously beginning to study for this exam. I'm planning to take it in the middle of april. I will share with you whatever I'm doing to learn everything I can.Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comtag:blogger.com,1999:blog-10215713.post-1110465654561559862005-03-10T09:22:00.000-05:002005-03-11T14:04:40.216-05:00Deep Dives - Web Platform<p>2 days ago, I went to a Deep Dives about Asp.Net 2.0. Everyone of my team has agreed to call it 'DDO' (Drag and Drop Oriented). It have been a real pain to listen it until the end. Maybe we got 10 minutes of code, that is when the presentator's computer wasn't freezing because he was running Virtual Pc on it (why didn't he shuts it down for the presentation). Well, it's not his fault, the one who was supposed to do it, was too late because of his plane, and it was not in English but in French because of that. We get some great gifts to compensate. A book to introduce Asp.net 2.0 and a backpack.</p><p>So, here is a resume : </p><p>The first 3 hours, the presentator talked about Master Page, Theme and Skin. Really interesting in the fact that everything will be so easy in the futur. Just drag your theme into a specified folder, and modify Web.Config to get it activated on the run. Oh and some really interesting stuff in the Code (or app_code later) directory. Just drag a code file in here to get it compiled and ready to run in the project. Also we can now have multiple programming languages on the same project. And there is no more vbproj or csproj file on a Web Site project. A project will be a directory. We did not talk about Edit and Continue.</p><p>For the next hour, we talked about Data Acess, MemberShip, IdeaBlade, WebPart, SharePoint. This was so much condensated that we didn't learn a lot, but enough to get a general idea about it. There is now a DataSourceObject object that is supposed to get better separated layer in the tiered application. MemberShip will really be a joke from now on. No more login, managing user, role, personal information, etc.. Everything is now integrated and can be accessed via WebAdmin.axd (maybe wrong). We have also taked a look at Web Part, who really simplified dynamic Web Page. The user will only see what he wants to see and can reorganize everything. </p><p>Now for <a href="http://www.ideablade.com/">Idea Blade</a>, we do not had the time to look at it, but I have done some research on my own. For what I have seen in the demo, it's an advanced ORM, to link with database, and create our Data Acess Layer. I will take a look at it, in the next few days.</p>Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comtag:blogger.com,1999:blog-10215713.post-1110247093886064062005-03-07T20:54:00.000-05:002005-03-08T09:33:57.206-05:00Deep Dives - Web PlatformTomorrow morning i'm attending to this <a href="http://msevents.microsoft.com/cui/EventDetail.aspx?culture=en-CA&EventID=1032267509&EventCategory=1">presentation</a> about ASP.NET 2.0 (since it's what I working with). This one is presented by <a href="http://msdn.microsoft.com/canada/meetmsdn/content/adamgallant.xml">Adam Gallant </a>who is a .Net Developer Specialist and has been working for Microsoft since 1993. I hope it will not be a marketing speech but a code-oriented one (that's what I'm interested in). 4 hours of full new things for me and I will probably not be deceived (and probably get another bunch of cd that will stay on the desk for another 3 months...). I will get you informed as soon as I can.<br /><br />Oh and another thing, we switched to C# at my job :) Can't be better I think :)Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comtag:blogger.com,1999:blog-10215713.post-1109699993619360042005-03-01T12:56:00.000-05:002005-03-08T09:30:41.480-05:00SharePoint 2003 - AdventureI now have the mission of setting a SharePoint portal in the company I work for. Today, I just tried to put a page in it, and so far I have not been able. So if you have any good links, suggestions or anything else.. please help me!Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comtag:blogger.com,1999:blog-10215713.post-1109343360939869422005-02-25T09:52:00.000-05:002005-02-25T10:36:53.840-05:00RowFilter of a DataViewIt is something that I worked on for 6 hours, and finally I found a way to get it works.<br /><br />Here is the way to get all row that has a field between two dates :<br /><br /><em><span style="font-size:85%;">String.Format("DATE >= #{0}# AND DATE REQUIS < #{1}#", CDate(txtDebut.Text).ToShortDateString(), CDate(txtFin.Text).AddDays(1).ToShortDateString())</span></em><br /><em><span style="font-size:85%;"></span></em><br />Don't forget that you should not try that with a Date that is converted in a string, it won't work.Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comtag:blogger.com,1999:blog-10215713.post-1109296106408018382005-02-24T20:37:00.000-05:002005-02-25T10:35:28.306-05:00It's been a long timeI've been very busy those days, so I didn't post anything. But now I have a few minutes, so why not. I have to recommend you a book intituled <strong>Design Pattern</strong> written by Gamma, Helm, Johnson and Vlissides. It is about eprouved pattern that really works with description, pros ans cons, example, etc. It is not meant to be read from the beginning to the end and is designed to be a reference. So far I've got through a single design pattern and my coding has already improved because of that.<br /><br /><strong>Design Pattern</strong> and <strong>Pragmatic Programmer</strong> are now at the top on my best book and I will keep them for the rest of my life. I planned, in the next week, to acquire <strong>Code Complete Vol 1 or 2</strong>. Based on several opinion, it's supposed to be worth a look.<br /><br />The code generator project hasn't been beginning and maybe will become obsolete in the next week, for some reason, people here doesn't enjoy the idea of developing one.<br /><br />I decided that next week, I will go through the System.Reflection Namespace, question of learning more and more.Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comtag:blogger.com,1999:blog-10215713.post-1107889569590466692005-02-08T13:59:00.000-05:002005-02-09T17:39:36.743-05:00Code Generator 0.1Well, today I tested several Code Generator on the market, and found out that it is not an easy world. People say that we should not re-develop something that has been done before. So my expectations were lowered a bit, but I will continue to work on it, and "do exactly what I wanted to do". But for those you are interested in this kind of software, you should take a look at <a href="http://www.mygenerationsoftware.com/"><strong>MyGeneration</strong></a>. Excellent software in my opinion.
<br />Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comtag:blogger.com,1999:blog-10215713.post-1107791248091344982005-02-07T10:42:00.000-05:002005-02-09T17:37:07.206-05:00Logging In IISYou can use Response.AppendToLog(<em> string</em> )<em>. </em>It's the most efficient way to do it. You must also not forget to check the Uri Query box. Here is the way to do this :
<br />
<br />1. Open IIS.
<br />2. Navigate to the Web Site (default : Default Web Site)
<br />3. Properties.
<br />4. Go to the log properties
<br />5. Extended properties
<br />6. Check Uri Query
<br />7. Apply
<br />
<br />Here you go.
<br />Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comtag:blogger.com,1999:blog-10215713.post-1107787067494443922005-02-07T09:30:00.000-05:002005-02-09T17:36:23.936-05:00Unable to access HTTPSThis weekend, I had to face this problem. I had search for about 2 hours what could have caused that. With no success at all. Then (nothing to loose) I installed TuneUp 2004 Trial version, to see something I haven’t seen. Then it tells me there was a Norton Internet Security installation in progress... It was the problem. So for uninstalling the pending installation (?), I usedthe rnav2003.exe, but it did not worked. So I finished the installation with all the error I could get, and then uninstalled it successfully. And everything was back to normal. Ohh and it wasn’t my computer of course. :P
<br />Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comtag:blogger.com,1999:blog-10215713.post-1107195731550302922005-01-31T13:21:00.000-05:002005-01-31T13:28:30.463-05:00OrElse in Visual Basic.NETIf you don't know what I'm talking about, check <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/valrfOrElseOperator.asp">here</a>. Really great thing to know :)
<br />Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comtag:blogger.com,1999:blog-10215713.post-1107180862182942062005-01-31T09:11:00.000-05:002005-01-31T13:27:09.773-05:00Pragmatic ProgrammerIf you are searching for a great book to learn about programming, read Pragmatic Programmer. Advices in this book are all great, and can you only become better. I just can't believe how much this book is usefull. Go <a href="http://www.pragmaticprogrammer.com/">there</a> to take a look at it.
<br />
<br />Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comtag:blogger.com,1999:blog-10215713.post-1106324125784335102005-01-21T11:09:00.002-05:002005-01-24T16:55:19.543-05:00.Net ReflectorI want to show you a program that I have just discovered on <a href="http://www.aisto.com/roeder/dotnet/">http://www.aisto.com/roeder/dotnet/</a>. It's called the Lutz Roeder's .Net Reflector. I highly recommend it because it allows you to check everything that is contained in a dll (or .exe) and it can show you the code in C#, Vb, IL and Delphi. Great tool!!!
<br />Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comtag:blogger.com,1999:blog-10215713.post-1106251245673333502005-01-20T14:58:00.000-05:002005-01-20T16:16:50.780-05:00Little programI have just finished working on a little program that converts a SQL Select statement to an Insert statement. It's really simple and I will try to post it somewhere on the web, and as soon as I can, I will give you the link.
<br />Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comtag:blogger.com,1999:blog-10215713.post-1106232518584058642005-01-20T09:25:00.000-05:002005-01-20T09:57:42.750-05:00MistakeWell, we all do some mistake in our life, and yesterday I have done a big one, believe me. I erased one client on the client server by mistake. Fortunately, they have a backup. Right now, I am restoring one of them on my SQL Server, and it will probably take a long time.
<br />
<br />We all learn from mistake and I will share with you what I have done to recover everything.
<br />
<br />The most important is to admit that your the one who have done that. You'll be better after.
<br />Get the backup file. Restore it using Enterprise Manager/All task/Restore Database.
<br />If it's on a .Bak file, choose the "From Device" option. In the Options Tab modify the path to point over to your SQL Server and Database file. Click Ok. Done!
<br />Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.comtag:blogger.com,1999:blog-10215713.post-1106154897755884762005-01-19T13:13:00.000-05:002005-01-20T09:32:43.826-05:00New study subjectToday, I begin studying Component Services. I always wanted to tried learning about this subject. And here I am, and I will try to do my best !
<br />Sébastien Lachancehttp://www.blogger.com/profile/02110334757221237231noreply@blogger.com