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 […]
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 […]
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 […]