Search code examples
web-applicationsvbscriptbitmapbmphta

Draw graphs in VBscript


I have a HTML application, partially HTML, partially VBscript, disguised as a form. What it does is it opens a few local files, runs a DOS box containing GAWK and presents a text file as its result. I wish to expand upon it by letting it create a bitmap image with the results in a stacked bar graph, for instance as a .BMP file. But I'm stumped. I haven't the faintest idea where to start.


Solution

  • Is javascript an option? That would be a lot easier than creating an image file.

    I have used this jquery plugin http://code.google.com/p/flot/ a few times and works well.

    I have not used VBScript for a few years now, think you would probably need to use an active-x object of some kind to generate an image file, but I could be wrong there.