[RESOLVED] How to add PNG file to vb6
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Thread: [RESOLVED] How to add PNG file to vb6

  1. #1
    Join Date
    Oct 2012
    Posts
    59

    [RESOLVED] How to add PNG file to vb6

    I need to add png picture file to vb6. I know that i must use GDI+ but i dont know howto run it gdi+ in vb6. I try to search answer in internet, but im not found.
    If you can i need tutorial about:
    1.how install gdi+ and where it must be installed on win7.
    2.How to run it gdi+ in vb6 and how use gdi+, for excample add png file.

  2. #2
    Join Date
    Jul 2005
    Posts
    1,075

    Re: How to add PNG file to vb6

    Here's an example about how to load png files to picturebox
    http://www.planet-source-code.com/vb...67466&lngWId=1
    JG


    ... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...

  3. #3
    Join Date
    Oct 2012
    Posts
    59

    Re: How to add PNG file to vb6

    Quote Originally Posted by jggtz View Post
    Here's an example about how to load png files to picturebox
    http://www.planet-source-code.com/vb...67466&lngWId=1
    I do not know how to use this program. I only manage copy picture, but witch code use , ?

    Name:  Untitled.jpg
Views: 3747
Size:  57.5 KB

  4. #4
    Join Date
    Jul 2005
    Posts
    1,075

    Re: [RESOLVED] How to add PNG file to vb6

    It's neccesary to give it a little time to study the code and see which is the relevant code to load png files to picture boxes... give me 2 or 3 days to do it and try to help you... right now i'm very busy with some projects
    JG


    ... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...

  5. #5
    Join Date
    Oct 2012
    Posts
    59

    Re: [RESOLVED] How to add PNG file to vb6

    i did research i found interesting thing about how to load png files in vb6. But i need your opinion and i dont know how use this tool. Code simple but it not work for me because i need add common dialog and i dont know how. I tried add common dialog using OLE tool, but it not found any common dialog.

    Name:  1.jpg
Views: 3813
Size:  70.6 KB
    Name:  2.jpg
Views: 3724
Size:  89.1 KB
    Name:  3.jpg
Views: 3727
Size:  61.5 KB

    So can i somehow use this code and copy to my project and then add png. picture?
    I need png picture as my backround, not to open when program run. For now this program just open png files.
    Last edited by Halosar7; October 8th, 2012 at 05:49 PM.

  6. #6
    Join Date
    Jul 2005
    Posts
    1,075

    Re: [RESOLVED] How to add PNG file to vb6

    Post the link to download the tool
    JG


    ... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...

  7. #7
    Join Date
    Oct 2012
    Posts
    59

    Re: [RESOLVED] How to add PNG file to vb6

    Quote Originally Posted by jggtz View Post
    Post the link to download the tool
    http://www.planet-source-code.com/vb...56537&lngWId=1

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center