We have a DOS (VisualBasic) program that converts PLT file exported from CorelDraw from a drawing made by a continuous single line, to a binary compacted file similar to the PLT coordinates and vectors. During the conversion, a graphic screen is presented to the operator to visualize the original CorelDraw image (now in PLT), and insert attributes in specific places where the operator clicks with mouse over the drawing line on screen.
The graphic screen also contains other commands and attributes options, that are inserted at specific places of the final binary file. Those attributes require certain buttons and pull-down menus on screen for selection. The final binary file represent the original PLT file plus such attributes.
One of the attributes is zoom, that will multiply or divide the original PLT vectors values to be saved at the binary file, simply math calculations.
The binary file is then saved somewhere in the PC (directory chosen by operator) and transferred to an external device via serial interface (COM1:) at a specific speed (9600bps). There is a simple echo from the external device for data verification.
The external device will run such file and will send back a x'0d' (new line) for every set of vector executed from the binary file received. Upon each NL char received, the PC program replots on screen the original line drawing in another color, as showing to the user the actual position of the line drawing being executed by the external device.
We have this running under Visual Basic for DOS, and need to convert it to run in Windows XP.
For that, I would like to have it done in Visual Basic for Windows, so it could be easily modified, updated or corrected.
Few extra commands and possible graphic activities may be incorporated in the new Windows program, but the basic functionality is already done for DOS, what makes the project easier.
Upon request I can supply a better description of the program internals, windows screen details, file formats, etc.