Windows Develop Bookmark and Share   
 index > Windows Forms Designer > How to use pics in Controls
 

How to use pics in Controls

How can I use some pics in a User control hosted in html?
Embeding doesnt work because of security while I retrive the images from assembly

Crirus
MigrationUser 1  Monday, February 03, 2003 11:22 AM
Can you tell show me the code you're using to retrieve the resource in your assembly?  This should work. 

You can also make same server net requests with the default internet permission set, so you could load the image via http as long as it is on the same server as the control.

 - mike
MigrationUser 1  Monday, February 03, 2003 11:49 AM
One of the things that would trip up security is if the picture you're trying to load is in a different domain. If that's true, try moving the picture you're trying to load to a sub folder in your current domain and give it another try. Good luck!
MigrationUser 1  Saturday, August 30, 2003 11:04 PM

You can use google to search for other answers

Custom Search

More Threads

• To hide Default Windows Form properties in PropertyGrid
• How do collection items notify a change to control.
• Hiding inherited members
• BackgroundImage Property (Forms) won't work!
• DesignSurface Control Selection problems
• Add new method (add code to the class being designed)
• User Experience Challenges
• Resizing of Rows and Columns
• Virtual ListView Control: iImage, iSubItem
• DataGrid and DataGridView issue?