Application.Name

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • bruce@aristotle.net

    Application.Name

    Hello,

    I'm almost embarrassed to ask this question, but my searches have not
    yielded any results.

    How does one change what the Application.Nam e property returns in
    Access 2003? I see that it is a read only property at runtime, but is
    there a way to change it at design time? No matter what I do,
    Application.Nam e always returns "Microsoft Access". I tried setting a
    value in the Application Title under Tools, Startup from the Access
    menu but Application.Nam e apparently has nothing to do with this
    setting (i.e., typing
    ?Application.Na me in the immediate window still prints "Microsoft
    Access".)

    Any help greatly appreciated. Thanks.

    Bruce

  • Br@dley

    #2
    Re: Application.Nam e

    bruce@aristotle .net wrote:[color=blue]
    > Hello,
    >
    > I'm almost embarrassed to ask this question, but my searches have not
    > yielded any results.
    >
    > How does one change what the Application.Nam e property returns in
    > Access 2003? I see that it is a read only property at runtime, but is
    > there a way to change it at design time? No matter what I do,
    > Application.Nam e always returns "Microsoft Access". I tried setting a
    > value in the Application Title under Tools, Startup from the Access
    > menu but Application.Nam e apparently has nothing to do with this
    > setting (i.e., typing
    > ?Application.Na me in the immediate window still prints "Microsoft
    > Access".)
    >
    > Any help greatly appreciated. Thanks.
    >
    > Bruce[/color]

    Change your startup options.... (Tools/Startup)

    --
    regards,

    Bradley

    A Christian Response



    Comment

    • bruce@aristotle.net

      #3
      Re: Application.Nam e

      Thanks Bradley, but did you read my post before you replied? What
      would you have me change in Tools/Startup?

      Bruce

      Comment

      • Br@dley

        #4
        Re: Application.Nam e

        bruce@aristotle .net wrote:[color=blue]
        > Thanks Bradley, but did you read my post before you replied?[/color]

        Why, did I misunderstand you?

        (Snipping it and my reply from this post doesn't help).
        [color=blue]
        > What
        > would you have me change in Tools/Startup?
        >
        > Bruce[/color]

        You'd change the Application Title. Then when you open your database
        this name will be displayed instead of "Microsoft Access".

        (If you open your database by holding down the shift key, or you don't
        have an Autoexec or Startup form, then this doesn't work).
        --
        regards,

        Bradley

        A Christian Response



        Comment

        • bruce@aristotle.net

          #5
          Re: Application.Nam e

          Hi Bradley,

          I appreciate your efforts to help, but I think you're trying to answer
          a question I didn't ask. My question is in regards to the Name
          property of the Application object, i.e., is there a way to affect what
          the Name property of the Application object returns. For example, try
          the following:

          Open the Northwind database that comes with Access. Select Tools,
          Startup, and change the Application Title property to "Bradley's
          Database". Now add the following line of code to the Load event of the
          Main Switchboard form:

          Me.Caption = Application.Nam e

          Now view the Main Switchboard form in Form view and note what you see
          in the form's title bar versus the database title bar.

          Bruce

          Comment

          Working...