Is there any way of installing TWebBrowser in Delphi 2010 directly without having to install the Web Development Controls?
If I select the Web Development Controls option on the Delphi 2010 setup, TWebBrowser is installed. But this "package" is over 200 MB and I only need TWebBrowser.
Any way of installing TWebBrowser directly on Delph...
How can I connect with the TWebBrowser-component in Delphi from outside an ADS-Domain to a Sharepoint-Server. I've created an user-account in my domain and will connect with this information to the server.
the following don't work:
const
USERNAME = '[email protected]';
PASSWORD = 'Password2009';
var
Url, Headers: OleVariant;...
We are using a TCppWebBrowser Component in our program as a kind of chatwindow, but since the TCppwebrowser is using the IExplorerengine all links that are clicked is opening in IExplorer.
One idea I have is to cancel the navigation in Onbeforenavigate2 an do a Shell.execute, but where hoping for a more elegant solution like a windowsmes...
Hi dudes,
I have a TWebBrowser object which is created in runtime and used in background, that is, not visible. The problem is that events like OnDocumentComplete dont work or are not triggered in Delphi2009. Any advice?
procedure TfrmMain.FormCreate(Sender: TObject);
begin
FWebBrowser:= TWebBrowser.Create(Self);
FWebBrowser.Regist...
Hi dudes,
How can I get the size (chars or Bytes) of a webpage loaded using TWebBrowser? I mean "size" as length of HTML content of a webpage loaded.
Thanks in advance.
...
I use delphi 7 and I would like to extract ONLY the text displayed in a webpage directly from a web page displayed in a TWebBrowser (no images....). Could it be done & how can I do it?
Best Regards, M
...
Hello all,
I've found many ways to make the TWebBrowser show a modeless print dialog box, but how do I make it show a modal one? I would like to print an html page, that's why I need the modal dialog.
I'd really appreciate your ideas on this one.
Thanks!
...
The background: My form has a TWebBrowser. I want to close the form with ESC but the TWebBrowser eats the keystrokes - so I decided to go with a keyboard hook.
The problem is that the Form can be open in multiple instances at the same time.
No matter what I do, in some situations, if there are two instances open of my form, closing one...
I have a TWebBrowser placed on a form with the designMode enabled.
Bellow the browser I have a close button with the Caption set to 'Clos&e'.
When I am editing the contents of a document inside the WebBrowser and I press the key E the button close is called.
It appears that it is treating TWebBrowser like other controls that don't handle...
I get selection range like this:
var
Range: IHTMLTxtRange;
begin
if Supports((Document as IHTMLDocument2).selection.createRange,
IHTMLTxtRange, Range)
end;
TWebBrowser in editing. I need get position of cursor. How I can get its?
...
Just loading html without images?
...
I have a Delphi program that creates HTML files. Later when a button is pressed a TWebBrowser is created and a WebBrowser.Navigate causes the html page to display.
Is there anyway to set the WebBrowser "default directory" so it will always be the location of the Delphi executable not the HTML file?
I do not want to set the Base value ...
does anyone know how to disable javascript error boxes on Delphi, or any other messageboxes?
...
I know in delphi you can open the default browser with:
ShellExecute(self.WindowHandle,'open','www.website.com',nil,nil, SW_SHOWNORMAL);
but I'm wanting to know if there is a way to automatically post data on the new opened brower window OR auto fill the login data (even in firefox, safari,etc)
Thanks
-Brad
...
I am using a TWebBrowser control inside a Delphi Pro 6 form (TForm) to view a YouTube video on YouTube's "leanback" interface page. I want to send arrow keys to the Flash Player that is playing the video but I can't seem to get it to work. I've tried using SendKeys but my guess is that I am unable to get the keystroke events to the Fla...
Possible Duplicate:
how to disable javascript errors on twebbrowser ?
I'm using the TWebBrowser component with Delphi 6.0 to display a YouTube web page. Sometimes I get a Script error message box from Internet Explorer, which TWebBrowser embeds, complaining that an error has occurred in a script running on the page and prompt...
I am using Delphi 2007. I can successfully Post data to a web site using WebBrowser.Navigate, but afterwards, when that site returns a PDF, while it appears on the screen of the Browser, I cannot figure out how to acquire the PDF programmatically. I can see some text and HTML using Document.Body.InnerHTML, but not the PDF. Can someone ...
I am thinking about using the TWebBrowser component that comes within Delphi's default pallet of components in a project, but I wonder if it uses the IE version installed on the client machine?
If yes:
then I guess it would share its history, cookies, workoffline and stuff like that?
Can I separate them somehow?
Is there any webbrowser ...
I have a TWebBrowser component that show a Google maps page. The problem is that when user press F5 the page refresh and page reloads. This cause javascript variables to reinitialize and get out of sync with Delphi and a scripting error dialog appear,
'undefined' is null or not an object.
I want to stop refresh from the user.
I tried ...
Hello,
I am trying to automatically submit a form, and save the resulting image that gets shown in the TWebBrowser object.
The image gets loaded over several chained javascript requests (ajax), until it finally appears in the document.
What is the best way to get this image?
I thought of hooking the receive function to be able to see t...