HtmlEditor :  Phorum 5 The fastest message board... ever.

This is the discussion forum for the HtmlEditor. See also the HtmlEditor home page, where you can download the control, and the Documentation Wiki, a collaborative project for documenting the control.

Goto Thread: PreviousNext
Goto: Forum ListMessage ListNew TopicSearchLog In
Posted by: Chris Crowe (
Date: Friday, 17-Jan-2003, 19:24:02

First off like everyone else I love this control - thanks for your hard work.

Is there a way to implement or use baseUrl?

I had originally used a control similar in Delphi and baseUrl was there and I think did it work properly.

Looking at the delphi source it shows

// Interface: IHTMLDocument3
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {3050F485-98B5-11CF-BB82-00AA00BDCE0B}

This has support for these two functions:

procedure Set_baseUrl(const p: WideString); safecall;
function Get_baseUrl: WideString; safecall;

I really do not understand all this interface stuff so I do not know how you have implemented it.

Do you use this Interface?

Chris Crowe

Re: BaseURL
Posted by: Tim Anderson (
Date: Saturday, 18-Jan-2003, 21:58:10

Well here's how it would work if it worked...

//set base url


mshtml.IHTMLDocument3 idoc3 = (mshtml.IHTMLDocument3) this.htmlEditor1.Document;

if (idoc3 != null)
Console.WriteLine ("The base url was: " + idoc3.baseUrl);
idoc3.baseUrl = "";
Console.WriteLine ("The base url is: " + idoc3.baseUrl);


catch (Exception exc)

However, it comes up "Not implemented". This is not a problem with the control, it is reported as "not currently supported" in the mshtml docs as well.


Your Name: 
Your Email: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically.
This is a moderated forum. Your message will remain hidden until it has been approved by a moderator or administrator
This forum powered by Phorum.