943,697 Members | Top Members by Rank

Ad:
Mar 23rd, 2009
0

image control from form to data report's image control

Expand Post »
good day everyone! is there any idea on how to set the picture property of the Data Report's Image Control based on the Form's Image Control?

this code doesn't work:

'Me.Sections("Section2").Controls("imgEmployee").Picture = frmMain.imgPic.Picture


Thank you very much for responses.
Similar Threads
Reputation Points: 15
Solved Threads: 4
Junior Poster in Training
arvin2006 is offline Offline
69 posts
since Sep 2006
Mar 23rd, 2009
0

Re: image control from form to data report's image control

try with "Set"

Set Me.Sections("Section2").Controls("imgEmployee").Picture = frmMain.imgPic.Picture
Reputation Points: 11
Solved Threads: 6
Light Poster
koolsid is offline Offline
35 posts
since Feb 2005
Mar 23rd, 2009
0

Re: image control from form to data report's image control

thank you.. it worked!
God bless (",)..
Reputation Points: 15
Solved Threads: 4
Junior Poster in Training
arvin2006 is offline Offline
69 posts
since Sep 2006
Mar 23rd, 2009
0

Re: image control from form to data report's image control

Click to Expand / Collapse  Quote originally posted by arvin2006 ...
thank you.. it worked!
God bless (",)..
You are welcome
Reputation Points: 11
Solved Threads: 6
Light Poster
koolsid is offline Offline
35 posts
since Feb 2005
Mar 11th, 2010
0
Re: image control from form to data report's image control
how to display each student details with photo in vb6 data report
Reputation Points: 10
Solved Threads: 0
Newbie Poster
shenba.akila is offline Offline
1 posts
since Mar 2010

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: receipt code
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: vb6 app in terminal services remote desktop





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC