By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,662 Members | 1,765 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,662 IT Pros & Developers. It's quick & easy.

MsgBox TitleBar text?

P: n/a
MLH
If I run MsgBox "Wow!"
and I see text in the title
bar - where is that text
string setting coming from?

Do I have access to change it?
Sep 8 '06 #1
Share this Question
Share on Google+
11 Replies


P: n/a

MLH wrote:
If I run MsgBox "Wow!"
and I see text in the title
bar - where is that text
string setting coming from?

Do I have access to change it?
Sure, nothing doing. One of the arguments in the MsgBox function is
"Title". That's what changes it For example:

Private Sub Command5_Click()
Dim intReply As Integer
intReply = MsgBox("Do you want to continue?", vbYesNo, "This is the
title of the msgbox")
MsgBox "You chose " & intReply, vbOKOnly + vbInformation
End Sub

Sep 8 '06 #2

P: n/a
MLH
Thank-you there, Pete.
You hit it pretty much on
the head, I believe.

I did a bit more searching.
What I was looking for in
A97 was Tools, Startup,
Application Title. If I change
that to read "My New AppName"

and then I run

MsgBox "Hello"

"My New AppName" will
appear in the MsgBox title
bar.
Sep 8 '06 #3

P: n/a
MLH wrote:
Thank-you there, Pete.
You hit it pretty much on
the head, I believe.

I did a bit more searching.
What I was looking for in
A97 was Tools, Startup,
Application Title. If I change
that to read "My New AppName"

and then I run

MsgBox "Hello"

"My New AppName" will
appear in the MsgBox title
bar.
Warning: Changing the TitleBar text in A97 can cause problems when
trying to do a merge with Word.

James A. Fortune
CD********@FortuneJames.com

Best resume?:
http://www.nashken.com/cartoons/techniks/my_resume.html

Sep 8 '06 #4

P: n/a
CD********@FortuneJames.com wrote in
news:11**********************@e3g2000cwe.googlegro ups.com:
MLH wrote:
>Thank-you there, Pete.
You hit it pretty much on
the head, I believe.

I did a bit more searching.
What I was looking for in
A97 was Tools, Startup,
Application Title. If I change
that to read "My New AppName"

and then I run

MsgBox "Hello"

"My New AppName" will
appear in the MsgBox title
bar.

Warning: Changing the TitleBar text in A97 can cause problems when
trying to do a merge with Word.
Er, what?

Do you mean the title bar of a MsgBox, or do you mean the title bar
of Access?

And how would that have an affect on an ODBC-based merge? Wouldn't
only be relevant to DDE-based merges, which no one with any sense
uses any more?

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Sep 8 '06 #5

P: n/a
MLH <CR**@NorthState.netwrote in
news:11********************************@4ax.com:
If I run MsgBox "Wow!"
and I see text in the title
bar - where is that text
string setting coming from?

Do I have access to change it?
Read the F-ing help file, you moron.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Sep 8 '06 #6

P: n/a
MLH
>Warning: Changing the TitleBar text in A97 can cause problems when
trying to do a merge with Word.

James A. Fortune
CD********@FortuneJames.com
'preciate the heads up on that, James. Might come in handy.
Sep 8 '06 #7

P: n/a

David W. Fenton wrote:
Read the F-ing help file, you moron.
you mean that book thing hidden under the F1 key with all those words
in it? <g>

Sep 8 '06 #8

P: n/a
David W. Fenton wrote:
CD********@FortuneJames.com wrote in
news:11**********************@e3g2000cwe.googlegro ups.com:
MLH wrote:
Thank-you there, Pete.
You hit it pretty much on
the head, I believe.

I did a bit more searching.
What I was looking for in
A97 was Tools, Startup,
Application Title. If I change
that to read "My New AppName"

and then I run

MsgBox "Hello"

"My New AppName" will
appear in the MsgBox title
bar.
Warning: Changing the TitleBar text in A97 can cause problems when
trying to do a merge with Word.

Er, what?

Do you mean the title bar of a MsgBox, or do you mean the title bar
of Access?

And how would that have an affect on an ODBC-based merge? Wouldn't
only be relevant to DDE-based merges, which no one with any sense
uses any more?

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
I mean the title bar of Access.

I've never used an ODBC-based merge in A97 but I suspect that an
ODBC-based merge will not have this problem.

It's been many years but I recall an A97 app that opened Word via
automation and controlled the merge from Access. Everything worked
perfectly until the title bar of Access was changed. Word opened a
separate instance of A97 because it was looking for something like
"Microsoft Access" in the title bar.

James A. Fortune
CD********@FortuneJames.com

You know you're dealing with a computer illiterate when...

They keep a CD in the CD-ROM drive so the coffee cup won't slip
through.

They think splash page has something to do with toilet paper.

Sep 8 '06 #9

P: n/a
CD********@FortuneJames.com wrote in
news:11**********************@p79g2000cwp.googlegr oups.com:
David W. Fenton wrote:
>CD********@FortuneJames.com wrote in
news:11**********************@e3g2000cwe.googlegr oups.com:
MLH wrote:
Thank-you there, Pete.
You hit it pretty much on
the head, I believe.

I did a bit more searching.
What I was looking for in
A97 was Tools, Startup,
Application Title. If I change
that to read "My New AppName"

and then I run

MsgBox "Hello"

"My New AppName" will
appear in the MsgBox title
bar.

Warning: Changing the TitleBar text in A97 can cause problems
when trying to do a merge with Word.

Er, what?

Do you mean the title bar of a MsgBox, or do you mean the title
bar of Access?

And how would that have an affect on an ODBC-based merge?
Wouldn't only be relevant to DDE-based merges, which no one with
any sense uses any more?

I mean the title bar of Access.
Not relevant when the question is about the title bar of a MsgBox.
I've never used an ODBC-based merge in A97 but I suspect that an
ODBC-based merge will not have this problem.
Why would anyone in their right mind do a Word merge via anything
other than ODBC? DDE is so incredibly inefficient and problematic
that it's unusable, even on today's very fast PCs.
It's been many years but I recall an A97 app that opened Word via
automation and controlled the merge from Access. Everything
worked perfectly until the title bar of Access was changed. Word
opened a separate instance of A97 because it was looking for
something like "Microsoft Access" in the title bar.
Using DDE, which was an outdated technology when Office 97 was
released, because that was the version with VBA Automation
throughout all of Office. And ODBC-to-Jet was always faster in Word
than DDE, since it didn't have to load Access.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Sep 8 '06 #10

P: n/a
David W. Fenton wrote:
CD********@FortuneJames.com wrote in
news:11**********************@p79g2000cwp.googlegr oups.com:
David W. Fenton wrote:
CD********@FortuneJames.com wrote in
news:11**********************@e3g2000cwe.googlegro ups.com:

MLH wrote:
Thank-you there, Pete.
You hit it pretty much on
the head, I believe.

I did a bit more searching.
What I was looking for in
A97 was Tools, Startup,
Application Title. If I change
that to read "My New AppName"

and then I run

MsgBox "Hello"

"My New AppName" will
appear in the MsgBox title
bar.

Warning: Changing the TitleBar text in A97 can cause problems
when trying to do a merge with Word.

Er, what?

Do you mean the title bar of a MsgBox, or do you mean the title
bar of Access?

And how would that have an affect on an ODBC-based merge?
Wouldn't only be relevant to DDE-based merges, which no one with
any sense uses any more?
I mean the title bar of Access.

Not relevant when the question is about the title bar of a MsgBox.
The message I replied to talked about the Application Title.
>
I've never used an ODBC-based merge in A97 but I suspect that an
ODBC-based merge will not have this problem.

Why would anyone in their right mind do a Word merge via anything
other than ODBC? DDE is so incredibly inefficient and problematic
that it's unusable, even on today's very fast PCs.
Because when I did it way back then I was used to Access 2.0
programming. DDE worked very well.
>
It's been many years but I recall an A97 app that opened Word via
automation and controlled the merge from Access. Everything
worked perfectly until the title bar of Access was changed. Word
opened a separate instance of A97 because it was looking for
something like "Microsoft Access" in the title bar.

Using DDE, which was an outdated technology when Office 97 was
released, because that was the version with VBA Automation
throughout all of Office. And ODBC-to-Jet was always faster in Word
than DDE, since it didn't have to load Access.
As I said, I never tried an ODBC merge. Thanks for pointing out its
merits.
>
--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
James A. Fortune
CD********@FortuneJames.com

Sep 8 '06 #11

P: n/a
On Fri, 08 Sep 2006 12:22:55 -0500, "David W. Fenton"
<XX*******@dfenton.com.invalidwrote:
>MLH <CR**@NorthState.netwrote in
news:11********************************@4ax.com :
>If I run MsgBox "Wow!"
and I see text in the title
bar - where is that text
string setting coming from?

Do I have access to change it?

Read the F-ing help file, you moron.
You know, in addition to not annoying David, you would almost
certainly save yourself some time. Typing the word msgbox then
tapping the F1 key would take much less time than posting a message.

You won't get all the answers from the help, of course, but at least
in this case, you would have immediately gotten the answer you were
looking for. Very often, it's the best place to start.

-=-=-=-=-=-=-=-=-=-=-=-=
Randy Harris
tech at promail dot com
Sep 9 '06 #12

This discussion thread is closed

Replies have been disabled for this discussion.