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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB 6 Run-Time Error..Please Help me solve it

Status
Not open for further replies.

Rich25

Programmer
Feb 2, 2001
15
0
0
US

I keep getting the following error when I run my vb program. It's actually three components. I made 2 dll's and one executable. When I run the executable, I get this error: Run-Time error '-2147467259(80004005):' [DBMSSOCN]General network error. Check your network documentation. Please send me an e-mail if you have seen this error and know what to do to fix it. Thank you
 
is a Automation Error :

Run-time error '-2147467259 (80004005)':
Automation error

Example (this works on W95-98-ME) not under NT and 2000

Set shtWorld = GetObject("world.xls")

On Windows Nt and 2000 :

Set shtWorld = GetObject("world.xls")
to:
Set shtWorld = GetObject(app.path & "\world.xls")

succes
Eric De Decker
vbg.be@vbgroup.nl

Licence And Copy Protection AxtiveX
Download ActiveX and test in VB
Source CodeBook for the programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top