Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run-Time Error: '2683' 1

Status
Not open for further replies.

Auguy

Programmer
May 1, 2004
1,206
US
A client of mine recently updated their server to win 2008. They were running an Access application stored on the server. After the server update they are getting the following error. Run-Time Error: '2683' There is no object in this control. I believe this is being caused by the mscal.ocx. On the client computer there is a mscal.ocx registered but it is version 10 and I think it needs version 7.0. I don't have the original project and I'm nore familiar with VFP and VB.net. I also tried copying the mdb to the lcoal drive and running from there but i still get the error. I get the same error on my development machine. Is there a way to fix this without the project files?

Auguy
Northwest Ohio
 
Does anybody know where I can get a copy of mscal.ocx version 7.0? All I can find are version 8 and up. I want to use this for testing to see if it will cure the problem.

Auguy
Northwest Ohio
 
mscal.ocx is a component of MS/Office and you would need to find the MS/Office release that came with version 7.0.

Usually mscal.ocx is not redistributable unless you have a developer's copy of Office.

There are versions of calendar controls in the Windows Common Controls that are more stable (i.e. fewer different versions) than mscal.ocx and you can legally redistribute them.
 
Thanks Golom. I'm looking for my (or the client's) old office install cd, but haven't found them yet.


Auguy
Northwest Ohio
 
OK, trying to fix this problem. When I open the database it gives me the error and I click on END. The database opens to a form and I click on the title bar of access and select form design and it kicks me out of Access and leaves the lock file in the folder so I have to reboot to get rid of it. How do I open this db to try and fix the problem?

Auguy
Northwest Ohio
 
it gives me the error and I click on END
Click on Debug instead ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Ok, I now have the DB open and in the project folders I have "Microsoft Access Class Objects" and "Modules", but no "Forms" folder. All of the entries in the Objects folder are named like the following Form_... I can view the code in these but I can't see the forms. Please excuse my lack of understanding of Access.

Auguy
Northwest Ohio
 
Which line of code highlighted after clicking the Debug button ?
Which error(s) (and where) when you try to compile the DB ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
This is the line of code.
Code:
Me.Calendar9.Value = Date
Now it's created another ldb file and I will have to reboot to get rid of it. I'm trying to open this with Access 2000 SP3 and I believe this was developed using an older version because of the mscal problem. Is there a conversion I need to run?

Auguy
Northwest Ohio
 
Did you try to compile the DB ?
No MISSING references ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
How do I get out of debug mode and into design mode?

Auguy
Northwest Ohio
 
When I click the debug button it takes me into VBA. How do I get to Access from here so I can change the form? If I click on View and select Access it will show me the form but I can't do anything with it. Is there a way to open this thing without running the program?


Auguy
Northwest Ohio
 
Try holding down the "Shift Key" while opening the DB.
You might end up having to convert the mdb to the version of Access that you are using. (After some revisions to make it compatible)
 
Thanks, that worked. Now I'll see if I can change the calendar control to the newer verison. Will let you know how I make out.


Auguy
Northwest Ohio
 
I have replaced the calendar control with a current version for a short term fix and have advised the client the calendar control should be replaced with something less prone to version problems. Thanks to all for the help.

Auguy
Northwest Ohio
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top