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

x
?
Solved

Getting MSCAL OCX error

Posted on 2010-08-18
5
Medium Priority
?
1,297 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
[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
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
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…
Suggested Courses

704 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