July 2004 Blog Posts

  • Some new personal projects

    Soon, I will be playing with Mono on Mac OS X.  I plan on porting an app that I built in JSP to ASP.Net (with C#).  Then I can farm all the support work to Dave <grin>.  I'm so excited about this you can't even imagine.  That coupled with me being able to join the QueryCommander Project in the GotDotNet Workspaces... Query Analyzer with intellisense!  Oh yeah, and I'm in the process of installing the new beta of SQL Express (Oh my!  I've joined the ranks of futuritis! Can it be?!?!!) I close on my new house in less than 2...

  • Dot Net Q&A

    I had Donny create the .Net Q&A blog.  I haven't had a bunch of questions.  I've been thinking about going into the dreaded newsgroups and posting a bunch of questions from there that I can answer (or that I think others can answer) to try to “jump start” the blog.  (BTW, I checked the logs today and both Google and MSN are indexing it fairly well considering that we have a grand total of 3 questions - 2 of which are mine). What do you guys think?

  • Something strange I'm trying to accomplish...

    I have something weird I'm trying to accomplish and was wondering if anyone has tried/accomplished this. Here's the problem (briefly). I have some power users of a system that I built that use MS Access as a frontend to SQL Server.  They have direct table access.  I want to wean them off of this, and would preferably like to give them some stored procs... unfortunately they have some mini apps in MS Access against the data.  Beyond me teaching them how to call SQL server via the Jet engine (creating a connection to SQL through a connection/recordset object) is there any way I can hook...

  • Some fun with my mistake...

    Ok, as previously stated I rushed out my last post.  I had a bug in my code that resulted in a subtle problem.  Just out of curiosity, raise your hand if you tried to use my code (ok, put it down again... I can't really see you, but people around you can, and they're staring). Let see how many hands was that?? None I bet.  If you had , you would discover that... it doesn't work!  There is a more heinous error in the code than previously stated. Let's recap.  I give you 4 routines.  Each of the routines let's you pass...

  • ASP.Net: Transfering data between pages.

    [I hope that I don't drive my readers crazy.  I'd love to settle on 1 topic and become an expert in that oen topic.  I just have way too many interests right now] As I have coded web apps (in both ASP and ASP.Net as well as JSP) over the last 6 or 7 years (wow, it's been that long), I have had a recurring problem.  How do I transfer data between pages? Initially my answer was what a lot of us do.  I simply put the data in the QueryString.  It's very easy and you can easily retrieve it.  The only...

  • Overkill..

    I have been thinking about building the model for a security system.  The idea is that I would fully build the system, but I would create a system that is easily exntensible... this of course is for my buddy Dave's consulting business (he's still doing somewhat OK, but I've noticed that he really needs to be able to do about 40 hours billable work in about 30 hours, so that I can engage him in a couple other things).  I'd planned on making this a community project that others could join, contribute to, and maybe even improve.  After making my...

  • RSA SecurID and ASP.Net?

    [For those who are curious, yes, I have a lull in the storm... You can probably consider that I'm pretty much back] This is as much of a question (as a statement).  I've been using RSA's SecurID technology in my main work project for a little over 1 year now.  Which is to say that I developed an integration between SecurID and the web site (with ASP) about 1 year ago, made some changes to their templates a couple of times, and recently developed a new site (with ASP.Net).  In case you don't know, SecurID is a technology that requires the user of...

  • Just added some code to PInvoke.net

    Have you ever needed to detect from .Net whether a COM Object already existed on the system before you instantiated it? Read on - http://www.pinvoke.net/default.aspx/ole32.CLSIDFromProgIDEx (I actually updated the entry someone had already written the C# signature... Also, thanks for your help, Rob)

  • Why C# and VB programmers should switch to IL and assembler...

    [I've been reading this thread over on Carl's site... I'm really sick of the language wars, so... I thought I would add my strange 2 cents... BTW, tongue stuck firmly in cheek]. I think all of you monkeys have it wrong!  C# may or may not be superior to VB, but IL is superior to both.  Now that Craig has released this it is now possible to program in IL on a day to day basis, but why stop there.  Obviously IL by itself isn't enough... I think IL and assembler (for those situations where unmanaged code is needed) is the only...

  • MyDal...

    Ok, I have made available to the world the first of my CodeSmith Templates (for VB.Net). You can get it here.  This is a template to produce the kind of code I discussed here.  Enjoy.

  • I hate it when this happens...

    I have a couple bloggers that I “religiously” read.  I really hate it when they say that they are way too busy to blog. Unfortunately, I'm obviously at that point right now.  I have a really aggressive deadline at work and with the home purchase (did I mention that we bid on and got a new home), I'm swamped. This is as much as I can give you right now.  Hopefully I'll be back to my normal pace within the next week or so (once work calms down).

  • Welcome new blogger!

    I just wanted to welcome a new blogger (back).  You know it seems like we get new bloggers every week.  You know I'm starting to think that we have too many bloggers.  So I have some advice for you new bloggers.  This is my gig, so quit it!  I've been blogging for 4.5 months (almost 1/2 of a year).  There are too many bloggers now, so quit it.  No one cares about you or your post; you'll need to have about 75+ posts before anyone even realizes that you exist (which means about 4.5 months of blogging), so don't waste your...

  • On Blogging...

    In the almost 5 months that I have been blogging (which I admit is not an extremely long time), I've noticed a trend that I would like to address.  When I first started blogging I would get the occasional comment here (I imagine that I averaged about 1 or 2 comments per post). I don't know about others, but I live for the feedback.  For blogging to truly work for me I need comments (and I think I'm still getting them somewhat).  Comments help me see if what I'm suggesting is a good idea, a bad idea, or (as I a...

  • Mind your workspaces on gdn

    I have a moral dilemma.  I have recently applied to join the QueryCommander workspace on GotDotNet.  The reason is that I would like to test/bug fix a few things in the project (and to my knowledge the only release that has happened is in the user samples).  I applied about 3 weeks ago, and have yet to hear anything.  Until recently there hasn't appear to be much activity on this project either.  I really want these bugs fixed, because this has everything in an SQL editor that I would like to have (intellisense, object browsing, etc); however, there is a fatal flaw...

  • Preview my library for ASP.Net that can turn a Web Form into a PDF

    OK, I'm going to go ahead and make this publicly available.  I still haven't remembered completely how it works (I need to go back and review some code). Here's what I remember (so this is the reader's digest version).  1) Derive the Web Form from ithPDFPage.ithPrintPageWithIText (that would mean “inherits ithPDFPage.ithPrintPageWithIText“ in VB.Net)2) In the Page_Load event call the SetPdfPrintableControls with a list of ClientIDs to include (This is an paramarray in VB, so you do something like this: SetPdfPrintableControls(“Label1“, “Table1“, “Label3“)3) When you want to render a PDF simply call “PDFMode()“ and it will render your page as a PDF.  I...