I have an application that creates an instance of Internet Explorer as an object with the following lines of code:
mLookup_Address = ' &&or whatever
oIE = CREATEOBJECT('InternetExplorer.Application')
oIE.navigate(mLookup_Address)
oIE.visible = .t.
I need to know if the user closes this instance of IE either throught the File > Close or the Close button.
Is there a way to check whether the oIE object is still valid? If it is then I can just navigate to a new address. If not, then I need to create a new instance of IE. Any help you can provide is greatly appreciated. Thanks.
Dan
mLookup_Address = ' &&or whatever
oIE = CREATEOBJECT('InternetExplorer.Application')
oIE.navigate(mLookup_Address)
oIE.visible = .t.
I need to know if the user closes this instance of IE either throught the File > Close or the Close button.
Is there a way to check whether the oIE object is still valid? If it is then I can just navigate to a new address. If not, then I need to create a new instance of IE. Any help you can provide is greatly appreciated. Thanks.
Dan