473,396 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

ocx versions 5 & 6 Incompatibilty

I have designed an Access 97 database to run on NT4 and found that
using certain PCs I get Error 3075 when opening forms based on queries
using format calculations.

I believe that I have tracked down the cause of my problem, in that,
some PCs on the Network have comctl32.ocx version 5.01.4319 and some
have version 6.00.8022. Similarly comdlg32.ocx has versions 5.01.4319
& 6.00.8418.

Through trial and error I have found that a database built on a PC
with one Build standard is only compatible with other PCs of the same
Build standard. Consequently I now have two MDBs and two MDEs to
maintain configuration for.

I do not think that this is a problem of "Lost References",I have
module procedures which can repair broken references and if neccessary
attach new references (courtesy of mvps). I am aware of but do not do
not know in depth how References work.

Does anybody out there know if I have identified the cause and if so
is there any work round until all PCs have the same standard?
Nov 12 '05 #1
2 1111
pe*************@baesystems.com (Peter Halfacree) wrote:
I believe that I have tracked down the cause of my problem, in that,
some PCs on the Network have comctl32.ocx version 5.01.4319 and some
have version 6.00.8022. Similarly comdlg32.ocx has versions 5.01.4319
& 6.00.8418.
Makes sense. What are you using comctl32 and comdlg32 for? See if the following is
of any assistance. We have work arounds for some of the most common functions but
not all yet.

How do you get rid of troublesome references?
http://www.granite.ab.ca/access/referencetroubles.htm
I do not think that this is a problem of "Lost References",I have
module procedures which can repair broken references and if neccessary
attach new references (courtesy of mvps). I am aware of but do not do
not know in depth how References work.


Trouble is these don't work in MDEs.

Subject: INFO: How to guarantee that references will work in your applications.
http://www.trigeminal.com/usenet/usenet026.asp?1033

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Nov 12 '05 #2
Tony,

thank you for your reply.

wrt to what I am using the ocx files for: I'm not sure. But whilst
trying to compile and save modules for the MDB on the Version 6 PC the
system could not recognise fld.Name as a function (where fld is a
member of the Fields Collection of a query opened as a dbOpenDynaset).
This Sub (see below) works perfectly well on the Version 5 PCs, so
why won't it work on the other?

************************************************** *******
Private Sub ReportFooter_Format(Cancel As Integer, FormatCount As
Integer)

'*This procedure uses the data in strqryName to fill the unbound boxes
'*on the Report Footer whose Name coincides with the query column
name.

Dim db As Database, rst As Recordset, fld As field, ctl As Control
Dim strFieldName, strqryName As String

strqryName = "qryCalculate_for_Contract_Summary"

Set db = CurrentDb()
Set rst = db.OpenRecordset(strqryName, dbOpenDynaset)

'*There is only one line of data on this query
With rst
..MoveLast
..MoveFirst
For Each ctl In Me.ReportFooter.Controls
For Each fld In rst.Fields
'*.Fields is a collection
strFieldName = fld.Name
'*.Name is a member of the Fields Collection
If strFieldName = ctl.Name Then
'*Update Control Value with the Query Value
Me(strFieldName) = rst(strFieldName)
End If
Next fld
Next ctl
End With

Set rst = Nothing
Set db = Nothing

End Sub
*******************************************

#Note: the data in the footer is not connected in any way to the
Report DataSource.

Once again, thank you for for your time.

Best wishes, Pete

Tony Toews <tt****@telusplanet.net> wrote in message news:<mj********************************@4ax.com>. ..
pe*************@baesystems.com (Peter Halfacree) wrote:
I believe that I have tracked down the cause of my problem, in that,
some PCs on the Network have comctl32.ocx version 5.01.4319 and some
have version 6.00.8022. Similarly comdlg32.ocx has versions 5.01.4319
& 6.00.8418.


Makes sense. What are you using comctl32 and comdlg32 for? See if the following is
of any assistance. We have work arounds for some of the most common functions but
not all yet.

How do you get rid of troublesome references?
http://www.granite.ab.ca/access/referencetroubles.htm
I do not think that this is a problem of "Lost References",I have
module procedures which can repair broken references and if neccessary
attach new references (courtesy of mvps). I am aware of but do not do
not know in depth how References work.


Trouble is these don't work in MDEs.

Subject: INFO: How to guarantee that references will work in your applications.
http://www.trigeminal.com/usenet/usenet026.asp?1033

Tony

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Second_Chance | last post by:
Hi, as a newbie, I am somewhat concerned that i have the right versions of AMP on my Win XP system so it will all work together... Is there some link that (in simple terms!) tells which versions...
1
by: DrTebi | last post by:
Hello, I have the following problem: I used to "encode" my email address within links, in order to avoid (most) email spiders. So I had a link like this: <a...
0
by: Thomas Scheffler | last post by:
Hi, I runned in trouble using XALAN for XSL-Transformation. The following snipplet show what I mean: <a href="http://blah.com/?test=test&amp;test2=test2">Test1&amp;</a> <a...
4
by: johkar | last post by:
When the output method is set to xml, even though I have CDATA around my JavaScript, the operaters of && and < are converted to XML character entities which causes errors in my JavaScript. I know...
3
by: wizzbangca | last post by:
Hi everyone. Having problems with a utility I am writing for work. The previous IT Director thoughtfully allowed 3 (2000, xp, 2003) versions of outlook to be installed rather than 1. Now I need...
1
by: Tim Bücker | last post by:
Hello. Are there any resources out there (because I couldn´t find any) concerning the usage of assemblies with different features in each version? In other words: I´ve got one assembly A...
14
by: Arne | last post by:
A lot of Firefox users I know, says they have problems with validation where the ampersand sign has to be written as &amp; to be valid. I don't have Firefox my self and don't wont to install it only...
12
by: InvalidLastName | last post by:
We have been used XslTransform. .NET 1.1, for transform XML document, Dataset with xsl to HTML. Some of these html contents contain javascript and links. For example: // javascript if (a &gt; b)...
1
by: Joe | last post by:
Hello to all! I have an interessting question here concerning ClickOnce technology. I have a .NET 3.5 Windows application that is deployed on client computer via ClickOnce. The version is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.