473,789 Members | 2,683 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Include Custom Property on Title Bar?

Ken
Hi.

I've defined a custom database property called Version. It is a text
value. I wanted to know if there is a way to include that value on
the title bar of a form window. Also, is there a way to include it on
the title bar of the database window?

I'm using Access 97.

Thanks for any info!

Ken
Nov 12 '05 #1
3 4994
Private Sub Form_Open(Cance l As Integer)
Me.Caption = "Put your text here"

DBEngine(0)(0). Properties("App Title") = "Put your text here"
Application.Ref reshTitleBar
End Sub
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html

"Ken" <kk****@yahoo.c om> wrote in message
news:51******** *************** ***@posting.goo gle.com...
Hi.

I've defined a custom database property called Version. It is a text
value. I wanted to know if there is a way to include that value on
the title bar of a form window. Also, is there a way to include it on
the title bar of the database window?

I'm using Access 97.

Thanks for any info!

Ken

Nov 12 '05 #2
Ken
But how would I access a custom database property?

Also, I just noticed that the caption of the application window title
bar can be changed outside of VBA by entering a string in the
Tools/Startup window's "Applicatio n Title" data entry box. Is there a
way to access the custom database property from that data entry box so
it would get included in the app window's title bar?

Thanks again!

Ken

"Allen Browne" <ab************ ***@bigpond.net .au> wrote in message news:<u8******* *************@n ews-server.bigpond. net.au>...
Private Sub Form_Open(Cance l As Integer)
Me.Caption = "Put your text here"

DBEngine(0)(0). Properties("App Title") = "Put your text here"
Application.Ref reshTitleBar
End Sub
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html

"Ken" <kk****@yahoo.c om> wrote in message
news:51******** *************** ***@posting.goo gle.com...
Hi.

I've defined a custom database property called Version. It is a text
value. I wanted to know if there is a way to include that value on
the title bar of a form window. Also, is there a way to include it on
the title bar of the database window?

I'm using Access 97.

Thanks for any info!

Ken

Nov 12 '05 #3
If you did a CreateProperty( ) to create a property named "Version" on the
current database object, then you should be able to read that property and
assign it to the AppTitle property:

With DBEngine(0)(0)
.Properties("Ap pTitle") = .Properties("Ve rsion")
End With
Application.Ref reshTitleBar

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html

"Ken" <kk****@yahoo.c om> wrote in message
news:51******** *************** ***@posting.goo gle.com...
But how would I access a custom database property?

Also, I just noticed that the caption of the application window title
bar can be changed outside of VBA by entering a string in the
Tools/Startup window's "Applicatio n Title" data entry box. Is there a
way to access the custom database property from that data entry box so
it would get included in the app window's title bar?

Thanks again!

Ken

"Allen Browne" <ab************ ***@bigpond.net .au> wrote in message

news:<u8******* *************@n ews-server.bigpond. net.au>...
Private Sub Form_Open(Cance l As Integer)
Me.Caption = "Put your text here"

DBEngine(0)(0). Properties("App Title") = "Put your text here"
Application.Ref reshTitleBar
End Sub
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html

"Ken" <kk****@yahoo.c om> wrote in message
news:51******** *************** ***@posting.goo gle.com...
Hi.

I've defined a custom database property called Version. It is a text
value. I wanted to know if there is a way to include that value on
the title bar of a form window. Also, is there a way to include it on
the title bar of the database window?

I'm using Access 97.

Thanks for any info!

Ken

Nov 12 '05 #4

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

Similar topics

1
6774
by: E J | last post by:
Does anyone know of a way to wrap custom tags around selected text using execCommand or otherwise? I am developing a rich text editor for use in a web site and while there are a few decent ones already floating around I need to implement a few extra bits of functionality. Specifically tool tips. Idealy I'd like to wrap custom tags around selected text using execCommand. Ie "Selected Text"
3
10837
by: Joe Bloggs | last post by:
Does anyone know if its possible to pass parameters or the values of Request.QueryString from a web page to a custom control class? I'm using a C# Web Application. For Example I have Web Page1 which has to parameters passed to it from another Web page Parameter # 1 dbid and Parameter # 2 reportid. I know that I can access the values of the parameters from the code behind .aspx.cs using Request.QueryString so
2
3199
by: Jay Walker | last post by:
I created a custom DataGridColumn based on Marcie Robillard's MSDN Article: Creating Custom Columns for the ASP.NET Datagrid http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/creatingcustomcolumns.asp The problem I am having is that the data in the custom datagridcolumn is not saved to viewstate and after postback, the column does not contain data.
0
1045
by: Sanjay Pais | last post by:
This is an extension of an earlier post I have created a custom text box and compiled it and dropped it into my toolbox. However when I change the value of my custom property in design mode and switch between design mode to page source and back to design mode i am unable to retrieve the property value I set. Also the property setting in the html page is lost. Thsi is the error I get **********************************...
2
3853
by: Justin Drerup | last post by:
I'm tryng to return a custom object that contains a collection of MembershipUsers through a web service however I receive the following error when trying to return the object through a web method: You must implement a default accessor on System.Web.Security.MembershipUserCollection because it inherits from ICollection. The error appears when trying to load the WebService.asmx file. The code builds fine.
1
4996
by: Jakob Lithner | last post by:
When I started a new ASP project I was eager to use the login facilities offered in Framework 2.0/VS 2005. I wanted: - A custom principal that could hold my integer UserID from the database - An easy way to classify different pages as either Admin, Member or Public, where login is necessary for Admin and Member but not for Public. My idea was to put the pages in different directories to easily keep my order. - An easy menu system that...
3
6684
by: =?Utf-8?B?TWFyYyBXb29sZnNvbg==?= | last post by:
Hi, I think this is a relatively simple problem, but it's starting to annoy me quite a bit. I have two issues with a custom Web Part that I have created, both related to property editing at run time using an EditorZone. One of my web parts contains a control which displays information for a particular (default) user. The user should have the ability to select an alternate user whose information should be displayed in the control, and...
4
2493
by: =?Utf-8?B?UmljaEI=?= | last post by:
I am trying to create a project using the ASP.NET AJAX accordion control. I would like to dynamically add panes to the control with a form template added when the pane is added. I have tried unsuccessfully in creating the whole pane as a user control and have succeeded in adding the pane and then dynamically adding the content which is a user control to the pane, dynamically within the page. However I would like to have a single pane...
4
1841
by: Jeff | last post by:
hi asp.net 2.0 I have created a custom web control, here is it's header: <%@ Control Language="C#" AutoEventWireup="true" CodeFile="EditUserBox.ascx.cs" Inherits="Controls_EditUserBox" %> In another custom web user control, I use this web control: <%@ Register Src="~/Controls/EditUserBox.ascx" TagName="Eub" TagPrefix="mb"
0
9511
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10408
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10199
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9983
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9020
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7529
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5417
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4092
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2909
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.