-
Feb 27th, 2014, 02:39 PM
#1
Thread Starter
Addicted Member
Vb6 Program in windows 7 and 8 !?
Hey guys ....
I completed one of my programs in vb6 couple days ago ... . When i want to start using program in windows 7 or 8 , it shows Run-time error 5003 , unexpected error!i think that the problem is because of program dependency ! i tried solving the problem by using vb6 package tool ,which helps me to investigate dependency of program , but again the problem resists!!! i also installed vb6 service pack 6 ...
I was wondering if anyone could help me solve this.
Thanks for your further help...
Last edited by GlowingVB; Feb 28th, 2014 at 08:02 AM.
-
Feb 28th, 2014, 06:36 AM
#2
Addicted Member
Re: Vb6 Program in windows 7 and 8 !?
Can you give more information of your program?
Like which DBMS it is using, name of third party ActiveX used in it, etc.
It will help in giving you better support.
I have quite a few small products that run really very well in Win7 and 8!
-
Feb 28th, 2014, 07:12 AM
#3
Lively Member
Re: Vb6 Program in windows 7 and 8 !?
Originally Posted by GlowingVB
Hey guys ....
I completed one of my programs in vb6 couple days ago ... . When i want to start using program in windows 7 or 8 , it shows Run-time error 5003 , unexpected error!
As yogiyang says, you will need to provide more details.
Have you tried disabling UAC (User Acccount Control) ? (or right click your program icon and choose 'Run as administrator')
-
Feb 28th, 2014, 07:44 AM
#4
Addicted Member
Re: Vb6 Program in windows 7 and 8 !?
Personally I always disable UAC and also set my windows to Test Mode so I can easily install any device drive as well as incompatible software without a much a-do.
-
Feb 28th, 2014, 08:01 AM
#5
Thread Starter
Addicted Member
Re: Vb6 Program in windows 7 and 8 !?
My program includes : Microsoft Internet transfer control 6.0(MSINET.OCX),Windows Media player (wmp.dll) , Microsoft MAPI control 6.0 (MSMAPI32.ocx) and default tools which vb6 itself provides them (Like labels , Textboxs and ...) .
Thanks ...
-
Feb 28th, 2014, 01:00 PM
#6
Re: Vb6 Program in windows 7 and 8 !?
Depending on where you are trying to install the program, you could have a permission problem. When using the standard VB6 install package, a log file is maintained in the install directory called ST6UNST.LOG. The operating system uses this log file to uninstall the program, but it can provide valuable clues as to where it encountered problems during the install.
J.A. Coutts
-
Feb 28th, 2014, 04:05 PM
#7
Lively Member
Re: Vb6 Program in windows 7 and 8 !?
The way I read the opening post was that the program is installed, but errors when trying to run it. But I may be wrong.
GlowingVB, could you clarify:
1) did the program install apparently OK ?
2) Is the error 5003 when you are installing or when you try to run ?
3) Have you disabled UAC ?
-
Mar 1st, 2014, 10:57 AM
#8
Thread Starter
Addicted Member
Re: Vb6 Program in windows 7 and 8 !?
Hi , The program is installed completely and successfully , the 5003 error comes when the program starts working .
Would you please explain more about UAC ? What is it ? how can i disable it ?
Thanks
-
Mar 1st, 2014, 11:31 AM
#9
Re: Vb6 Program in windows 7 and 8 !?
Originally Posted by yogiyang
Personally I always disable UAC and also set my windows to Test Mode so I can easily install any device drive as well as incompatible software without a much a-do.
Uh, yeah. Well this is about the worst advice I've ever seen here. Thanks for running your zombied PC with its 18 spambots spewing crap to the Internet.
Don't do this.
Even if that "fixed" the problem it doesn't really fix anything and leaves you more vulnerable to malware. If you can't provide useful information there isn't a thing we can do to help you here.
-
Mar 1st, 2014, 05:02 PM
#10
Lively Member
Re: Vb6 Program in windows 7 and 8 !?
Originally Posted by GlowingVB
Hi , The program is installed completely and successfully , the 5003 error comes when the program starts working .
Would you please explain more about UAC ? What is it ? how can i disable it ?
Thanks
UAC (User Account Control) is a security feature added to Windows Vista and later.
It can prevent software that worked on earlier versions of Windows (or worked on PCs with UAC disabled) from running.
For example if you have a file in your program files folder that you try to write to (such as an .ini file or a database) you may find this causes an error. In this case it is best to modify your software to expect the file elsewhere.
To test if this is the problem, you could try right-clicking on the shortcut to your program and choosing 'Run as administrator' - if this works it could be UAC that is the problem.
You could also try disabling UAC, but as dilletante pointed out this isn't a good idea (and may be against policy etc.).
(You can change UAC in Control Panel>User Accounts>Change User Account Control Settings).
-
Mar 2nd, 2014, 12:00 AM
#11
Thread Starter
Addicted Member
Re: Vb6 Program in windows 7 and 8 !?
Running program as administrator doesn't solve anything !
Last edited by GlowingVB; Mar 2nd, 2014 at 12:04 AM.
-
Mar 2nd, 2014, 12:01 AM
#12
Thread Starter
Addicted Member
Re: Vb6 Program in windows 7 and 8 !?
Thanks for your information , Sten 2005.
dilettante , What do you mean by more information ? I have written all necessary information!
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|