Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
GeneralRe: How do I pass images to and from the WebBrowser control??? Pin
Luc Pattyn27-Oct-09 10:33
sitebuilderLuc Pattyn27-Oct-09 10:33 
GeneralRe: How do I pass images to and from the WebBrowser control??? Pin
Henry Minute27-Oct-09 10:38
Henry Minute27-Oct-09 10:38 
GeneralRe: How do I pass images to and from the WebBrowser control??? Pin
0x3c027-Oct-09 11:00
0x3c027-Oct-09 11:00 
GeneralRe: How do I pass images to and from the WebBrowser control??? Pin
Not Active27-Oct-09 11:06
mentorNot Active27-Oct-09 11:06 
GeneralRe: How do I pass images to and from the WebBrowser control??? Pin
Henry Minute27-Oct-09 11:19
Henry Minute27-Oct-09 11:19 
AnswerRe: How do I pass images to and from the WebBrowser control??? Pin
Abhishek Sur27-Oct-09 10:23
professionalAbhishek Sur27-Oct-09 10:23 
GeneralRe: How do I pass images to and from the WebBrowser control??? Pin
DelphiCoder27-Oct-09 10:52
DelphiCoder27-Oct-09 10:52 
GeneralRe: How do I pass images to and from the WebBrowser control??? Pin
Abhishek Sur27-Oct-09 11:00
professionalAbhishek Sur27-Oct-09 11:00 
If you are using .NET web browser control, you might use base64 string for the image. say you have an image, you convert it to base64 and embed it directly in the web browser document.

See the example :
<img
src="data:image/gif;base64,R0lGODlhUAAPAKIAAAsLav///88PD9WqsYmApmZmZtZfYmdakyH5BAQUAP8ALAAAAABQAA8AAAPb
WLrc/jDKSVe4OOvNu/9gqARDSRBHegyGMahqO4R0bQcjIQ8E4BMCQc930JluyGRmdAAcdiigMLVr
ApTYWy5FKM1IQe+Mp+L4rphz+qIOBAUYeCY4p2tGrJZeH9y79mZsawFoaIRxF3JyiYxuHiMGb5KT
kpFvZj4ZbYeCiXaOiKBwnxh4fnt9e3ktgZyHhrChinONs3cFAShFF2JhvCZlG5uchYNun5eedRxM
AF15XEFRXgZWWdciuM8GCmdSQ84lLQfY5R14wDB5Lyon4ubwS7jx9NcV9/j5+g4JADs=
" alt="British Blog Directory" width="80" height="15" />


Just read the image from your desktop application to memorystream, convert it to base64 and feed into the img control inside the web browser document.. . Smile | :)

Hope this is what you are looking for... Rose | [Rose]

Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Microsoft Bing MAP using Javascript
CLR objects in SQL Server 2005
Uncommon C# Keywords
/xml>

GeneralRe: How do I pass images to and from the WebBrowser control??? Pin
DelphiCoder27-Oct-09 13:59
DelphiCoder27-Oct-09 13:59 
GeneralRe: How do I pass images to and from the WebBrowser control??? Pin
Abhishek Sur27-Oct-09 22:43
professionalAbhishek Sur27-Oct-09 22:43 
QuestionButtons in screenpreview (Win7) Pin
_Madmatt27-Oct-09 9:48
_Madmatt27-Oct-09 9:48 
AnswerRe: Buttons in screenpreview (Win7) Pin
Dave Kreskowiak27-Oct-09 10:52
mveDave Kreskowiak27-Oct-09 10:52 
GeneralRe: Buttons in screenpreview (Win7) Pin
_Madmatt28-Oct-09 9:37
_Madmatt28-Oct-09 9:37 
QuestionDetecting Accessiblity Settings Pin
Sir Dot Net27-Oct-09 9:10
Sir Dot Net27-Oct-09 9:10 
QuestionPrinting in C# using built in printer fonts [modified] Pin
Jörgen Sigvardsson27-Oct-09 8:51
Jörgen Sigvardsson27-Oct-09 8:51 
AnswerRe: Printing in C# using built in printer fonts Pin
Luc Pattyn27-Oct-09 9:22
sitebuilderLuc Pattyn27-Oct-09 9:22 
GeneralRe: Printing in C# using built in printer fonts Pin
Jörgen Sigvardsson27-Oct-09 9:28
Jörgen Sigvardsson27-Oct-09 9:28 
AnswerRe: Printing in C# using built in printer fonts Pin
Sir Dot Net27-Oct-09 9:40
Sir Dot Net27-Oct-09 9:40 
GeneralRe: Printing in C# using built in printer fonts Pin
Jörgen Sigvardsson27-Oct-09 9:42
Jörgen Sigvardsson27-Oct-09 9:42 
GeneralRe: Printing in C# using built in printer fonts Pin
Luc Pattyn27-Oct-09 9:56
sitebuilderLuc Pattyn27-Oct-09 9:56 
GeneralRe: Printing in C# using built in printer fonts Pin
Jörgen Sigvardsson27-Oct-09 10:02
Jörgen Sigvardsson27-Oct-09 10:02 
GeneralRe: Printing in C# using built in printer fonts Pin
Luc Pattyn27-Oct-09 10:18
sitebuilderLuc Pattyn27-Oct-09 10:18 
GeneralRe: Printing in C# using built in printer fonts Pin
Jörgen Sigvardsson27-Oct-09 10:21
Jörgen Sigvardsson27-Oct-09 10:21 
QuestionHow to call a .dll written in unmanaged C++ from C# and pass structs to and from? [Solved] Pin
CircuitDoc27-Oct-09 8:05
CircuitDoc27-Oct-09 8:05 
AnswerRe: How to call a .dll written in unmanaged C++ from C# and pass structs to and from? Pin
Luc Pattyn27-Oct-09 8:28
sitebuilderLuc Pattyn27-Oct-09 8:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.