473,503 Members | 479 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VB6 unable to run script error

284 Contributor
I had a vb6 application, I had once made the application using win7, but now when I try to run the application in win xp (even if i try to run exe or use the run function on vb6 programe to execute code) I am getting error that says something like that

'Unable to run script'

What the problem? why that error accrued?
Oct 30 '11 #1
6 1835
Guido Geurs
767 Recognized Expert Contributor
'Unable to run script' don't say much!

Did you add references in Win7 who are not present in XP?
Do you know the use of "break point" and "watch".
If so where gives the Run the error?

Is it possible to attach the code in Bytes so I can test it?
Oct 30 '11 #2
muddasirmunir
284 Contributor
Well, I had first made the application in win xp, then i had buy a laptop with preinstalled win7 so i complete the application in win7.

Now, when I had just run the application in win xp of my client, I just copied the whole programe with relevent software required but its give me error something like ' Unable to run script'

There is no where which the program get me point so I can debug the code and I donot think there is something wrong in my code , as its working perfectly fine in my laptop with win7 and I had also try it on another computer with win xp its working fine.

Is this possible that xp has different version and it might not contain some file that I had to install to run my application
Oct 30 '11 #3
Guido Geurs
767 Recognized Expert Contributor
Is on both the PC's the same XP Service pack installed?
Do you use references from other software like Office,... and if so, have both PC the same software and service pack's of that software?
Do you use References or is there in the code a "Declare function..." which point to a software not installed on the bad PC?
Oct 30 '11 #4
muddasirmunir
284 Contributor
I donot know what service pack are installed in my computer and what on my client one? How can I check? I am also thinking that there might be some service pack missing in my client computer? is there any service pack you can name me that help to run vb6 in xp?

Also, As I had made programe for quiet a long time so I did not excatly remember the reference I used in my programe? but I remeber I had used excel export function and some other references but did not they auto install once I had install complete vb application? and if there is a reference issue did not vb6 give me 'Reference not found' error while running/debuggin my program?

My main thoughts was that as the program was working fine on many many other pcs with xp and win 7 then there might be some specific service pack required to run vb script on my client xp , is this possible if so can you name me some pack which might be needed to run vb6 software properly on my client?

Please also tell me What programe (even paid one) can i use to make my application to deply on my client machine so all the reference and dll will be added with because when I use vb6 wizard to deploy on client machine I always get error that with a specific DLL is out of date and my computer need to restart to update but even after restart the error remain the same.
Oct 31 '11 #5
Guido Geurs
767 Recognized Expert Contributor
Sorry but it's difficult to determine from here what is wrong with that PC!
The best you can do is to install for each software on the bad PC the latest SP's: for XP = SP3, for Office ...
Also you mentioned :"...but I remember I had used excel export function and some other references ..."
Because last time there was a similar problem with Andylucky (see call=
http://bytes.com/topic/visual-basic/...3-missing-dlls
Oct 31 '11 #6
muddasirmunir
284 Contributor
Thanks Guido for you kind help. I had also find this http://tips-testing.blogspot.com/200...indows-xp.html

Might be this causing the problem. I will try it on my client computer and if it work I will reply on board for other people to take help.
Oct 31 '11 #7

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

Similar topics

1
7262
by: BKM | last post by:
I'm using a VB6 WebBrowser control to get info from various web pages and, occasionally, my program stops when it finds a script error on the page. It won't resume until I click 'Yes' or 'No' on...
1
5704
by: HolaGoogle | last post by:
Hi all, Can you please help me out with this???? i've been using body onload() for ages but since i changed my internet explorer (to 6.02) and OS (XP), i started to get this IE script error and...
5
2719
by: Tam Inglis | last post by:
I have a web browser contol working sweetly. However when it hits a page with java script that has an error it throws up a dialog box each time prompting me "Do you wish to continue running...
0
3568
by: John Constant | last post by:
Using the MS C++ Example http://support.microsoft.com/default.aspx?scid=kb;en-us;261003 I've successfully managed to trap and log Script Errors that are generated by the WebBrowser (IE 6) which is...
0
1031
by: William D. Sossamon | last post by:
http://support.microsoft.com/default.aspx?kbid=818803 1.. You add the following form to a user control: <form id="Form1" name="Form1" runat="server">2.. You add the user control, for example,...
3
2606
by: Guy Debord | last post by:
Hello all, I know that this is a long shot, but I have a problem which someone reading this group *may* just be able to shed some light on. We have a new internal personnel planner/attendance...
1
2358
by: muralidharchaturvedi | last post by:
I am using Tataindicom brod band i get java script error on my web mail while sending mail it takes at least two or three attempts to send one mail and i cant log out of web mail page i get java...
1
1167
by: key3210 | last post by:
Hi there. Totally new to all this. First Timer. Well here is the problem. I recently started having script error messages popping up on my computer as soon as i log on, and it does not matter if I...
8
1305
by: jayavidya | last post by:
Whenever I run the PHP script on the browser, a script error : "Object not found" is generated. The script I'm working on is syntactically correct. How can I detect this error in the code?
6
3205
by: swethak | last post by:
Hi, I displayed the image taken from database.How to raotate that image using javascript.plz tell that how to start the logic.plz tell that some reference websites.
0
7339
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...
1
6995
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7463
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5581
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5017
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4678
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3157
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1515
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.