CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2002
    Posts
    2

    html file (web page) save as bmp file

    Hi

    I have a web page (html) dynamic created and i'd like the user to save this page as bmp file pressing on a 'Save as' button (the bmp file is needed in an other program).
    Is this possible using VB script or Java script?

    Can anyone provide the code that will do this, please.
    Many thanks
    Denisa

  2. #2
    Join Date
    Jul 2002
    Location
    Don't Know, Don't Care
    Posts
    346
    those two languages don't have the power to do that, you can either tell them to take a screen shot, or write a C++ or Java or VB program that knows how to change an html into a bmp, you're pretty much on your own here.....unless you can find on the net someone who's already created the program, then you can just use it.

    C G C F A D--Feel the Noise

    "When your life goes nowhere and leads back to me, doesn't that tell you something?"
    ~Gray Area Fury

  3. #3
    Join Date
    Oct 2002
    Posts
    2
    i tried to use for this an image box, but i don't know its ProgID (do you know it?). Do you know an activx that can create a bitmap or that can draw?
    Thanks

  4. #4
    Join Date
    Jul 2002
    Location
    Don't Know, Don't Care
    Posts
    346
    try searching online for it... i bet msdn will have it. they might even have a peice of code already made that does what you want. You can also do a google search for it. Unless you want to write it from scratch, in which case just check out msdn, you could probably figure out how to do it by cruising their site for 15 minutes or so.

    C G C F A D--Feel the Noise

    "When your life goes nowhere and leads back to me, doesn't that tell you something?"
    ~Gray Area Fury

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured