473,395 Members | 1,454 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,395 software developers and data experts.

RunTime Error 2455 in Access 2000

Any idea, what could be reason for the following effect.
Code developed in acc97 generates RunTime Error 2455 in Access 2000:
claiming the Name reference is wrong:
ctlLabel.Name

In the SUB:
Sub SymSizes(frm As Form, strSymbol As String, _
Optional intFontSize As Integer, Optional intFontName As String, _
Optional intFontweight As Integer)

Dim ctlLabel As Control
Set ctlLabel = CreateControl(frm.Name, acLabel, , "", _
String(10, strSymbol), _
100, 100)
If (intFontSize > 0) Then
ctlLabel.FontSize = intFontSize
ctlLabel.FontName = intFontName
ctlLabel.FontWeight = intFontweight
End If

ctlLabel.SizeToFit
intSymWi = ctlLabel.Width / 10
intSymHe = ctlLabel.Height

DeleteControl frm.Name, ctlLabel.Name
End Sub

Thanks
Nov 12 '05 #1
0 1857

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

Similar topics

1
by: Tobias Zimmergren | last post by:
Hi. I've got the Access Runtime from the Microsoft Office 2000 Developer. I used to run it with Windows NT 4.0 and Office 2000. The operating system Windows NT4.0 is a Swedish version, and so...
0
by: Vladislav Moltchanov | last post by:
Any idea, what could be reason for the following effect. Code developed in acc97 generates RunTime Error 2455 in Access 2000: claiming the Name reference is wrong: ctlLabel.Name In the SUB:...
5
by: Nathan Bloom | last post by:
Hi, I have a secured database that runs fine on the computer the database is installed on. I have several workstations with access runtime installed that also need access to the database. ...
5
by: Bob Dydd | last post by:
Hi Everybody I have an Access 2000 MDB with the Usual FrontEnd/BackEnd Arrangement. The program depends on being able link to "Inbox" in Ms Outlook 2000. This is easy enough to do from the...
4
by: Aliza Klein | last post by:
Apologies in advance as I am SURE this has been asked 100 times - but I haven't got a simple answer: I have MS Office XP Developer and have created an installation package (with the runtime) for...
2
by: Andy Davis | last post by:
After installing Access 2000 runtime on a PC, will an Access database, when opened, automatically use the installed runtime or does the database have to reference the runtime apllication somehow?...
3
by: lauren quantrell | last post by:
I have an Access 2000 form that I open showing only the header. The form's detail section visible property is set to false. The detail section contains a subform. Using a command button, I use the...
17
by: Owen Jenkins | last post by:
I have an Access application that is being used by 150+ clients. I develop in 97, convert to 2000 and distribute as a 97 or 2000 mde, or 97 runtime. This limits me to 97 functions. My clients may...
33
by: larpup | last post by:
I checked all my references prior to compiling. The mdb or mde works perfectly with full version of A2003. When running on a computer with RunTime i receive an error that a reference is broken...
0
by: Yelena Varshal via AccessMonster.com | last post by:
Hello We have a shortcut for our MS ACCESS application that uses a /Runtime switch because we may have some users that use Runtime. The application worked fine in Access 2000 and was tested with...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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.