Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
Dim bmp As System.Drawing.Image

With mReport.ReportDefinition.ReportObjects
'this is working alright
    Dim name As CrystalDecisions.CrystalReports.Engine.TextObject
    name = .Item("Text17")
    name.Text = "AAAAAAAA"
'this is not working
    bmp = System.Drawing.Image.FromFile(My.Application.Info.DirectoryPath & &\Photo\" & .Item("Field3") & " .jpg")
    Dim picture As CrystalDecisions.CrystalReports.Engine.PictureObject
    picture = .Item("Picture3")
    picture = bmp
End With

Please am i doing something wrong?
Posted
Updated 26-Sep-12 3:25am
v2
Comments
Malli_S 26-Sep-12 9:25am    
What error you are getting?
wizy@2020 26-Sep-12 10:04am    
picture.? = .Item("Picture3") 'there is property of "picture" to use for the image

1 solution

I LASO HAVE THE SAME PROBLEME ?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900