-
Oct 22nd, 2017, 11:49 AM
#1
Thread Starter
Member
Permission denied
Hello,
In my visual basic program when I try to add component its give me the error of PERMISSION DENIED. I reinstall visual studio 6 multiple times but the error is still remain. Is anybody help me in this matter I will be very thankful to you.
-
Oct 22nd, 2017, 12:07 PM
#2
Re: Permission denied
Soft
Short answer .. I don't know
But, it might help if you post a screenshot.
Spoo
-
Oct 22nd, 2017, 12:37 PM
#3
Thread Starter
Member
Re: Permission denied
Plz find the attached image.
Thanks
-
Oct 22nd, 2017, 12:54 PM
#4
Re: Permission denied
It sounds like a case of VB6 not being installed properly.
Part of that is ensuring that the IDE ALWAYS runs elevated.
-
Oct 22nd, 2017, 01:35 PM
#5
Re: Permission denied
Soft
Your image is a bit small, but is this the component you're trying to add?
If so, dilettante may be onto it .. did you install SP6?
Spoo
-
Oct 22nd, 2017, 03:02 PM
#6
Thread Starter
Member
Re: Permission denied
Originally Posted by Spooman
Soft
Your image is a bit small, but is this the component you're trying to add?
If so, dilettante may be onto it .. did you install SP6?
Spoo
yes thats the component which I try to add even I tried other component on every try Its give me error.
No I didn't install sp6
-
Oct 22nd, 2017, 03:25 PM
#7
Re: Permission denied
Softhoney,
There are two separate licensings/registrations for these Microsoft OCX controls. There's one that is used for "installing" them for a VB6 program that may need them for execution. And then, there's an entirely separate one that's used for developing programs in the VB6 IDE. You can't just use RegSvr32 to register these OCX files to be used for VB6 IDE development. It just doesn't work that way.
The only (obvious) way I know to correctly register these controls for IDE development is to "install" the VB6 IDE. On Windows 10 (and even somewhat earlier versions of Windows) this can be a touch tricky, but I've written a tutorial that may help you. It can be found here.
There's also a little program named "VB6CLI.EXE" that used to be distributed by Microsoft. Basically, that program re-registers (for IDE development) the OCX files that came with the VB6 IDE. It was used to "fix" these OCX files when they got borked in some way. However, I do believe that that VB6CLI.EXE file is getting exceedingly difficult to find these days. I hope I don't make the moderators upset by saying this, but you might try some FTP searches to find it, if you decide to go that route.
Good Luck Getting It Sorted,
Elroy
EDIT1: Also, all of this assumes you have a legally licensed copy of the VB6 IDE.
Last edited by Elroy; Oct 22nd, 2017 at 03:29 PM.
Any software I post in these forums written by me is provided "AS IS" without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. To all, peace and happiness.
-
Oct 23rd, 2017, 10:26 AM
#8
Re: Permission denied
Originally Posted by softhoney
I reinstall visual studio 6 multiple times but the error is still remain
Suggest re-installing one more time. This time, ensure you launch the setup.exe and any other exe during the installation with admin privileges. Always "As Administrator". After installation, always start VB6.exe "As Administrator".
-
Oct 23rd, 2017, 10:29 AM
#9
Re: Permission denied
There may be all kinds of junk in virtualized filesystem and registry locations at this point. No telling whether an uninstall would clean most of this up before trying an elevated install.
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
|