Currently i have a perl script that I am developing a Visual Basic frontend for. Basically, all Visual Basic does is present forms to the user, in which data is entered, then writes that to file... PERL waits for the VB program to terminate, then reads the data from file and processes it. Simple stuff. However, I have a new need... I would like to implement a nice windows progress bar for my script and for that I am guessing that I need PERL to send some kind of message to my Visual Basic Program. I'm pretty sure that this can be done with the Win32API module.
Can somebody give me some example code of how perl might tell VB to upgrade a progress bar by a certain increment? What I thought might be possible is for perl to figure out what the increment is (out of 100), to send that information to the VB program, then to send another message every time the progress bar is to be updated by that increment. I have no idea how to do this. Any help is very much appreciated.