How to open images from a VB 6 DLL?

Posted on 2012-09-13
Last Modified: 2012-10-02

I need to create a code that could open an image file (jpg, png, gif, etc.) from a classic visual basic DLL, I believe that the easier way could be triggering the image manager from windows, maybe setting up the exe file that will open the image, or creating a form that could show it, what do you think?

Question by:dimensionav
    LVL 14

    Expert Comment

    Create a form with perhaps an image control so you can stretch your file as needed.

    Author Comment

    How could I make that control "auto stretch" ?

    Would you mind to give an example?
    LVL 14

    Accepted Solution

    make the STRETCH property of the image control True

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
    If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
    Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
    Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now