Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

MSWINSCK.OCX and non admin users - PART II

Posted on 2006-06-26
6
Medium Priority
?
851 Views
Last Modified: 2013-11-14
Hi,

I am distributing a VB6 application using mswinsck.ocx. The software works fine with machines under Windows XP with every users BUT under Windows 98 and 2000, NON ADMIN users always get the error 339 (Component 'MSWINSCK.OCX' or one of its dependencies not currently registered: a file is missing or invalid)

If I do a "RUN AS" Administrator, it works.

The ocx is registered and is present under c:\winnt\system32 and under the application path.

Non-admin users cannot register a ocx themself.

PS: I am using Visual Studio Installer (.msi)

Thank you for your help.
0
Comment
Question by:pat_xiv
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 12

Expert Comment

by:jkaios
ID: 16990121
Try to register the MSWINSCK.OCX on the Windows 98 computers using the "Regsvr32.exe" program.

1.  Run the command prompt
2.  Go the the directory that contains the MSWINSCK.OCX file (usually "C:\Windows\System32" in Windows 9x and XP and "C:\WINNT\System32" in WinNT)
3.  Type REGSVR32 MSWINSCK.OCX and press the ENTER

After you have typed in the 3rd step, you should see a message box confirming the result.

Also, make sure the file exists on the computer you are trying to run your program on.  If not, copy that file to the SYSTEM32
directory on the target machine and then do the above steps.  It should work.
0
 
LVL 1

Accepted Solution

by:
nicolasn earned 375 total points
ID: 16990296
Hello Pat,

Certain control require licencing in addition to being correctly registered.  These controls work fine on development machines where the licence is installed with Visual Studio, but then seem to mysteriously fail on the deployment machine.  I suspect a problem with the licencing for the control, possibly permissions on the lpk file that only allow admins to "see" it?

Take a look at a previous reply of mine detailing how to do this in this topic: http://www.experts-exchange.com/Programming/Q_20741350.html#9391824

I know yours is a different control, but the same requirements apply.

You may also want to consider using Emiliano Scavuzzo's CSocketMaster replacement for the MSWINSCK control.  You will find it here: http://www.geocities.com/anshoku/

Nicolas
0
 

Author Comment

by:pat_xiv
ID: 17002215
jkaios,

The ocx is already registered.

The question is : non admin users cannot register an ocx or a dll...
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:pat_xiv
ID: 17002240
well, I will consider using CSocketMaster.

I keep you in touch.

0
 

Author Comment

by:pat_xiv
ID: 17012905
Finally, I used CSocketMaster and it works great !

Thank you !
0
 
LVL 5

Expert Comment

by:lunchbyte
ID: 17012912
so it was the ocx after all...
0

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
Make the most of your online learning experience.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Progress

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question