| View previous topic :: View next topic |
| Author |
Message |
Chad Newbie
Joined: 07 Jul 2005 Posts: 3 Location: Gadsden, AL.
|
Posted: Jul 7th, 2005 12:39 AM Post subject: Errors when moving OCX or adding OCX to VB Project... |
|
|
Ok, let me first give everyone a little info about the PC I am using right now. This is a newer Dell with Windows XP Home, 256MB RAM, P4 CPU, etc. It is my Niece's PC and she has it set up with User Accounts. I have my own User Account and have been using it for a while without any problems in VB 6.0 EE until tonight. I downloaded a popular .ocx that I have used many times before in the past, and when I tried to extract it to the SYSTEM and SYSTEM32 directory, I got an error. I then tried adding it to a VB Project and got another error. If the ActiveX control is already in the Components list (those that come bundled with VB), I can add it to a Project without any problems. It is when I try to add the downloaded .ocx that I have problems (I even downloaded the .ocx from other locations). Also, as stated above, I can not even move or copy the .ocx into the SYSTEM or SYSTEM32 directory. This is also the case when trying to move or copy files other than the one I downloaded. I am thinking I have read/write access issues. Anyway, I have attached images of the error messages so that you guys can see exactly what I am seeing and hopfully help me out. Thanks in advance...
ERROR WHEN TRYING TO MOVE OR COPY TO SYS DIR:
ERROR WHEN TRYING TO ADD TO A VB PROJECT:
P.S: I tried registering the .ocx with RegSrv32, but it did no good (did not register). _________________ -Chad
--[link]
---[link] |
|
| Back to top |
|
DoobieKeebler Moderator

Joined: 17 Jun 2005 Posts: 254 Location: 181°15'2.003"W, 93°5'16.956"N
|
Posted: Jul 7th, 2005 08:43 AM Post subject: |
|
|
| It definately looks like you don't have access to the system directories. And if RegSvr32 didn't work (I'm assuming you tried regsvr32 "c:\documents and settings\theuser\desktop\thecontrol.ocx") then it looks like game over on that. Sorry. |
|
| Back to top |
|
Chad Newbie
Joined: 07 Jul 2005 Posts: 3 Location: Gadsden, AL.
|
Posted: Jul 7th, 2005 07:09 PM Post subject: |
|
|
Yea...can the Admin set User Accounts to have full access? If so, how is it done? She is only 14 and does not know how to do it I am sure. Thanks for the reply... _________________ -Chad
--[link]
---[link] |
|
| Back to top |
|
DoobieKeebler Moderator

Joined: 17 Jun 2005 Posts: 254 Location: 181°15'2.003"W, 93°5'16.956"N
|
Posted: Jul 8th, 2005 08:11 AM Post subject: |
|
|
I haven't worked with use accounts, but from what I'm reading and looking at my own computer, it looks like she would have to make you part of the administrator group by doing the following:
1) Click Start > Settings > Control Panel > User Accounts
2) On the "Pick a task..." page, click "change an account"
3) Click on the account to change
4) On the "what do you want to change about your account?" page, click "change my account type"
5) Select "computer administrator" and click Change Account Type
That's as far as I can get since I only have one account on my machine. I don't know if it asks you for anything else, but I'm sure you can take it from there. |
|
| Back to top |
|
Chad Newbie
Joined: 07 Jul 2005 Posts: 3 Location: Gadsden, AL.
|
Posted: Jul 8th, 2005 06:00 PM Post subject: |
|
|
Thanks a ton man. _________________ -Chad
--[link]
---[link] |
|
| Back to top |
|
Uarepoo2 Newbie
Joined: 02 Jul 2006 Posts: 4
|
Posted: Jul 6th, 2006 07:46 AM Post subject: |
|
|
| Easiest way is to just put the files needed into the gaming folder and that works just as well without and messing around registering them ect, Helps when your sending the client out to alot of people |
|
| Back to top |
|
|