Do not use on any
shared computer
August 29, 2008 02:59pm pdt
 
[x]
Attachment Details

Object Variable or With Block Variable Not Set

Tags: Visual Basic
Experts,

I have a .Visual Basic dll that I have been using for a while from a parent Visual Basic program.  The .dll contains a class that I'm trying to instantiate, but when I do, I get the error:

Run-time error 91 - Object Variable of With Block Varible Not Set

The line of code it blows up on its:

    Set mUtil = New Global_Utils

where "Global_Utils" is the class it's trying to instantiate.  


I've tried re-building and re-registering the .dll, but that hasn't worked.  Help!
Start your free trial to view this solution
Question Stats
Zone: Programming
Question Asked By: NigelRocks
Question Asked On: 07.23.2008
Participating Experts: 1
Points: 500
Views: 0
Translate:
Loading Advertisement...
 
[+][-]Expert Comment by angelIII

Rank: Genius

Expert Comment by angelIII:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by NigelRocks
Author Comment by NigelRocks:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by angelIII

Rank: Genius

Expert Comment by angelIII:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080723-EE-VQP-34 / EE_QW_2_20070628