| Author: shubie 08 Jun 2004 | Member Level: Bronze Points : 0 |
thanks very much for sharing it with us. just wondering is there a way I can embed image file in my composite control. for example I have created a custom server control in vb.net and need to show a image if the control is readonly, at the moment I can do it but I cant embed them in the assembly. by going through your code I can use it in picture box but how do I assign it to a imagebutton.imageurl property. any advice would be most appreciative. thanks again for your time
|
| Author: ManojRajan 08 Jun 2004 | Member Level: Gold Points : 0 |
You can store the Image in the assembly and because you read it using a sreamreader, you must assign the value to some picture box control. if you want to use the image in an image button control, the first thing you need is to save the bitmapimage in some file and give the path of this file in the imageurl.
|
| Author: shubie 08 Jun 2004 | Member Level: Bronze Points : 0 |
Thank you for the prompt reply.but this will make me attach the file as well. I just need to import the dll without any files. I have read it somewhere theat whidbey will have this functionality. agaian thank you for your time and effort.
|
| Author: jeremy 26 Jul 2004 | Member Level: Bronze Points : 0 |
Can this be done with an MS Access .mdb file that the application uses (read/write)?
I'm trying to imagine exactly how that wouold work in this context. Can't see it clearly in my mind.
Any thoughts would be greatly appreciated.
- Jeremy
|