Solved

Getting MSCAL OCX error

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28455246.html)28455246) Here (http…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

919 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

16 Experts available now in Live!

Get 1:1 Help Now