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
ronb
0
Newbie Poster
Recommended Answers
Jump to PostIt's possible that you are trying to create an instance of a class (an object) from a class that is present on the machines you tested it on, but not on the machine it's been deployed to..... for example, I happen to know that I can make a VB program …
Jump to Postin vb ide build an exe file
get a dependency walker and check which dependencies are needed for your exe file
create those dependencies on youre target machine
OR
get a setup (e.g. setupfactory) tool that builds a setup which does this for you
it can make a cabin file …
Jump to Postabisek_cts,
In the future please create your own thread and if you need to, copy the older threads url that you want to reference into your post.
Also please use code tags when submitting code. [ code ]your code goes here[ /code ] (without spaces as shown)
…
Jump to PostYou posted the code...
Jump to Posti try and use a simpler approach like
set <object> = new <object instance>
All 19 Replies
Comatose
290
Taboo Programmer
Team Colleague
ibrahim refaat
0
Newbie Poster
PVBert
0
Junior Poster in Training
akodalikar
0
Newbie Poster
avisek_cts
0
Newbie Poster
vb5prgrmr
143
Posting Virtuoso
avisek_cts
0
Newbie Poster
vb5prgrmr
143
Posting Virtuoso
markperfinan
0
Newbie Poster
pagos86
0
Newbie Poster
dspnhn
10
Junior Poster in Training
T-Wizard
0
Newbie Poster
AndreRet
401
Senior Poster
T-Wizard
0
Newbie Poster
AndreRet
401
Senior Poster
Sunnyrepairs
0
Newbie Poster
ChrisPadgham
113
Posting Whiz
visperad
0
Newbie Poster
aronhugos
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.