Archive for the ‘Programming languages’ Category

AJAX Control Toolkit – bug!

Tuesday, February 15th, 2011

For reasons best not gone into (or at least, not if I want my readers to stay awake), I’ve been working a lot with Microsoft’s AJAX Control Toolkit for .Net recently. If you’re unfamiliar with the ACT, it’s basically a bunch of additional web controls for .Net that do calendars, modal popups… general sorts of nice stuff.

And then suddenly on one page, I noticed a problem.

I had a hidden field, which I was using to store the value I needed when the confirmation came back yes. Let’s say (for the sake of argument) that it was either “badgers” or “cheese“.

Well, it worked the first time it ran.

And then the second time, I picked “cheese” instead of “badgers” and I got back this:


Not. Happy.

After what felt like an aeon debugging the code, but was really only the time it takes between “Worthless Misery” and “Angel Of Agony“, I decided to debug the code.

Guess what? Turned out to be a bug in the ACT. PopupExtender controls don’t like being inside UpdatePanel controls. Who’da thunk it? What’s really amazing is that over the last 7 weeks, this is only the first time this issue has arisen.

Moral of the story, kids: keep your references up to date, and remember – it’s not always your code that’s at fault!

Convert Access 2007 forms to 97

Saturday, February 5th, 2011

You might be surprised by this, but you can still back convert Access 2007 forms, reports and modules to Access 97! (Why is another matter, of course, but let’s presume that you need to…)

OK, first of all, you need to export them to text, which is explained here in far more detail than I care to explain it.

So now, when you fire up Access 97, and try and convert them by running this line:

Application.LoadFromText acForm, "YourFormName", \

It fails, right? Well, you can easily change that by editing the text file itself… (more…)

Small Basic

Saturday, April 18th, 2009

Microsoft’s Small Basic, currently at version 0.4, looks interesting. As well as being a very small variant of Basic (14 keywords), it sounds like a nice easy way for the beginner-to-average (not to mention less than occasional) programmer to knock together some .Net applications. I might have a look myself and get back to you on it…

Free programming e-books

Wednesday, March 4th, 2009

For reasons that best need remain unsaid (oh all right then – I’ve forgotten) I was looking for some books on C++ (OK OK, I’ve lost my copy of Stroustrup – happy?).

Anyway, while browsing I came across Bruce Eckel’s interesting set of eBooks. Thinking in C+, Thinking in Java… all nicely rendered (with syntax highlighting) in HTML. So far so good – readable, clear on the history of C++ and so far looking rather nice. And free as well… what’s not to like? (I’m giving thought to buying the dead tree editions…)

Orca » Parallelism made easy

Tuesday, August 5th, 2008

Orca, the programming language almost synonymous with the operating system Amoeba (other than Python, which also started on Amoeba), is designed for use on distributed systems. This essentially means that several computers come together – similar to Seti@Home – to create a single, giant supercomputer.