1 Replies - 1916 Views - Last Post: 03 March 2010 - 10:47 PM Rate Topic: -----

#1 sekarml  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 10-February 10

Object variable or With block variable not set

Posted 03 March 2010 - 08:48 PM

Object variable or With block variable not set error in vb help me any one
Is This A Good Question/Topic? 0
  • +

Replies To: Object variable or With block variable not set

#2 Martyr2  Icon User is offline

  • Programming Theoretician
  • member icon

Reputation: 4354
  • View blog
  • Posts: 12,160
  • Joined: 18-April 07

Re: Object variable or With block variable not set

Posted 03 March 2010 - 10:47 PM

This error typically arises when you try to use a method of an object you have not actually set to an object or has been set to nothing. You may have defined a variable of a specific object type, but did you remember to actually set the variable to an object? Is it still in scope? Set a breakpoint on the line that is erroring for you and check the object being used to make sure it actually exists.

:)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1