Thushan Fernando

Senior Developer working at Readify on cool new technology and platforms.
Latest articles
-
Registering COM Component Programmatically
by Thushan FernandoEver wanted to register a COM Component programatically but didnt quite like shelling to regsvr32.exe? This snippet is your new best friend, it will allow you to register and unregister any COM component:D
-
wExceptionHandler Handles your Exception Errors!
by Thushan FernandoThis is an ExceptionHandler, what is an Exceptionhandler? Once the wExceptionHandler is installed it will allow you to catch and trap those errors that Windows will throw at your application (Eg. Access_Violation) Which doesnt get treated by the Visual Basic Error handler, making your application bullet proof!
-
AutoDial with WinInet API
by Thushan FernandoThis is an addition to my collection of the Windows Inet DLL functions. Shows how to Auto-Dial without the user having to insert usernames and passwords. All Automated!
-
Getting System Folders Easily via API
by Thushan FernandoInstead of using static paths like 'C:\WinNT\' in your programs and making it not work on Windows 9x OS's, use the power of the Win32 API to retrieve the important system paths! This article explores a few alternative methods of retrieving some of the core System folders in the win32 enviroment.
-
Loading Fonts into Comboboxes via API
by Thushan FernandoThe faster and optimized version of loading fonts into your Comboboxes... forget Screen.FontCount and Printer.FontCount, use this API function and you will notice not only its fast as hell(about 98% faster) but its more efficient too!
-
Controlling Dial Up Networking using the WinInet API
by Thushan FernandoThis article explains the basics of controling your DUN([D]ial [U]p [N]etworking) via the WinInet API Function. It covers determining if there is an active connection, connecting and disconnecting from the internet.
-
Check for 'ActiveConnection' via WinInet
by Thushan FernandoLast submission I showed you how to connect to your EU's ISP or DUN, now this bit of code will show you how to detect an active connection using the WinInet API.
-
Connect to your ISP using WinInet API
by Thushan FernandoThis piece of code will allow you to let the EU[End User] connect to their ISP within your application and return a Boolean value to say if its connected or not....