joohang,
initially, what i wanted was to write a C++ program that was stored locally on the user's machine. from a webpage, the user would be able to select what line items he/she wanted to be printed on a label printer, and the file with the information would be stored as a text file. then, the C++ program would read in this text file and print as many labels as was specified by the text file.
what i wanted was a way for a webpage to call this program that was stored on the user's machine. i had no clue on how to do that. but it dawned on me that if i kept the program on my webserver and i stored the file in a fixed location so that the program would always know where to read it, i wouldn't have to worry about deploying the program or installing it or worrying about user error.
so, what i'm doing now is having the user submit to my webpage what labels he wants to print. the program then uses FSO to create a file on the webserver. the page then redirects to itself passing a flag that when read by the program will show a link to my executable (like you said). then when clicked, the user gets the option of running it or saving it. we will tell him to run it. then they can hit print on the form there and the program reads in the file the user just created and the user's label printer prints out the labels.
it should work. i haven't finished everything yet, but i don't see how it can't work. i hope that cleared everything up.