Kent:
This doesn't open the default browser but will open IE and open a website...
See http://msdn.microsoft.com/en-us/library/aa752043.aspx for more IE 
commands...

oIE = CREATEOBJECT("InternetExplorer.Application")
oIE.Visible =.f.  &&.t. will show IE on the screen
oIE.Silent = .t.
oIE.Navigate("your URL here...") 
lnStart = int(seconds())
lnTime = 0
lbTunnel_up = .f.
lbHang_up = .f.
*    READYSTATE_UNINITIALIZED = 0
*    READYSTATE_LOADING = 1
*    READYSTATE_LOADED = 2
*    READYSTATE_INTERACTIVE = 3
*    READYSTATE_COMPLETE = 4
do while oIE.readystate <> 4 and lnTime <= 601  &&10 minutes 1 second to a 
readystate enough time??? 
  lnTime = int(seconds()) - lnStart
  if lnTime < 0 then   &&midnight rollover
    lnTime = (86400 - lnStart) + int(seconds())
  endif 
  lcMin = alltrim(str(int(lnTime/60),1,0))
  lcSec = alltrim(str(int((lnTime/60 - int(lnTime/60)) * 60), 2, 0))
  if len(lcSec) = 1 then
    lcSec = "0" + lcSec
  endif
  wait window "" timeout 0.1
  if lnTime/lnTest_time = int(lnTime/lnTest_time) and 
thisform.optiongroup1.value = 1 then  &&phone connect
    *your timeout message here...
  endif 
enddo
*


I hope this gets you started...
Regards,

Jack Skelley

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/0b957900b2b8194d998a441195b660383804c8d...@drdsrv03.drdad.thenewarkarena.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to