PDA

View Full Version : WebBrowserWindow


sside
02-10-2007, 11:36 AM
WebBrowserWindow.dll v.1.0.0.0

WebBrowserWindow is an external web browser window. You can load also different file formats like pdf, swf etc. You can also show dynamic text or html content.

You can load ms office file formats too but you get the typical window asking you if you want to download or save the document. You can modify yourself the registry settings to change that behaviour. This dll doesn't do that.

Actions:

WebBrowserWindow.GetTitle
WebBrowserWindow.GetPosition
WebBrowserWindow.GetSize
WebBrowserWindow.GetWindowState
WebBrowserWindow.GetWindowStyle
WebBrowserWindow.GetReadyState
WebBrowserWindow.GetHtmlContent
WebBrowserWindow.GetTextContent
WebBrowserWindow.GetUrl
WebBrowserWindow.GetOpacity
WebBrowserWindow.SetTitle
WebBrowserWindow.SetPosition
WebBrowserWindow.SetSize
WebBrowserWindow.SetWindowState
WebBrowserWindow.SetWindowStyle
WebBrowserWindow.SetHtmlContent
WebBrowserWindow.SetTextContent
WebBrowserWindow.SetUrl
WebBrowserWindow.SetOpacity
WebBrowserWindow.Show
WebBrowserWindow.ShowDialog
WebBrowserWindow.Hide
WebBrowserWindow.Close
WebBrowserWindow.Navigate
WebBrowserWindow.Back
WebBrowserWindow.Forward
WebBrowserWindow.Home
WebBrowserWindow.Search
WebBrowserWindow.Stop
WebBrowserWindow.Print
WebBrowserWindow.Refresh
WebBrowserWindow.PageSetupDialog
WebBrowserWindow.PrintPreviewDialog
WebBrowserWindow.PrintDialog
WebBrowserWindow.PropertiesDialog
WebBrowserWindow.SaveAsDialog
WebBrowserWindow.EnableNavigation
WebBrowserWindow.EnableDrop
WebBrowserWindow.EnableContextMenu
WebBrowserWindow.EnableScrollBars
WebBrowserWindow.EnableShortcuts
WebBrowserWindow.EnableScriptErrors
WebBrowserWindow.IsNavigationEnabled
WebBrowserWindow.IsDropEnabled
WebBrowserWindow.IsContextMenuEnabled
WebBrowserWindow.IsScrollBarsEnabled
WebBrowserWindow.IsShortcutsEnabled
WebBrowserWindow.IsScriptErrorsEnabled
WebBrowserWindow.IsBusy
WebBrowserWindow.IsOffline

