|
-
Nov 30th, 2001, 10:58 AM
#1
Thread Starter
PowerPoster
Windows 2000 and ActiveX
I am using windows 2K at school, but I do my programming on Win98 at home. I am trying to test my project in this class, but it won't let me register an ocx file. Is this a restriction placed on the computer by the admin, or do I have to copy it and register it into a special place? In 98, I could just put the OCX in the same folder as the program using it, and it would work.
Thanks in advance
-Joey
-
Nov 30th, 2001, 11:16 AM
#2
Black Cat
Is this a restriction placed on the computer by the admin,
You definately can place restrictions like this on NT.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Nov 30th, 2001, 12:02 PM
#3
All OCXs on either operating system have to be registered to work. Use "regsvr32 c:\mypath\mycontrol.ocx" from the command line on the Win2K machine at school.
If you get an "Access Denied" message, then you don't have permissions to write to the registry.
-
Nov 30th, 2001, 08:47 PM
#4
Thread Starter
PowerPoster
It didn't give me an access denied message. It said that the ocx failed to register. I know that the OCX is creditable, because I use the exact same one on my machine at home, and it regsvr32's fine.
-
Nov 30th, 2001, 08:50 PM
#5
So Unbanned
Regsvr32 only works if the license is there but not registered with the system. Thus it finds the license, then registers it, otherwise you could use any ocx you wanted, even if you didn't own it.
Depending on what ocx this is check with the creator, if it's a VB standard OCX, it may be the version, or something may have gotten corrupted. In that case, try and re-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
|