No offense - unless you have a really good math background, learning to program by taking on that project is probably a very difficult assignment. Even with good math skills it will take you a long time to write something like that.
MFC= microsoft foundation classes which is part of VC++ v6.0. So the .exe is from C++ source.
From your first post, I thought you knew VB.
You best bet is to find code off the internet that does what most of what you need to do.
Do you know what the architecture and protocol of the card interface is - serial/parallel/usb/ethernet/prorietary?
Let's assume serial for an example -
goto a site like codeguru.com, planetsourcecode.com (these work for most protocols)
1. search for C++ code that accepts a data stream from a serial device, for serial it is a COM port. For ethernet it will be using a specific TCP/IP port number. Maybe you can use the last guy's C++ code - I dunno. Did he comment his code? Can you figure out what each function does?
2. go to the vendor's site (or look through their manual) and figure out what is going on with the input datastream. See if you can hack the code you got into playing with the input stream. It will specify things like 8bit parity, or which TCP/IP port to listen to.
And IMO, MFC obfuscates things a lot for a beginner. Is there no advanced programmer around you can get one-to-one help from?