Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

run-time error -2147417848 (80010108)

Status
Not open for further replies.

moniB

Programmer
Dec 4, 2002
5
GB
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top