Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

data view - method '~' of object '~' failed when starting VB6

1,110 views
Skip to first unread message

Bud Stowe

unread,
Sep 22, 1998, 3:00:00 AM9/22/98
to

Whenever I start up VB6 I get a data view box with the
message:

Method '~' of object '~' failed

This is right at startup before I've started anything. I just
click OK and everything seems to proceed ok.

Any explanation?

This is a W98 system that also has Office2000 (beta) on it
which could be incompatibility.

Bud Stowe

VB-Joker

unread,
Sep 26, 1998, 3:00:00 AM9/26/98
to
AFAIK this is DAO error when initializing some database. Does the error
message come from VB or an Add-In (you should be able to determine this from
the caption of the msgbox)???

I had the same problem with Sheridan VBAssist that wouldn't load, because I
had Go!Zilla 3.0 running, but there is more to this problem than I know of.

--
VB-Joker
Microsoft Certified Professional

PLEASE post all replies to newsgroup!

Bud Stowe wrote in message <3607dea2...@207.126.101.81>...

Bud Stowe

unread,
Sep 28, 1998, 3:00:00 AM9/28/98
to

The msgbox caption is "Data View".

It occurs at VB6 startup (before opening any project at all).

Add-in Manager shows a list of available add-ins, but none are
loaded.


On Sat, 26 Sep 1998 08:41:50 +0200, "VB-Joker" <cars...@sex.dk>
wrote:

forrest...@gmail.com

unread,
Nov 22, 2013, 4:15:08 PM11/22/13
to
On Tuesday, September 22, 1998 12:00:00 AM UTC-7, Bud Stowe wrote:
> Whenever I start up VB6 I get a data view box with the
> message:
>
> Method '~' of object '~' failed
>
> This is right at startup before I've started anything. I just
> click OK and everything seems to proceed ok.
>
> Any explanation?
>
> This is a W98 system that also has Office2000 (beta) on it
> which could be incompatibility.
>
> Bud Stowe

Bud:

My name is Forrest, I work for a software company in Oregon and we recently came across this same error. Did you ever find a resolution to this??
Thank you for your time
Forrest

ralph

unread,
Nov 22, 2013, 5:04:11 PM11/22/13
to
On Fri, 22 Nov 2013 13:15:08 -0800 (PST), forrest...@gmail.com
wrote:
Just to make sure ... are you saying that the problem is identical to
the OP's? The problem IS occurring at start-up of the VBIDE (vb6.exe)
and not the case where you have a "working" VBIDE (no errors during
development) that errors when you attempt to launch the DataView
Add-in?

Are you developing on a Windows 9x box?

Does this happen when launching any or a new project, or limited to a
specific project (.vbp)?

The answers may help to narrow down the "fix", but from a universal
point of view - this error is always caused by a "mismatch" component
(ocx, dll, ...). Or, in other words, whatever interface a program is
expecting is not matching up with the interface that is delivered by
whatever componnent it is being told to use to implement that
interface. The problem then becomes one of simply ferreting out the
specific interface/component. Then make sure the correct component is
available and registered.

If using Win98, Dr. Watson installed as your JIT debugger should help
provide a clue.

WinDebug is very helpful.

The most likely culprit is ADO or DAO. In this case just install the
latest and greatest MDAC and Jet libraries (if using Win98 make sure
you have installed DCOM as well). Make sure you only have one copy on
the box and all components are properly registered.

[Note:
1) Do not attempt to install MDAC/Jet on any Windows version past XP.
2) Do not waste time trying to select a specific version of the MDAC
or Jet installs. Just install the latest 'n greatest.
3) Make sure you have installed the latest VB and Control service
packs.
]

jimse...@gmail.com

unread,
Jun 27, 2016, 11:29:55 AM6/27/16
to
On Tuesday, September 22, 1998 at 3:00:00 AM UTC-4, Bud Stowe wrote:
> Whenever I start up VB6 I get a data view box with the
> message:
>
> Method '~' of object '~' failed
>
> This is right at startup before I've started anything. I just
> click OK and everything seems to proceed ok.
>
> Any explanation?
>
> This is a W98 system that also has Office2000 (beta) on it
> which could be incompatibility.
>
> Bud Stowe

We still use VB6 on Windows 98 for maintenance of a legacy system. This DOES happen rarely, but it is generally because Win 98 has run out of resources. Reboot. Generally fixes the issue.
0 new messages