I sometimes get the following error when using a Microsoft SSTab control
in VB:
Run-time error -2147417848(80010108) Method 'Tab' of Object 'ISSTabCtl'
failed.
It seems to happen after I have got some results from an SQL Database via an ado Recordset and loaded them into a DomDocument and then into a listview. My program works by the user doing a search on the first tab and then being taken to the second tab to see the results and the line
of code which causes the error is:
form.tabcontrol.Tab = 1
However it only seems to error if I do 2 searches in a row - it seems happy to switch to tab 1 on the first search.
I can't seem to find much documentation on-line about this error and was wondering if anyone could point me in the right direction for solving this problem.
Any help much appreciated.
Monica.
in VB:
Run-time error -2147417848(80010108) Method 'Tab' of Object 'ISSTabCtl'
failed.
It seems to happen after I have got some results from an SQL Database via an ado Recordset and loaded them into a DomDocument and then into a listview. My program works by the user doing a search on the first tab and then being taken to the second tab to see the results and the line
of code which causes the error is:
form.tabcontrol.Tab = 1
However it only seems to error if I do 2 searches in a row - it seems happy to switch to tab 1 on the first search.
I can't seem to find much documentation on-line about this error and was wondering if anyone could point me in the right direction for solving this problem.
Any help much appreciated.
Monica.