Solved

Getting MSCAL OCX error

Posted on 2010-08-18
5
1,292 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

830 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