473,387 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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
Aug 1 '06 #1
2 3836
sashi
1,754 Expert 1GB
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..
Aug 1 '06 #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..
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
Aug 1 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Peter | last post by:
I have a program which was working fine. In it a function works out the number of .jpg files in a specified folder. I then realised that I needed to make sure the folder exists first & added the...
3
by: abcd | last post by:
I am using asp page and a VB component VB component has a simple method which inserts a record into Access databse like Dim conn As New ADODB.Connection Dim cmd As New ADODB.Command...
3
by: Richard Hollenbeck | last post by:
I've marked the line in this subroutine where I've been getting this error. It may be something stupid but I've been staring at this error trying to fix it for over an hour. I'm pretty sure the...
3
by: david stradling | last post by:
I've written a program in VB6 and given it to a friend. I have supplied him with updates and suddently he gets runtime error 91. I suspect this is something to do with copying a new version via...
6
by: Smigger | last post by:
Afternoon, I'm having a little trouble with the code listed below, in Access 2003 which is opening and editing an existing Excel 2003 workbook. The section of code works the first time round,...
4
by: Neelesh2007 | last post by:
I am using window XP, Access 2003 and vb6.0 enterprise edition. Till now my whole application worked fine. But today i install SP6 from miscrosoft website. After this some of my Adodc and...
5
by: krafla | last post by:
I have a similar problem with a program i made with VB 6.0 - the only control I used is MSFlexGrid - the program was developed on an XP machine. and the first time to use it on another machine i got...
15
by: r90slash6 | last post by:
Hi Guys, I have code for click event on an Access form that opens an Excel file, refreshes data of a pivot table on the active worksheet and then filters records based on a criteria. Everything...
15
by: squrel | last post by:
Hi everyone.. i need ur help once more time.... i have a form called reminder..in tht form i have: txtid, txtcaseid, txtreminder, cmbremindby(system or user), txtremindto, dtpreminddt,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.