MsgBox TitleBar text?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MLH

    MsgBox TitleBar text?

    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?
  • pietlinden@hotmail.com

    #2
    Re: MsgBox TitleBar text?


    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

    Comment

    • MLH

      #3
      Re: MsgBox TitleBar text?

      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.

      Comment

      • CDMAPoster@FortuneJames.com

        #4
        Re: MsgBox TitleBar text?

        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
        CDMAPoster@Fort uneJames.com

        Best resume?:


        Comment

        • David W. Fenton

          #5
          Re: MsgBox TitleBar text?

          CDMAPoster@Fort uneJames.com wrote in
          news:1157692005 .887139.121660@ e3g2000cwe.goog legroups.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/

          Comment

          • David W. Fenton

            #6
            Re: MsgBox TitleBar text?

            MLH <CRCI@NorthStat e.netwrote in
            news:11m1g2la2c s5f61rr6v6fk8l8 s25lqdirn@4ax.c om:
            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/

            Comment

            • MLH

              #7
              Re: MsgBox TitleBar text?

              >Warning: Changing the TitleBar text in A97 can cause problems when
              >trying to do a merge with Word.
              >
              >James A. Fortune
              >CDMAPoster@For tuneJames.com
              'preciate the heads up on that, James. Might come in handy.

              Comment

              • pietlinden@hotmail.com

                #8
                Re: MsgBox TitleBar text?


                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>

                Comment

                • CDMAPoster@FortuneJames.com

                  #9
                  Re: MsgBox TitleBar text?

                  David W. Fenton wrote:
                  CDMAPoster@Fort uneJames.com wrote in
                  news:1157692005 .887139.121660@ e3g2000cwe.goog legroups.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
                  CDMAPoster@Fort uneJames.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.

                  Comment

                  • David W. Fenton

                    #10
                    Re: MsgBox TitleBar text?

                    CDMAPoster@Fort uneJames.com wrote in
                    news:1157753665 .528981.297190@ p79g2000cwp.goo glegroups.com:
                    David W. Fenton wrote:
                    >CDMAPoster@Fort uneJames.com wrote in
                    >news:115769200 5.887139.121660 @e3g2000cwe.goo glegroups.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/

                    Comment

                    • CDMAPoster@FortuneJames.com

                      #11
                      Re: MsgBox TitleBar text?

                      David W. Fenton wrote:
                      CDMAPoster@Fort uneJames.com wrote in
                      news:1157753665 .528981.297190@ p79g2000cwp.goo glegroups.com:
                      >
                      David W. Fenton wrote:
                      CDMAPoster@Fort uneJames.com wrote in
                      news:1157692005 .887139.121660@ e3g2000cwe.goog legroups.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
                      CDMAPoster@Fort uneJames.com

                      Comment

                      • Randy Harris

                        #12
                        Re: MsgBox TitleBar text?

                        On Fri, 08 Sep 2006 12:22:55 -0500, "David W. Fenton"
                        <XXXusenet@dfen ton.com.invalid wrote:
                        >MLH <CRCI@NorthStat e.netwrote in
                        >news:11m1g2la2 cs5f61rr6v6fk8l 8s25lqdirn@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

                        Comment

                        Working...