Connecting Tech Pros Worldwide Forums | Help | Site Map

vb 6 runtime error'91':

Newbie
 
Join Date: Jul 2006
Posts: 2
#1: Aug 1 '06
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's Avatar
Expert
 
Join Date: Jun 2006
Location: Seremban, Malaysia
Posts: 1,630
#2: Aug 1 '06

re: vb 6 runtime error'91':


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..
Newbie
 
Join Date: Jul 2006
Posts: 2
#3: Aug 1 '06

re: vb 6 runtime error'91':


Quote:

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
Reply


Similar Visual Basic 4 / 5 / 6 bytes