Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Toolbar with Webbrowser - possible to have web flags
#1
Hi Gintaras,

I think that the webpage that this function is bringing up assumes a "1" flag i.e. it waits and holds up the macro - i.e. can't even put in a wait-time out statement.

Is there any way to be able to put in typical web flags or at least turn off wait until web page is finished "1" flag , etc...

See below - the "oncall.edu" site sometimes needs a login and if it doesn't get it will lock up the browser - in a normal way of calling it up, I just take out the 1 flag but don't know how to do this in Toolbar with Webbrowser...


Code:
Copy      Help
/
function# hWnd message wParam lParam

sel message
    case WM_CREATE
    int h=CreateControl(0 "ActiveX" "SHDocVw.WebBrowser" 0 0 20 968 1179 hWnd 1)
    SHDocVw.WebBrowser b._getcontrol(h)
    b.Navigate("about:blank")
    b.Navigate("oncall.edu" )
    case WM_DESTROY

Thanks!!!!, Stuart


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)