Solved

Getting MSCAL OCX error

Posted on 2010-08-18
5
1,283 Views
Last Modified: 2013-12-20
Hi,

I have a production log coded in VB. One of the forms has calendar control in it. I am getting error on few systems when i open this form. (Error description: run time error 339). Also in few systems I am getting MSDATGRD.OCX file missing error which has data grid. This is working fine on some other systems.
I dont have admin access to run package and deployment wizard.
I have MS Office 2003 and other systems are having MS Office 2007. Few systems are working fine.

Is there a way to get rid of this error with out replacing the file.

Regards,
Vb
Runtime-error-339.bmp
0
Comment
Question by:vb2178
  • 2
  • 2
5 Comments
 
LVL 3

Expert Comment

by:dockhand
ID: 33466324
Do you have permissions to to run Regsvr32.exe?  Make certain that the ocx is indeed registered properly.
0
 

Author Comment

by:vb2178
ID: 33466518
I don't have permission to run regsvr. It would be good IF i get a solution other than replacing file. Is this something to do with version of MS Office
0
 
LVL 3

Expert Comment

by:dockhand
ID: 33466641
That OCX is indeed released with the office products and most likely does have something to do with versioning.
0
 
LVL 17

Expert Comment

by:Zhaolai
ID: 33468678
You have to re-register the OCX. If that still does not work, you need to copy one from other machine and register it.
 
0
 

Accepted Solution

by:
vb2178 earned 0 total points
ID: 33534355
I was looking for a solution that will help me to overcome this error by not replacing and registering the file.  I didn find any way to do that.
Thanks a bunch for your help Guys!!!
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now