Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Visual Basic Forum for Visual Basic Programmers VB Forum Index » Direct X / Game Programming

Post new topic   Reply to topic
Errors when moving OCX or adding OCX to VB Project...
View previous topic :: View next topic  
Author Message
Chad
Newbie


Joined: 07 Jul 2005
Posts: 3
Location: Gadsden, AL.

PostPosted: Jul 7th, 2005 12:39 AM    Post subject: Errors when moving OCX or adding OCX to VB Project... Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
DoobieKeebler
Moderator


Joined: 17 Jun 2005
Posts: 254
Location: 181°15'2.003"W, 93°5'16.956"N

PostPosted: Jul 7th, 2005 08:43 AM    Post subject: Reply with quote

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
View user's profile Send private message
Chad
Newbie


Joined: 07 Jul 2005
Posts: 3
Location: Gadsden, AL.

PostPosted: Jul 7th, 2005 07:09 PM    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
DoobieKeebler
Moderator


Joined: 17 Jun 2005
Posts: 254
Location: 181°15'2.003"W, 93°5'16.956"N

PostPosted: Jul 8th, 2005 08:11 AM    Post subject: Reply with quote

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
View user's profile Send private message
Chad
Newbie


Joined: 07 Jul 2005
Posts: 3
Location: Gadsden, AL.

PostPosted: Jul 8th, 2005 06:00 PM    Post subject: Reply with quote

Thanks a ton man.
_________________
-Chad
--[link]
---[link]
Back to top
View user's profile Send private message Visit poster's website AIM Address
Uarepoo2
Newbie


Joined: 02 Jul 2006
Posts: 4

PostPosted: Jul 6th, 2006 07:46 AM    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Visual Basic Forum for Visual Basic Programmers VB Forum Index » Direct X / Game Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Visual Basic Forum runs phpBB | Forum Template © iOptional
VB Resources | SSL | Visual Basic