Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2006
    Posts
    157

    Question Unanswered: How to disable the 'save as' button of an application

    Hi everyone,

    I would just like to ask,

    if anyone has a way to disable the saveas button of an application,
    which you run through vba via the application object
    I've tried API function calls, with very little success...

    I've noticed this works with the Office family, though

    appObject.commandbars("file").controls("save as").enabled = false

    but couldn't get it to work with another application



    I'd really appreciate some help on this one



    -sy
    Only quitters quit!

  2. #2
    Join Date
    Jun 2004
    Location
    Arizona, USA
    Posts
    1,848
    AFAIK, There IS no generic, cookbook method that you can use for all applications.

    IF the application provides API's to automater the app, you would need to address each application (and possibly each version of each application) individually. And, depending on the app, disabling the Save As button may not be one of the options that the application authors decided to support.

    If the app does not support automation, you're pretty much out of luck.
    Lou
    使大吃一惊
    "Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
    "I have my standards. They may be low, but I have them!" - Bette Middler
    "It's a book about a Spanish guy named Manual. You should read it." - Dilbert


  3. #3
    Join Date
    Apr 2006
    Posts
    157
    I'm actually going to use it on AutoCAD2004
    Only quitters quit!

  4. #4
    Join Date
    Apr 2006
    Posts
    157
    got it!


    http://discussion.autodesk.com/threa...hreadID=436015

    but not quite, because the shortcut to the actual command still exists

    does anyone around have an idea how to disable the entire save as command?
    Only quitters quit!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •