Results 1 to 40 of 45

Thread: [vb6] Enhancing VB's StdPicture Object to Support GDI+

Threaded View

  1. #4

    Thread Starter
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: [vb6] Enhancing VB's StdPicture Object to Support GDI+

    Quote Originally Posted by xxdoc123 View Post
    can not load gif or png and tiff in xp sp3...
    Sounds like GDI+ is not loading. Could you verify that? The class has a GDIplusVersion property and if it returns zero, that would certainly explain things. But GDI+ is also used to load everything but ico/cur/bmp and you didn't mention any issues with JPG (the scaling sample in the zips). Also, there is a class-level variable m_Debug. Set that to true and maybe report back what's printed to the immediate window. That might help narrow down the problem.

    I tried to ensure I didn't use any non-XP API declarations, but maybe I missed one? If interested in helping troubleshoot the problem, PM me and we can walk through it. Don't really want to use this thread for what could be lengthy back & forth while troubleshooting.

    Edited: I don't have real access to XP any longer, so my input if working together will be mostly questions and suggestions.
    Last edited by LaVolpe; Mar 20th, 2018 at 03:42 PM.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

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