IonicWind Software

IWBasic => GUI Central => Topic started by: tbohon on February 02, 2007, 02:16:01 PM

Title: Browser Handling Question
Post by: tbohon on February 02, 2007, 02:16:01 PM
I have embedded a browser control in my main window and have it working just fine.  However, I don't want it to show at all in the final program - instead, I want a rich edit box to show while the browser runs in the background, hidden from view.

Is this possible? 

I've tried several different combinations:  hiding the rich edit box, attaching the browser (which is the exact same size and in the exact same location) and then un-hiding the rich edit box; minimizing the browser; etc.  None of them work - the browser is always visible.  I haven't tried putting the browser in a separate window hidden behind the main window ... but, before I do that, I want to ensure that I haven't missed anything.

Thanks.

Tom
Title: Re: Browser Handling Question
Post by: Steve Rusich on February 02, 2007, 02:27:26 PM
Quote from: tbohon on February 02, 2007, 02:16:01 PM
I have embedded a browser control in my main window and have it working just fine.  However, I don't want it to show at all in the final program - instead, I want a rich edit box to show while the browser runs in the background, hidden from view.

Why do you want to have a hidden browser control? The browser is meant as an input/output control and hiding it seems to negate its function...
Title: Re: Browser Handling Question
Post by: tbohon on February 02, 2007, 02:48:05 PM
I agree.  However, I've been asked to come up with a way to visit internal websites and just collect ('screen scrape') certain values so my thought was to have a hidden browser doing the visiting and the rich edit box displaying the results.

Just the guy in the yellow rainslicker standing at the foot of the hill here ...  ;D

Tnx.

Tom
Title: Re: Browser Handling Question
Post by: Steve Rusich on February 02, 2007, 03:44:15 PM
Quote from: tbohon on February 02, 2007, 02:48:05 PM
I agree.  However, I've been asked to come up with a way to visit internal websites and just collect ('screen scrape') certain values so my thought was to have a hidden browser doing the visiting and the rich edit box displaying the results.

You can create 2 windows of the same size and same position on the screen. Put the browser in one window and the edit control in the other. Then use the SHOWWINDOW mywnd, @SWHIDE command to hide the browser window.
Title: Re: Browser Handling Question
Post by: tbohon on February 02, 2007, 04:00:57 PM
That was my next option.

Now I have to figure out how to save the screen in the browser as text so I can parse it so I can format it so the managers can look at it ... and then ask me what it means and why is it in their email box?  ::)

Thanks, Steve!

Tom