Toffer's WebLog

A small place on the web for me to write about the adventures of my self education in coding

  • Toffer's WebLog

    using SpriteFont's in XNA

    • 1 Comments
    So the quesiton of the day is when creating a SpriteFont to use for displaying text in an XNA app, is there a way to change the size or does a new SpriteFont have to be created for each desired size. What I'm trying to do is have a single SpriteFont...
  • Toffer's WebLog

    random posting...

    • 0 Comments
    WOW...it's been a while since I've posted. Luckily I my self eductions of coding hasn't been as slow as my posting on this blog. heh. I've been noticing that I get a lot of random comments over time on some of my posts and overall they seem to be helpful...
  • Toffer's WebLog

    multi-select drill-through reports...

    • 1 Comments
    Today I'm trying to work on improving my Sql 2005 Reporting Services report based on all the feedback I've been getting. Basically this report currently provides a way to drill-through to get more detailed information, if someone clicks on an ID number...
  • Toffer's WebLog

    displaying an entire table on one page with SQL RS2005

    • 1 Comments
    Today I'm trying to figure this one out. I've got this report I put together for my team that has a table which returns records from a database. Currently, the report automatically creates a table with multiple pages which stores all the returned rows...
  • Toffer's WebLog

    question of the evening...

    • 6 Comments
    I've seen something in a couple of different databases that kind of confuses me. I've been looking through books on line to see if there's any advantage to it, but haven't been able to find anything... What I'm seeing is multi primary key's in one...
  • Toffer's WebLog

    setting up a Sql Stored Procedure to accept an array as a parameter...

    • 18 Comments
    Ok, I'm not sure the title is exactly right, so let me explain better what it is I'm trying to do this fine evening. :) So I have this Sql Report Services report that takes a input parameter that is currently in a combobox at the top of the report...
  • Toffer's WebLog

    using the T-SQL OPENXML command

    • 5 Comments
    Hello once again. :) I've been getting great feedback from everyone that stumbles across my blog entries so I figured I'd post yet another of my great mysteries of coding... Today I'm trying to use OPENXML to shread an Xml document for the data I need...
  • Toffer's WebLog

    calling SqlConnection.Close() from class destructor causes exception

    • 9 Comments
    Well, today I'm designing a class that's basically function is to talk to a database. I'm having a SqlConnection member to share between all the methods and thought it would be a good idea to put a call to .Close in the class destructor. This is causing...
  • Toffer's WebLog

    Sql 2005 and managed code...

    • 2 Comments
    Today I proposed an idea to my boss which included using Sql 2005 in a manor that I "think" is possible. What I mean by that is I know Sql 2005 can store managed code as stored procedures...and I know to do that you compile the stored procedure, put...
  • Toffer's WebLog

    Using a ProgressBar control

    • 4 Comments
    Hiya all. I recenlty made a cheezy test program to just roll dice. I put a ProgressBar control to show give the end user an idea of how many rolls are left. Well, I noticed that when I tried to do 10000 consecutive rolls, the program slows waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaay...
  • Toffer's WebLog

    net use failing in RunOnce section of registry

    • 4 Comments
    Ugh...horribly frusterating problem today. I have a WinXP machine that's been sysprep'd. I'm trying to finish the sysprep with a sysprep.inf file on the a:\ That, for the most part is working fine. It's when the OS get's the commands I have listed...
  • Toffer's WebLog

    making a service...

    • 6 Comments
    Oooofda...long time no post. Lots of work done though. hehehe. My question of the day...how do you make a service? I have an executable that's a remoting server...and currently I have a Console.ReadLine(); in the code to make sure the app doesn't exist...
  • Toffer's WebLog

    solution to getting the parent process

    • 3 Comments
    In case anyone was interested, I did end up figuring out how to get the parent process of a given process...here's the code I used to do it... just to make note of it, wttsvc is a test harness which launches my test processes, there will only be one of...
  • Toffer's WebLog

    how to get the parent of a Process

    • 6 Comments
    Well, today's challange is to find a way to obtain a process' parent...if it has one. We have a situation where a test executable may or may not be launched by a test harness. If it is, I'm told that the test harness should show up as the test executables...
  • Toffer's WebLog

    to hack or not to hack...

    • 7 Comments
    Well I got some answers to using .Net Framework 2.0 on VS2003. Aside from the great suggestions posted on my blog the other day, most people seem to have the opinion that VS2003 is not going to be forward compatible without a great deal of hacking. ...
  • Toffer's WebLog

    using .net framework 2.0 from VS.Net 2003

    • 3 Comments
    Ah yes...everyone once in a while (usually after I start feeling like I know what I'm doing) a problem like this show's itself to put me in my place. hehehe... one would think that it would be a simple task to switch over from using .net framework...
  • Toffer's WebLog

    coding standards...

    • 8 Comments
    Oooooofda. The last few days I've been reading through some code that I found on SourceForge...and my initial impressions are that it's horrible. It doesn't seem that anyone has implimented any standards of any sort to how code was to be added. It really...
  • Toffer's WebLog

    graphics are a horse of a different color...

    • 3 Comments
    *sigh* again I have been faced with how little I really know about the coding world. I'm starting to get really really comfortable on how to code up backends for pretty much anything...databases, websites, etc... However gui and graphics...not so much...
  • Toffer's WebLog

    I don't get it...

    • 4 Comments
    http://www.msnbc.msn.com/id/8379873/ I've been a HUGE AMD fan for years because they have always provided a very high quality processor at a low cost... soooo, what do they do...the head hancho over at AMD is saying that just because high end gamers...
  • Toffer's WebLog

    how to find out if an exception's message will be localized...

    • 4 Comments
    Something a little different to figure out today. I have a piece of code in a try catch block that swallows a COMException. However, based on the message of the exception I'll want to rethrow it and add the original exception as an inner exception...
  • Toffer's WebLog

    Sometimes I'm a blockhead...

    • 2 Comments
    *big sigh of relief* Yeah, I'm done with another big project. Although it was updating the previous big project I was working with richer functionality. This was kinda good and bad at the same time... Bad because as my coding skills are moving...
  • Toffer's WebLog

    code review standards...

    • 7 Comments
    Recently I had a bunch of code to check into our source depot, but I'm told that before checking anything in, it ALWAYS must be reviewed. So I sent an e-mail to my team asking for someone to review the code. 2 days have gone by and not a single person...
  • Toffer's WebLog

    yeah, movement on Mp3Taginator

    • 8 Comments
    Ok, right now I have a blocking issue of not knowing where to get genre information from...I'm hesitant to make an enum to contain all possible genre's because what little information I've been able to find on this, looks to be like there's 100+ different...
  • Toffer's WebLog

    the most un-fun part of coding...

    • 2 Comments
    Ahhhhhhh, eyes going buggy...that's it...I'm taking a break. I have come to realize that the most unentertaining part of coding for me is the writing of the spec. The funny part however, is that because of a recent project I kinda got thrown into the...
  • Toffer's WebLog

    XmlNode question...

    • 3 Comments
    Ok, tonights question of the evening is this... I have a method which takes an XmlNode as a parameter. This method then proceeds to process the information in the XmlNode but there's one particular node that "could" be present. I'm trying to do a check...
Page 1 of 3 (55 items) 123