Advertisement

Results for "Author: riaan aspeling"

7_2009-2012 #217570
Let your EXE check itself for VIRUS infection

As far as I know viruses modify the header of your complied EXE to jump to a different location to execute the virus. This means the header will change and your EXE file will (with some viruses) have the virus attached to the end of the EXE file. I've included a module you should use in your EXE file with a function it should call to check itself. The rest of the code as well as the module you have to include in your project will compile as an inoculate program to write the footer to your EXE file so the EXE file can check itself. (THIS SOFTWARE IS NOT FOR PROGRAMMERS THAT WRITE VIRUSES ;) PS: This program will not make your program protect itself but will let the user know when it's infected.

7_2009-2012 #217571
Serial Comms with Windows API

When I started with Serial Comms and the API's I tried to find a piece of code as an example... I couldn't , so I wrote my own .. and here it is. Any suggestions to better the code will be great. This little program will open a COM port and read from it as well as write to it. Try this on any serial comm's device like a Modem, barcode scanner, Comm Printer etc.

7_2009-2012 #217572
High Resolution Timer

Did you ever what to time something up to thousands of a second. This is not possible by using time() and timers at all. This little class (only uses 3 variables) can time up to a thousands of a second with your CPU clock frequency. There's a little example program also shows the difference between using: {if VarX "" then} AND {if Len(VarX) 0 then}. The last one will execute between 20-25% faster. The timer can show this in fractions of a second.

7_2009-2012 #217573
FULL OS Version

This code illistrates how to use GetVersionEx in all OS's from Windows 95 and up. This class can detect all current OS's including Windows 95/98/ME/2000/XP and .NET (Professional / Home / Server / Enterprise / Domain Controller/ DataCenter/ Web/ Advanced) etc. It will also detect service pack's and suites installed on the machine. Addition by Ryan9999 now checks for Tablet PC 2005.

7_2009-2012 #219786
RDS Like connection on a ASP Page with a Combo Box

This is not real RDS but a simulation (Like Access's Not_In_List event). This functions gives the user the ability to 1) Add a new Value into a Database table and 2) update and select the value in the combobox WITHOUT REFRESHING the page from the server. I found this to be a life saver with large ASP pages with comboboxes on them that need to be dinamicaly filled. (You don't have to worry about the controls on the pages)

7_2009-2012 #219787
Serial Com User Control

This is an event driven VB user control to handle serial COM communications. Instead of using the default ocx you can now compile this user control with your code and you don't need to supply any extra ocx's or third party dll's to support serial comm's.

Languages
Top Categories
Global Discovery