Download and extract the contents (2 files) of WebBrowserWindow.v.1.0.0.0.rar (http://ams5.ssideproject.com/downloads/WebBrowserWindow.v.1.0.0.0.rar). The contents are:

_at_WebBrowserWindow.xml
template_WebBrowserWindow_Blank_Project.apt


Copy the first file (_at_WebBrowserWindow.xml) in the following location:
C:\Program Files\AutoPlay Media Studio 5.0 Professional\Data\Actions
This is in order to get the scripting actions in Action Wizard window.

Copy the second file (template_WebBrowserWindow_Blank_Project.apt) in the following location:
C:\Program Files\AutoPlay Media Studio 5.0 Professional\Templates
This is in order to get an blank project template that you can choose when you start ams.

Now start ams and you will see in New Project Options Web Browser Window Blank Project. Select that and you will get an blank project. Experiment with it, try the actions and see what it does.

How to use it:

Simple case scenario:


WebBrowserWindow.Navigate("http://somesite.com");
--WebBrowserWindow.SetUrl("http://somesite.com"); --Does the same.
WebBrowserWindow.Show();
--WebBrowserWindow.ShowDialog(); --Blocks.


or


WebBrowserWindow.Show();
--WebBrowserWindow.ShowDialog(); --Blocks.
WebBrowserWindow.Navigate("http://somesite.com");
--WebBrowserWindow.SetUrl("http://somesite.com"); --Does the same.


or


WebBrowserWindow.Navigate("http://somesite.com");
htmlContent = WebBrowserWindow.GetHtmlContent(); --Get hmtl content here without showing the window.
--WebBrowserWindow.GetTextContent --The same as html content only gets text without html tags.


Set dynamic text/html content:


WebBrowserWindow.SetHtmlContent("<center>html content...</center>");
--WebBrowserWindow.GetTextContent("some text content...");


etc, etc, etc...

.Net 2.0 required

With Kind Regards
sside

sside
02-10-2007, 12:45 PM
This one:


Set dynamic text/html content:

WebBrowserWindow.SetHtmlContent("<center>html content...</center>");
--WebBrowserWindow.GetTextContent("some text content...");



should be:


Set dynamic text/html content:

WebBrowserWindow.SetHtmlContent("<center>html content...</center>");
--WebBrowserWindow.SetTextContent("some text content...");



It is the little things that make the big one.

With Kind Regards
sside

johnraus
02-11-2007, 04:23 PM
Very cool thnx :cool

on small question
if say the webbrowserwindow opens a URL like
"http://somedomain/caseoverview"
en when I navigate on that page it opens a child window containing
"http://somedomain/casedetails?NR=123456....."

is it possible to get control of this "Child" window ??
like to get content "GetHtmlContent"

coderanger
02-11-2007, 07:26 PM
Hi SSide

Thanks for the DLL, is there any instructions? I'm kind of lost as to how to
use this.

Thanks,
Patrick

coderanger
02-11-2007, 07:32 PM
OK, I see, we have to use:

WebBrowserWindow.Show();
or
WebBrowserWindow.ShowDialog();

..which opens a browser window we can manipulate with the other
functions..

OK, I think I understand now!

Cool!
Patrick

coderanger
02-11-2007, 08:38 PM
Hi Sside,

The only thing I'd like to see added is the ability to replace that ugly
title-bar icon with something more appealing, other than that, this is
pretty cool.

Thanks again,
Patrick

sside
02-12-2007, 01:32 PM
is it possible to get control of this "Child" window ??


No. The "child" window is opened in ie (internet explorer) and WebBrowserWindow.dll can't control that.
It is not a child window as it maintains no relation with the "parent". If the "parent" is closed child is not.


like to get content "GetHtmlContent"


If you want to get html content of any page opened in ie, right now is not possible as i have not developed something to cover that. It looks interesting and i will look into it. In the meaning time, if you want to get the html content of any page "in the wild" look at my library (net.dll v.1.0.0.3, GetWebPageContent function) located here:

http://indigorose.com/forums/showthread.php?t=18725

It uses different approach than WebBrowserWindow.GetHtmlContent, and may be it does what you're after.

With Kind Regards
sside

johnraus
02-12-2007, 04:00 PM
f you want to get the html content of any page "in the wild" look at my library (net.dll v.1.0.0.3, GetWebPageContent function) located here:

http://indigorose.com/forums/showthread.php?t=18725

It uses different approach than WebBrowserWindow.GetHtmlContent, and may be it does what you're after.

sside

I've seen all DLL's you developed, even this one, but seemed to have overlooked that function and how it can be used ... :D

Thnx for sharing, and your quick reply :yes

johnraus
02-12-2007, 04:50 PM
if you want to get the html content of any page "in the wild" look at my library (net.dll v.1.0.0.3, GetWebPageContent function) located here:

http://indigorose.com/forums/showthread.php?t=18725

sside

Oops, your solution doesn suit my needs yet,

you had me going there ..... :lol

I'll explain, I'm looking for this one for last half year ... project on hold for now
I have to log in on a certain website that contains an overview of some articles (very secure encrypted, session ID's and so on ..) I can do this with AMS web object, also getting htmlsource to do some analyses, (I use javascript and clipboard) no problem at all, BUT ... lately website has changed and
when I open an article, a second page IE opens outside AMS, an I still haven't found any way to get the data (htmlsource) to work with in AMS

Thnx for your effort anyway ;)
Regards

sside
02-12-2007, 10:18 PM
Added:

WebBrowserWindow.GetIcon
WebBrowserWindow.SetIcon

Download (http://ams5.ssideproject.com/downloads/WebBrowserWindow.v.1.0.0.1.rar)

Follow the instructions just like WebBrowserWindow.v.1.0.0.0 (look at the first post).
Overwrite the old files with the new ones.

Example:

To set an icon:


WebBrowserWindow.SetIcon("myicon.ico");



To get the icon filename set previosly with WebBrowserWindow.SetIcon:


iconFileName = WebBrowserWindow.GetIcon();



If you didn't set the icon, an empty string is returned. Icon must be an icon file, not jpeg, bmp or other.


With Kind Regards
sside

sside
02-12-2007, 10:32 PM
John

I had different picture in mind of the situation.

Anyway, you must be able to navigate at the url of the external ie window that popups. Just copy the url from the external window and insert it in ams. Do the usual stuff (how you navigated in first place).

I didn't know that credentials (username+password) were involved in getting the html content. I will update net.dll these days.

With Kind Regards
sside

sside
02-12-2007, 10:42 PM
The only thing I'd like to see added is the ability to replace that ugly
title-bar icon with something more appealing, other than that, this is
pretty cool.


coderanger, i left the ugly icon in place, but i provided the possibility to set your own. If you're still not happy i will remove it in definitely the next version :D.
I'm happy that you're up and running now :yes.

With Kind Regards
sside

coderanger
02-13-2007, 06:47 AM
Thanks for the added functionality sside, I appreciate it!

:yes

Patrick

johnraus
02-13-2007, 02:25 PM
John

I had different picture in mind of the situation.

Anyway, you must be able to navigate at the url of the external ie window that popups. Just copy the url from the external window and insert it in ams. Do the usual stuff (how you navigated in first place).

I didn't know that credentials (username+password) were involved in getting the html content. I will update net.dll these days.

With Kind Regards
sside

I've tried all that, but it is harder than you think, if the second (child) window isn't isn't opened by the Parent, my session ID is invalid, it also posts lot of other data, I've tried adding my logon credentials with no success, i've tried opening to browser windows to that website, an logged in on both, wich also got detected and terminated my sessions. This is a very tricky one, but I won't give up, eventually I'll see the light and find a way :rolleyes

I appriciate all your efforts very much;)
regards johnraus

sside
02-13-2007, 04:36 PM
Added:
WebBrowserWindow.EnablePopupWindow
WebBrowserWindow.EnableLoadPopupInMainWindow
WebBrowserWindow.IsPopupWindowEnabled
WebBrowserWindow.IsLoadPopupInMainWindowEnabled

Fixed:
A few things in ams project globals. What once was DLL_CALL_STDCALL in some occasions must be DLL_CALL_CDECL or ams application could/would crash. This is mostly when parameters are numbers.


WebBrowserWindow.EnablePopupWindow
Enables disables popup windows. When you click a link that opens in a external window, it is considered popup window.


WebBrowserWindow.EnableLoadPopupInMainWindow
Enables disables the loading of popup windows into main window (WebBrowserWindow). This will force popup window to open into main window.


WebBrowserWindow.IsPopupWindowEnabled
Check if popup windows are enabled.


WebBrowserWindow.IsLoadPopupInMainWindowEnabled
Check if popup windows will load into main window.

Download (http://ams5.ssideproject.com/downloads/WebBrowserWindow.v.1.0.0.2.rar)

Follow the instructions as in v.1.0.0.0, v.1.0.0.1.

With Kind Regards
sside

sside
02-13-2007, 04:53 PM
I've tried all that, but it is harder than you think, if the second (child) window isn't isn't opened by the Parent, my session ID is invalid, it also posts lot of other data, I've tried adding my logon credentials with no success, i've tried opening to browser windows to that website, an logged in on both, wich also got detected and terminated my sessions. This is a very tricky one, but I won't give up, eventually I'll see the light and find a way :rolleyes


John

I understand. I did my own tests and you're right. When i logged in and opened an external window, i was also logged out (at popup window). But i had success with navigating (what was supposed to open in external window). Nevertheless i came up with the solution. It works in my scenario. The popup window will open into main window with no problems at all. I hope you share with me the same feeling with the new version.

With Kind Regards
sside

johnraus
02-14-2007, 03:22 PM
John

I understand. I did my own tests and you're right. When i logged in and opened an external window, i was also logged out (at popup window). But i had success with navigating (what was supposed to open in external window). Nevertheless i came up with the solution. It works in my scenario. The popup window will open into main window with no problems at all. I hope you share with me the same feeling with the new version.

With Kind Regards
sside

Yep, this is very nice :yes (I expected something like: WebBrowserWindow.PopupWindowHandle.GetHtmlContent) but this is an angle I havn't tried yet, looks promesing, I'll test it ASAP, but it will take me some time. I Hope there will be no problems navigating between index page and detail pages back and forward (because index is a heavy SQL quiry)
I'll let you know ... :cool

Regards John

@sside: Het is al 10 uur en de Kids liggen net in bed, aan de slag me AMS dus
groetjes uit belgie

sside
02-15-2007, 10:29 AM
Fixed:
In some occasions when chosen to load popups in main window (also if you invoke an external window by keeping shift pressed) will show error page as the url wasn't formed correctly. (You can see it by right clicking the page and chose properties).

Download (http://ams5.ssideproject.com/downloads/WebBrowserWindow.v.1.0.0.3.rar)

Follow the instructions as in the previous versions (look at the very first post). Except that you dont need to replace/overwrite _at_WebBrowserWindow.xml as nothing is changed here.

Note:


result = WebBrowserWindow.IsPopupWindowEnabled // Default = false
result = WebBrowserWindow.IsLoadPopupInMainWindowEnabled // Default = false

which means popups will not open in main window and they are not enabled (will not open at all).



WebBrowserWindow.EnableLoadPopupInMainWindow(true) ;


this will force popup windows to open in the main window.

Navigation is tested also with sites where login+sessionid etc are required/involved.

To navigate back and forth right click the page and choose Back or Forward from context menu (default is enabled).



With Kind Regards
sside

johnraus
02-15-2007, 03:20 PM
:D

Mmm, Yep the back button could be an option to go back, but since I would like to do some more tricks , navigate on the "catched" popup window (there is also a menu with multiple views) so after I have navigated I can't use the back button.
It would really RULE if there was a trick like:

If DoneWithStuffOnCatchedPopupInWebBrowserWindow==tru e then
WebBrowserWindow.GoBackToWebBrowserWindowStateBefo rePopupLoad
end

But While Coding a test project, I stumbled on 2 Major actions I Miss :huh

WebBrowserWindow.OnNavigate
WebBrowserWindow.OnLoaded

Thnx for all your efforts ;)
Regards John

sside
02-15-2007, 04:59 PM
John

Is het gelukt met datgene wat je wou doen? Bij mij lukt het wel. (login + sessid) en ik word er niet uitgegooid. Wat betreft het terug browsen gebruik WebBrowserWindow.Back, of Back van het context menu. Maar ik begrijp dat je niet terug kan gaan. Bij mij is dat wel gelukt. Als je niet met WebBrowserWindow.Back of Back terug wilt/kan gaan dan de andere optie is dit:

Zo doe je dat:

Voordat je begint met de "tricks" gebruik je:
beginUrl = WebBrowserWindow.GetUrl();
Nadat je klaar bent met de "tricks" gebruik je:
WebBrowserWindow.SetUrl(beignUrl);
of
WebBrowserWindow.Navigate(beignUrl);

Wat betreft:

WebBrowserWindow.OnNavigate
WebBrowserWindow.OnLoaded

dit zijn geen actions maar events. Je kan WebBrowserWindow.GetReadyState gebruiken met een timer.


readyState = WebBrowserWindow.GetReadyState();
if (readyState == "Complete") then
--doe wat je wilt doen
end


readyState kan zijn: Complete, Interactive, Loaded, Loading, Uninitialized.

Ik zal meer events toevoegen als ik meer tijd heb.

Bij somige paginas kan je de WebBrowserWindow.GetHtmlContent niet gebruiken en zo krijg je een error te zien. Intussen heb ik het aangepast en nu of als je problemen ondervindt kan je opniew de v.1.0.0.3 downloaden. Ik wou geen nieuwe versie releasen alleen voor dit probleem.

Ik hoor het wel als je problemen ondervindt.

Groeten uit Den Haag

PS. Volgende keer houden wij het in het Engels zodat anderen ook mee kunnen lezen / leren.

sside
02-16-2007, 08:07 AM
Download and extract the contents (2 files) of WebBrowserWindow.v.1.0.0.3.rar (http://ams5.ssideproject.com/downloads/WebBrowserWindow.v.1.0.0.3.rar). The contents are:


_at_WebBrowserWindow.xml
template_WebBrowserWindow_Blank_Project.apt


Copy the first file (_at_WebBrowserWindow.xml) in the following location:
C:\Program Files\AutoPlay Media Studio 5.0 Professional\Data\Actions
This is in order to get the scripting actions in Action Wizard window.

Copy the second file (template_WebBrowserWindow_Blank_Project.apt) in the following location:
C:\Program Files\AutoPlay Media Studio 5.0 Professional\Templates
This is in order to get an blank project template that you can choose when you start ams.

Now start ams and you will see in New Project Options Web Browser Window Blank Project. Select that and you will get an blank project. Experiment with it, try the actions and see what it does.

.Net 2.0 required

With Kind Regards
sside

johnraus
02-18-2007, 04:05 PM
@sside

to use to Page Timer, to get ReayState, instead of OnLoaded Event worked fine for now, but no solution for OnNavigate Event (minor problem).

for WebBrowserWindow.EnableLoadPopupInMainWindow(true) , doesnt work for me , for first blank screen at Mainwindow and starts to load Index page again (seems website can detect this ?).:eek:

And another thing I've tested, I can't use WebBrowserWindow.SetUrl(beignUrl) because this wil reload the index page (not cached) and so would force me to launch a new heavy quiry, this is one of the thing I want to avoid.

Is there no way to acces the popup window, and control it :huh

Thxs for your assistance
Regards

sside
02-19-2007, 01:04 PM
Added:
WeBrowserWindow.GetNavigationStatus()

Returns the web browser window navigation status. The navigation status can be one of the following values: Uninitialized, Navigating, Navigated, PageLoaded.

Example:


navigationStatus = WeBrowserWindow.GetNavigationStatus();
if (navigationStatus == "Navigating") then
--It is navigating...
end


Download and extract the contents (2 files) of WebBrowserWindow.v.1.0.0.4 (http://ams5.ssideproject.com/downloads/WebBrowserWindow.v.1.0.0.4.rar).. The contents are:


_at_WebBrowserWindow.xml
template_WebBrowserWindow_Blank_Project.apt


Copy the first file (_at_WebBrowserWindow.xml) in the following location:
C:\Program Files\AutoPlay Media Studio 5.0 Professional\Data\Actions
This is in order to get the scripting actions in Action Wizard window.

Copy the second file (template_WebBrowserWindow_Blank_Project.apt) in the following location:
C:\Program Files\AutoPlay Media Studio 5.0 Professional\Templates
This is in order to get an blank project template that you can choose when you start ams.


.Net 2.0 required

With Kind Regards
sside

sside
02-19-2007, 01:31 PM
1-
but no solution for OnNavigate Event (minor problem).


This is helped in the new version (WebBrowserWindow.v.1.0.0.4).



2-
for WebBrowserWindow.EnableLoadPopupInMainWindow(true) , doesnt work for me , for first blank screen at Mainwindow and starts to load Index page again (seems website can detect this ?).:eek:


Have you tried with other websites except this particular website?.
If yes, then what are the results?.
If no, then try it. Try some random webpages (any webpage). Invoke the external window by keeping the shift key pressed while clicking the link. Test it if you can also in https pages and see what happens.

WebBrowserWindow.EnableLoadPopupInMainWindow(true) never failed in any of my tests, even https.

The point is that i need an webpage example where i can see what is the problem.



3-
And another thing I've tested, I can't use WebBrowserWindow.SetUrl(beignUrl) because this wil reload the index page (not cached) and so would force me to launch a new heavy quiry, this is one of the thing I want to avoid.


This can be solved. I will look at it.



4-
Is there no way to acces the popup window, and control it :huh


Yes, there are. But i need the results of the point 2.


With Kind Regards
sside

johnraus
02-19-2007, 03:07 PM
@sside
WebBrowserWindow.EnableLoadPopupInMainWindow(true) never failed in any of my tests, even https

I'll try asap, heck I'll try on 2 Different PC's, one with IE6 and one with IE7 installed, I'll keep you posted ...:)

regards

johnraus
02-20-2007, 06:32 PM
@sside

verified and LoadPopupInMainWindow, only works with some websites
tested with IE6 and IE7 on other PC
I can't give you acces to the secured website so you can see yourselve ...
but look at my homepage h..p://hierbenik.da.ru wich will open a new window if you click on one of the buttons,
you can also check h..p://www.vanpee.be/ce and click the CSN button, wich will also open a new window, if you wan't I can look for more examples.

another issue is WebBrowserWindow.GetHtmlContent(); if you have a page with a lot of code, it gets truncated at some point, and I only get first part :huh.

I lost a little time due to the fact your DLL only returns strings, i didn't realize this at first

I hope this feedback is of some use for you.
regards and thnx for your effort :cool

sside
02-20-2007, 08:23 PM
I can't give you acces to the secured website so you can see yourselve ...


I didn't ask. That's why i said go in the wild and make some tests with random pages.:lol It didn't even cross my mind...



but look at my homepage h..p://hierbenik.da.ru wich will open a new window if you click on one of the buttons,
you can also check h..p://www.vanpee.be/ce and click the CSN button, wich will also open a new window,

And i did. You're right. If you noticed it's a button thing. I didn't take this into consideration. My search revealed that some script is executing in onClick:

onClick="window.open('http://h41240.www4.hp.com/csn/?hpp','main')"

which again it didn't even cross my mind. I will look into it.



if you wan't I can look for more examples.


Not needed, unless you notice something unusual, you let me know.



another issue is WebBrowserWindow.GetHtmlContent(); if you have a page with a lot of code, it gets truncated at some point, and I only get first part :huh.


Take frames into consideration. As a rule, WebBrowserWindow.GetHtmlContent() will bring what View Source will bring (righ click page and select View Source from context menu). But not always. View Source will show different html content for different frames, depend where you right click. WebBrowserWindow.GetHtmlContent() on the other hand returns the html content of the main frame. We may differ in opinion about the main frame, but that decision will be taken by the code at runtime. I on the other hand (programatically) have total control of the frames, and i can choose, yet i let the runtime to make it's own decision. It is difficult sometime to make an assumption. I will look into it.



I hope this feedback is of some use for you.


Yes, it is.

Some thoughts:
My intention was not to make WebBrowserWindow, a browser like internet explorer or other browsers (it didn't even cross my mind :lol). But just a "document viewer". To view html, pdf etc, plus the ability to create html content on the fly. Think like tables, charts, invoices just by inserting html content as a string. Also capabilities to print preview, print, save, create popup, full screen windows etc. My intentions were to make something simple. It was something of the moment.

Conclusions:
I will look into your requests and when i come up with another version i will post it here (like always).


With Kind Regards
sside

johnraus
02-21-2007, 09:07 AM
@sside

WebBrowserWindow.GetHtmlContent() and View Source Code

I tested a Webpage (not framed) and viewed content with IE context menu View Source code, and at the same time used WebBrowserWindow.GetHtmlContent. (This was a big page) the code in both views was the same, only the GetHtmlContent part retrieved by DLL was truncated at some point in the middle of the <body> part.;)

My intention was not to make WebBrowserWindow, a browser like internet explorer or other browsers (it didn't even cross my mind ). But just a "document viewer". To view html, pdf etc, plus the ability to create html content on the fly

I agree with you on this one, I don't need another IE based web browser.
But to be able to access the data posted on websites (also in popup windows) sure would be a great Improvement. So an Advanced Document/Webpage viewer:cool
I also tried luacom plugin(some great stuff posted by Worm in the past)
oIE=luacom.CreateObject("InternetExplorer.Application");
luacom.Connect(oIE, IE_Events);
but I got stuck now with the Popup/child windows, opening an IE window and controlling it was not so difficult, but how to access the child window:huh

Regards

sside
02-21-2007, 11:17 AM
I tested a Webpage (not framed) and viewed content with IE context menu View Source code, and at the same time used WebBrowserWindow.GetHtmlContent. (This was a big page) the code in both views was the same, only the GetHtmlContent part retrieved by DLL was truncated at some point in the middle of the <body> part.;)


Would you like to share with me this particular webpage? If not then some alternative page where i can make my own tests.



I agree with you on this one, I don't need another IE based web browser.
But to be able to access the data posted on websites (also in popup windows) sure would be a great Improvement. So an Advanced Document/Webpage viewer:cool


I'm working on this.



I also tried luacom plugin(some great stuff posted by Worm in the past)
oIE=luacom.CreateObject("InternetExplorer.Application");
luacom.Connect(oIE, IE_Events);
but I got stuck now with the Popup/child windows, opening an IE window and controlling it was not so difficult, but how to access the child window:huh



Then you should be consulting the forum members which helped you in the past. You would do good to start another thread, and try the lua solution.

With Kind Regards
sside

johnraus
02-21-2007, 05:02 PM
@sside

I can't share the specific URL (confedential webpage) but from what I can tell you, is when I view source from IE context menu and save it as plain HTML the file size is about 35Kb, When I do the same with WebBrowserWindow.GetHtmlContent() and i write is to a Text file, it only is a 5Kb file, the rest is missing ...

You would do good to start another thread, and try the lua solution

Yep, thats another possability, but don't want to start new threads in the wild, without doing some proper research, and looking at things from different angles. I'm not at all a windows API programming wonder, i just like the wonderfull scripting possibilities of AMS. I have a Job during daytime, 4 kids and a wife at home, this is what makes my AMS projects take a little longer to progress. I use AMS just for the fun of it, for my personal use only:)

SiNisTer
07-12-2007, 06:58 AM
Hey sside,
I know that that this post is pretty old, but I have a little request - could you by any chance reupload the WebBrowserWindow.v.1.0.0.4. or the latest update...the links are dead.
I will greatly appreciate it since I am dead sure that this is what I need for my currant project.

Thank You.

sside
07-12-2007, 10:44 AM
With Kind Regards
sside

SiNisTer
07-13-2007, 08:00 AM
Thanks buddy. Really appreciate this:)

Intrigued
07-14-2007, 09:17 AM
sside, I just breezed through this thread and though I'm not personally using this offering, I'm seriously impressed with your level of support, patience! Continually hammering on a problem to solve it.

:yes

sside
07-15-2007, 10:12 AM
I appreciate it Intrigued.

With Kind Regards
sside

yhb
04-19-2008, 04:53 PM
where do i get this file ?

_at_WebBrowserWindow.xml


thanks
yhb

ShadowUK
04-19-2008, 04:54 PM
You can use this without it, Look at the lua file to get the functions.

His host is dead, All the files are gone, sside luckily backed up most of his DLL's.

DJuse
04-25-2008, 12:31 AM
where do i get this file ?

_at_WebBrowserWindow.xml


thanks
yhb


http://www.indigorose.com/forums/showthread.php?p=116229

ShadowUK
04-25-2008, 12:40 AM
http://www.indigorose.com/forums/showthread.php?p=116229

No xml files there.

sside
04-25-2008, 03:22 PM
With Kind Regards
sside

ShadowUK
04-25-2008, 03:27 PM
Nice sside, Good to see you've still got all your files :D

thetford
08-02-2008, 06:16 PM
sside,
OUTSTANDING DLL! I'm loving this, just one question - is IE active X required? I use a lot of web functions, but some people don't have IE installed, I've been trying to find away around this problem...... I may have found it.

Otherwise, how difficult would it be to clone MS IE active x? Any thoughts?

thanks for sharing,
Mike

RizlaUK
08-03-2008, 09:25 AM
shoot me in th foot if im wrong

but, all windows has IE, if its uninstalled with add remove programs then windows simply hides the links to it, same as msn

like i say, i could be wrong but that is the way iv always understood it to be.

sside
08-03-2008, 03:46 PM
sside,
OUTSTANDING DLL! I'm loving this, just one question - is IE active X required? I use a lot of web functions, but some people don't have IE installed, I've been trying to find away around this problem...... I may have found it.

Otherwise, how difficult would it be to clone MS IE active x? Any thoughts?

thanks for sharing,
Mike

The dll requires .net 2.0 (or higher) which means internet explorer 6.0 sp1 is a minimum requirement.

With Kind Regards
sside

GoOgLe
02-20-2009, 09:44 AM
well i tried so many ways but it didnt work for me... can someone please give me an idea how it works !!! i downloaded example and add a button there and put this code to button click
WebBrowserWindow.SaveAsDialog() but it didnt work !!!

thetford
03-11-2009, 02:46 PM
Rizla & sside - thanks for the answers. I was unaware that windows did not actually un-install IE.

Thanks to both of you guys for all of your contributions to this forum.

Mike

GoOgLe
03-24-2009, 04:10 AM
can someone please explain how this dll works ? can i use it with web object or it effects internet explorer window !!!