How to display image path dynamically.

Posted by: harshad-d-o on 4 August 2017, 3:18 pm EST

  • Posted 4 August 2017, 3:18 pm EST

    Respected sir,



    I am using active report and facing a small issue



    allow me to explain my project in short



    Front end: Visual basic 6.0



    Back end: Microsoft Access 2003



    Report Generator: Active report v 1



    I am developing project to store employee information.

    The employee image is also need to be stored.

    I have store image path in database as a text field. The image is stored in

    .bmp format.(can change the format as per solution)

    Now i want to display the image in the active report.

    I have search a lot and tried my best to find its solution but was not

    finding any useful information related to this issue.



    I would appreciate your help. Many thnx in advance.
  • Replied 4 August 2017, 3:18 pm EST

    Hello,

    To load an image from the physical path you will need to add code as following.

    Image1.Picture = LoadPicture("Path of image\tulips.jpg")

    Regards,
    Prantik
  • Replied 4 August 2017, 3:18 pm EST

    thanks u sir. that stuff is working.

    m really gratefull to u.
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels