vb 6 runtime error'91':

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ronboris
    New Member
    • Jul 2006
    • 2

    #1

    vb 6 runtime error'91':

    i wrote and compiled an vb 6 program on a windows xp sp2 box

    i am trying to run the program via a batch file from an nt box

    i get this error:

    runtime error 91:
    object variable or With block variable not set

    the program runs under the scheduler on xp, and in debug in vb ide

    thanks in advance for the help
  • sashi
    Recognized Expert Top Contributor
    • Jun 2006
    • 1749

    #2
    hi there,

    are you using any acticex in your program? compile the program in your nt box once again.. it will solve the problem.. take care..

    Comment

    • ronboris
      New Member
      • Jul 2006
      • 2

      #3
      Originally posted by sashi
      hi there,

      are you using any acticex in your program? compile the program in your nt box once again.. it will solve the problem.. take care..
      sashi,

      there are no activex controls.

      The program was compiled on an xp box.

      i am trying to run it via a batch file on an nt box.

      thanks for your help

      Comment

      Working...