Hi Allen, Your example works quite well, except for a spelling error in "SetForegroundWindow", and you forgot to put oIE.Visible = .T. The code below was tested and is working...
Best regards Cesar
DECLARE INTEGER SetForegroundWindow in user32.dll INTEGER oIE = CREATEOBJECT("Internetexplorer.application") oIE.navigate("www.allenpollard.com") oIE.Visible = .T. =SetForegroundWindow(oIE.HWND)
----- Original Message ----- From: "Allen Pollard" <al /at/ gatwicksoftware DOT com> To: <profoxtech@leafe.com> Sent: Friday, July 29, 2005 10:53 AM Subject: Internet explorer
> Hi > I think someone was looking for a way to bring ie to the front but Ive > deleted all the emails. Anyway > > > Declare integer SetForgroundWindow in user32.dll Integer > Ieo = createobject("Internetexplorer.application") > Ieo.navigate2("www.allenpollard.com") > SetForgroundWindow(Ieo.HWND) > > Allen > > > > > [excessive quoting removed by server]
©2005 Cesar |