Blog
Page: 0 ... 5 ... 10 ... 15 ... 20 ... 25 ... 30 ... 35
Canon Pixma iP5000
Date: 17/3/2005
Well it finally arrived, the new Canon Pixma iP5000 printer. I've set it up and printed out a single photo at this stage, and well I can't tell the difference between this photo and a professionally printed one. So I'm fairly impressed so far.

It's easily the best photo printer I've seen, but then again I havn't seen a lot of them.

All that really matters it that it kicks butt, for photos, the occasional invite or .DOC and DVD labels. One test down... couple more to go.
(3) Comments | Add Comment

Switch Between Visual C++ 6 Debugger And .NET (7) Debugger
Date: 17/3/2005
If you have both Visual C++ 6 and .NET installed, and you want to switch between the (just in time) debuggers you can by fiddling the value of the "Debugger" key in:
HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\AeDebug
The setting for VC6:
"C:\\Program Files\\Microsoft Visual Studio\\Common\\MSDev98\\Bin\\msdev.exe" -p %ld -e %ld
And for VC7:
"C:\\Program Files\\Common Files\\Microsoft Shared\\VS7Debug\\vs7jit.exe" -p %ld -e %ld
Obviously adjusting paths as necessary.

And if the .NET debugger is giving you the "Registered JIT debugger is not available." finger then you could try the following:

  • Go to: Settings >> Control Panel >> Administrative Tools >> Microsoft .NET Framework 1.1 Configuration
  • The .NET 1.1 Configuration module will appear. Click on the "Runtime Security Policy" folder on the left hand side of the screen.
  • Click on the "Adjust Security Zone" link in the body of the screen.
  • Click "Next."
  • Click the "Local Intranet" security button (since our application is distributed through the company intranet.)
  • Adjusted the security to "FULL."
  • -and/or-
    Start -> Run:
    "C:\\Program Files\\Common Files\\Microsoft Shared\\VS7Debug\\vs7jit.exe" /RegServer
    (This is just documenting the fix for Google to index... move along now.)
    (0) Comments | Add Comment

    Stupid Dumb Body
    Date: 16/3/2005
    Well there is nothing more annoying than being held back from doing what you really want to do by injury. My old RSI is playing up bad again, and I'm struggling to do much work at the computer this week. The usually rounds with the Doctors, Specialist's, Managers+HR, Medicines and resting are the order of the day.

    Thus no Scribe release... Test7 is um, not "done" yet. And thus not released. No schedule yet either.

    (Does anyone even read this blog? No-one has bothered to comment on the last 5 entries.)

    What drives me up the wall is that I finally get my home recording studio setup, after 4 years of waiting and saving, and that very day the RSI kicks in forcing me off any instruments or the computer... coincidence? I suspect not. I've been waiting around for the last month while parts are shipped here, not playing any guitar just so I could dive in and enjoy it. Ironic eh? *grrrrr*
    (5) Comments | Add Comment

    PopOverHttp.com Upgrade
    Date: 10/3/2005
    Well it had to happen sooner or later (Sorry about the later part of it) but PopOverHttp.com has finally got a external POP mailbox fetch function. This allows you to get your existing POP mail using PopOverHttp.com as a middleman, caching the mail in it's local store. It's still a bit experimental so I wouldn't trust it with your main email account unless you really don't care if it drops mail into the dark beyond. I've done enough testing to satisfy myself it's doing the right thing most of the time. And I'd like to get some feedback about this new feature.

    Previously to this you we're limited to receiving email at username@popoverhttp.com, whereas now you can get email at your old address as well.

    And seeing as I just had to fork out for the hosting again it'd probably not going to remain free forever.
    (0) Comments | Add Comment

    Lgi Table Layout For Controls
    Date: 7/3/2005
    It's always been a bit of sore point that Lgi hasn't supported any means of making the user interface, esp dialogs, sensitive to the size of the fonts and text in the controls. And well about 3 years too late I decided to do something about it. The main mechanism for storing information about controls in Lgi is the lr8 resource file, which any translator of Scribe will know all about. It stores a XML representation of all the strings, dialogs and menus the application uses.

    What I've been working on is adding a new type of control, called GTableLayout to both LgiRes, the graphical design studio for lr8 files and the Lgi runtime shared library. The control takes the concepts of layout applied to HTML tables and applies them to windows controls. There are differences in how it works and it's somewhat simplified to keep code complexity down but it's essentially the same idea. This is what it looks like in the design tool:

    As you can see it lets you add and remove rows and columns, span cells and add controls to the cells. The layout is irrelevant in this view. All that matters is the controls are sitting in the right cell.

    The design tool saves the table's layout into the lr8 file like this:

    <TableLayout pos="10,24,310,345" ref="2" cols="0.333,0.333,0.333" rows="0.500,0.500">
    	<tr>
    		<td>
    			<StaticText pos="4,39,80,59" ref="3" />
    		</td>
    		<td colspan="2">
    			<EditBox pos="102,67,262,87" ref="4" />
    		</td>
    	</tr>
    	<tr>
    		<td>
    			<StaticText pos="4,186,80,199" ref="5" />
    		</td>
    		<td>
    			<EditBox pos="112,224,160,244" ref="7" />
    		</td>
    		<td>
    			<Button pos="207,193,227,213" ref="6" />
    		</td>
    	</tr>
    </TableLayout>


    Which neatly maps HTML tables into the lr8 format.

    At runtime a layout algorithm puts the controls into more traditional positions. e.g. with normal and large fonts:

    This technology should hopefully find it's way into Scribe and other Lgi application over time as it matures enough to be used in production code. The old days of having to hack the font size to fit in the controls fixed space are soon going to be a thing of the past. :)
    (0) Comments | Add Comment

    Scribe Test6
    Date: 3/3/2005
    The new build of Scribe is out and about. As you can see in the version history it's got a nice list of changes.

    Of note is the support for previewing multiple accounts all at once. This is a work in progress but it does do what it says. The main downside is that all the accounts have to finish their connection before you can action anything. This limitation may be removed in a future build. The main visual difference is that the preview window now has a "To" column as well. Obviously this is an InScribe only feature as i.Scribe only has one account.

    Translators can now setup default charsets for the receiving options 'assume 8 bit charset' and 'assume ascii charset' by filling out the IDS_DEFAULT_CHARSET_RECEIVE string in the resource file. In other translation related news, the XML parser that I use to read/write the lr8 file changed in this release and it's made the file a little harder to edit by hand, and a little smaller to download. I suggest using LgiRes to edit translations these days.

    Also the IMAP(full) support has been fixed for some servers. The folder tree is now generated correctly regardless of the order the server provides the listing it. The IMAP support is an ongoing work, and the next release will support international folder names as well. Thanks for your patience with the implementation schedule :)

    Also the SSL support is now portable! Meaning you can take OpenSSL with you on a USB key without installing it on the host machine.

    Finally I have had a report that Scribe crashes when sending mail. I would really like to track that bug down so if your having that problem then please contact me so we can get it sorted out as soon as possible. Thanks.
    (0) Comments | Add Comment