This was a pain in the butt. Like everyone else I tried registering things, unregistering things, deleting “MBSchema.bin.00000000h” and resetting permissions. None of that worked, or at least none of the entries people talked about. But maybe my problem was from running IIS on a 64-bit machine under 32-bit mode….
Embedding partial fonts in Adobe Flash CS3 for use in ActionScript 3 (AS3)
Long post title but its to help me remember it once and for all. I’ve lost too much time to font embedding in AS3 only to find that I’ve tested it on a machines with the fonts installed and the embedding isn’t actually working. I’m not going to go into…
Zero-Width HTML Space
Let’s say you have the text “Life insurance/Dependent Life” and you want to fit it into a small space with a small font. If you try it normally, most browsers might break the text so that it looks like: Life insurance/Dependent Life One solution is to just replace the forward…
Creating a simple multi-threaded VB.Net application
I write lots of desktop tools that help me do my job more efficiently. For instance, I’m normalizing a 98 million row live table and do to the nature of the server, table locks, etc, I’ve decided to pull the data down in batches using a VB.Net app, analyze it…
Fixing “query processor ran out of stack space”
I’ve been normalizing a table with 98 million rows for a couple of days now and with a recent change I’ve been able to run my batches in groups of 100,000 instead of just 10,000. The program doing the normalization pulls down 100,000 records at a time, analyzes and groups…
Make sure your SQL queries are using the proper index
I’ve got a live table with 98 million rows that I’m normalizing. Unforuntately all full batch updates tend to lock the system for a very long so I wrote a VB.Net program to perform updates in smaller batches. The program pulls 10,000 records that haven’t been updated by using the…
RegEx for parsing FTP LIST command
Need to parse the FTP LIST command output? I did. Here’s what I came up with, its based on another post that didn’t quite work for me. The code below works specifically on the FilZilla FTP Server which I was targetting. ^(?<dir>[-ld])(?<permission>([-r][-w][-xs]){3})s+(?<filecode>d+)s+(?<owner>w+)s+(?<group>w+)s+(?<size>d+)s+(?<timestamp>((?<month>w{3})s+(?<day>d{2})s+(?<hour>d{1,2}):(?<minute>d{2}))|((?<month>w{3})s+(?<day>d{2})s+(?<year>d{4})))s+(?<name>.+)$
Email Marketing Click-Through-Rate (CTR)
Apparently instead of comparing the number of unique people that clicked an email campaign to the number of email that didn’t bounce (sometime called the number delivered) people are now comparing them to the number of opens. So in the past we did: unique clicks ÷ (sent – bounced) =…
ASP.Net PNG and the dreaded “a generic error occurred in gdi+”
If you ever make a PNG on the fly using ASP.Net and try to write it directly to the Response.OutputStream you’ll get the exception “a generic error occurred in gdi+“. If you change the output type to JPG or GIF it runs just fine, just PNG breaks. Now usually .Net…
True ASP.Net (and IIS) 404 errors
UPDATE: I should found out that in ASP.Net 3.5 the <customErrors> section in web.config now supports the attribute redirectMode which default to ResponseRedirect but can be changed to ResponseRewrite. This will force the proper HTTP status codes to come through for errors. So I launched a new site porting it…