Saturday, October 11, 2008

Command prompt or DOS program Using VB6.0

As an embedded programmer we are in need of accessing the devices through application software’s for a level of automation. But still in lot of small companies are using the ERP related software written in FoxPro, Clipper, Dbase, etc.., these are all working in DOS only.

Getting Data from a device from visual basic software is easy.
But the intermediate software in VB6.0 is very easy to accessing the hardware’s. Anyhow we can’t run in DOS mode,

If you run the .EXE file made in VB it will come back to windows again.

Here is very very simple and better idea: Set – Visible = False for all the forms in your software.

This will helps you. If you want further more just feel free to contact me through your valuable comments.

Embedded Devices Security

To secure the devices embed with the application software’s which can works with desktop or laptop computers. This concept was come from the feedback of the manufacturers that, the software’s are pirated from onsite devices and they are try to manufacture the device.



Idea:
All the micro controllers have built in EEPROM’s , so we can easily store the encrypted serial number of the device which is tested ok.
How can we store the serial number every time while we are using the unique hex files? We can finish this by a special application software which should communicate with the controller, it should incorporate the below steps
1. Software must be the kind Quality and test report generator.
2. First the software should have the ability to program the serial number of the device.
3. After finishing the testing of a device, the report should be update in a database.
4. The serial number should be unique (the database should have to increment automatically when we finished testing.
5. Should be like a test and inventory control database software.