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

C#

 
GeneralMessageBox & Interesting User Requests Pin
MrEyes29-Jul-03 4:18
MrEyes29-Jul-03 4:18 
GeneralRe: MessageBox & Interesting User Requests Pin
Ista30-Jul-03 4:24
Ista30-Jul-03 4:24 
GeneralRe: MessageBox & Interesting User Requests Pin
MrEyes30-Jul-03 4:55
MrEyes30-Jul-03 4:55 
GeneralRe: MessageBox & Interesting User Requests Pin
Ista30-Jul-03 8:27
Ista30-Jul-03 8:27 
GeneralRe: MessageBox & Interesting User Requests Pin
Ista30-Jul-03 8:28
Ista30-Jul-03 8:28 
GeneralMS Outlook MailItem attachments problem Pin
..Hubert..29-Jul-03 2:50
..Hubert..29-Jul-03 2:50 
GeneralEnterprise security for remoting,etc... Pin
SimonS29-Jul-03 2:19
SimonS29-Jul-03 2:19 
GeneralMicrosoft Web Browser problem Pin
Meysam Mahfouzi29-Jul-03 2:16
Meysam Mahfouzi29-Jul-03 2:16 
Hello friends
I have some problem dynamically showing HTML pages that have tags. Say I have a string like this :

strHTML = "<html><body><h1> Test </h1></body></html>"

I can easily load this string in my Microsoft Web Browser control as below :

IHTMLDocument2 doc = (IHTMLDocument2)MyBrowser.Document;
doc.body.InnerHTML = strHTML;

But, what if I would have some tags in my document ?

strHTML = "<html><body><h1> Test </h1><img src="Images/someImage.jpg"></body></html>"


In this case, I have created Images folder in the same folder as my *.exe file exists. But the image is not shown as I expect! note that the path of src attribute is relative, so I don't understand really what's the problem!

please help!



Don't forget, that's
Persian Gulf
not Arabian gulf!
GeneralC# and Glyph Pin
adamwelchuk29-Jul-03 0:44
adamwelchuk29-Jul-03 0:44 
AnswerRe: C# and Glyph Pin
Abel Braaksma9-Oct-09 0:56
Abel Braaksma9-Oct-09 0:56 
GeneralDatagrid / Datarow Pin
MrEyes28-Jul-03 23:04
MrEyes28-Jul-03 23:04 
GeneralRe: Datagrid / Datarow Pin
MrEyes29-Jul-03 0:16
MrEyes29-Jul-03 0:16 
GeneralListView complication Pin
aeros28-Jul-03 22:48
aeros28-Jul-03 22:48 
GeneralRe: ListView complication Pin
Ista30-Jul-03 4:25
Ista30-Jul-03 4:25 
GeneralRe: Multibyte character Pin
Julian Bucknall [MSFT]29-Jul-03 9:33
Julian Bucknall [MSFT]29-Jul-03 9:33 
GeneralRe: Multibyte character Pin
Nick Parker29-Jul-03 17:33
protectorNick Parker29-Jul-03 17:33 
QuestionHow to compile to native app? Pin
EastDragon28-Jul-03 21:27
EastDragon28-Jul-03 21:27 
AnswerRe: How to compile to native app? Pin
Alexander Kojevnikov28-Jul-03 23:10
Alexander Kojevnikov28-Jul-03 23:10 
QuestionWhy C# app build by vs.net 2003 can resize itself? Pin
EastDragon28-Jul-03 21:04
EastDragon28-Jul-03 21:04 
QuestionWhy C# Builder build program faster and smaller than vs.net? Pin
EastDragon28-Jul-03 20:20
EastDragon28-Jul-03 20:20 
AnswerRe: Why C# Builder build program faster and smaller than vs.net? Pin
[sharp]28-Jul-03 22:01
[sharp]28-Jul-03 22:01 
GeneralRe: Why C# Builder build program faster and smaller than vs.net? Pin
EastDragon28-Jul-03 23:07
EastDragon28-Jul-03 23:07 
GeneralRe: Why C# Builder build program faster and smaller than vs.net? Pin
Julian Bucknall [MSFT]29-Jul-03 9:08
Julian Bucknall [MSFT]29-Jul-03 9:08 
GeneralRe: Why C# Builder build program faster and smaller than vs.net? Pin
Kevin McFarlane29-Jul-03 6:54
Kevin McFarlane29-Jul-03 6:54 
AnswerRe: Why C# Builder build program faster and smaller than vs.net? Pin
Kevin McFarlane29-Jul-03 6:50
Kevin McFarlane29-Jul-03 6:50 

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.