Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

code for inserting an image in a text box

Status
Not open for further replies.

boofayah

Technical User
Feb 13, 2005
5
0
0
CA
I'm coding inside a text box and I just can't find the code to insert a picture (located at c:\\pic.jpeg).

Any help is appreciated.
 
You have to insert an Image control in your form.
Then simply let the Picture property of this control = "C:\pic.jpeg"

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
The problem is that, I'm coding an if case here,

if case1 then
text1 and pic

else
text2 and pic

rather than an image control, is there code for inserting a picture when i'm coding my if case?

Thank you in advance for any help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top