iimplay("",FALSE) always starts a new brower?
Posted: Thu Feb 01, 2007 7:11 am
I thought the FALSE parameter should connect to the already open iMacro browser.
I am running from Microsoft Access visual basic. My form first opens a script that opens a browser and logs onto a real estate service. Then based on user input it is going to call various macros to retrieve data. Whenever I try to play a new macro from the form usiing iimInit("",FALSE) and then iimPlay(macroname) a new iMacro browser opens and my real estate service requires a new logon and password.
Sample code is as follows:
Private Sub test_Click()
Dim iim1 As Object
Dim iplay, iret As Integer
Dim data, sCmdLine As String
Set iim1 = CreateObject("InternetMacros.iim")
iret = iim1.iimInit(, False)
iplay = iim1.iimPlay("getParcelData")
data = iim1.iimGetLastExtract()
End Sub
What am I doing wrong?
I am running from Microsoft Access visual basic. My form first opens a script that opens a browser and logs onto a real estate service. Then based on user input it is going to call various macros to retrieve data. Whenever I try to play a new macro from the form usiing iimInit("",FALSE) and then iimPlay(macroname) a new iMacro browser opens and my real estate service requires a new logon and password.
Sample code is as follows:
Private Sub test_Click()
Dim iim1 As Object
Dim iplay, iret As Integer
Dim data, sCmdLine As String
Set iim1 = CreateObject("InternetMacros.iim")
iret = iim1.iimInit(, False)
iplay = iim1.iimPlay("getParcelData")
data = iim1.iimGetLastExtract()
End Sub
What am I doing wrong?