Solved

Getting MSCAL OCX error

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

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
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…

770 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