Chasing the perfect User Interface
Hence, I am taking a break from my random stray thoughts for a change and writing this memo/mini-manifesto to myself to remind myself of things I (and my team) need to keep in mind while doing what we do. We spend countless hours designing application logic, we spend months debugging rules and flows, we put […]
Avoiding flicker in winforms
Winforms applications flicker quite a bit when you have TableLayoutPanels, Panels, etc especially when the forms/controls are resized and/or have background images. The cause for the the flicker is simple – excessive repainting, both at design-time as well as the runtime. The solution – double-buffering; when repainting the graphics on a control, .net uses a […]
Analyzing the viagra spam
Ok, its sunday and I am pissed to see three more “october 75% off” viagra emails on my corporate account, so i decided to do a little more research on these.These emails are definitely from a botnet of spam zombies, i traced all three originating ip addresses – they are from Chile, Turkey and South […]
Raw printing to a network printer
For the last two days, I have been trying to find a way to send raw commands through C# to a label printer shared from a remote location. Now, if I was printing ‘Lord of the Rings’ on an A4 on this printer, I wouldn’t really mention it here, would I? My printer is a […]
Open popups from the server-side (Ajax and Non-Ajax)
I always wanted to open a popup in an asp .net page from the server side code, without having do a bunch of javascript hacks. This is very important in many situations; for example, you have a page where a user fills in a bunch of data and hits submit, you want to validate all […]
Autocomplete DropDownList
I haven’t used any of the asp .net controls directly in a while and was trying to make my dropdown lists show a typeahead or autosuggest…..you might think there is already an attribute which controls it and MS has already provided the functionality. However, dont forget that the DropDownList in not the same as the […]
Chat-botting yahoo messenger
After passing up on the idea of writing scripts to message my friends on yahoo messenger many times, i finally decided to research if there’s a quick and dirty way. As always, to do some off-beat thing like this, my order of action is….. search on sourceforge is some wise guy has already done it […]