Load picture from file using vb.net

Dear all,

How can load picture from file using vb.net?

Comments

  • edited 8:22AM

    Hi irvinehing
    I think you should try it this way :
    Set frx = CreateObject("FastReport.TfrxReport")
    frx.EngineOptions.SilentMode = simMessageBoxes
    frx.LoadReportFromFile ("Report.fr3")
    Set pic1 = frx.FindObject("Picture1")
    pic1.Picture = Picture1.Picture.Handle
    Set pic1 = Nothing

Leave a Comment