跳到主内容

搜索

搜索

How To Hide Inputbox By Vba (Access) Programming

评论

2 条评论

  • Avatar
    Domingo Rodriguez
    版主
    Are you refering to the InputBox() VBScript function you're calling? If yes, then this is not related to BarTender's data entry form.

    Have you already try to use the btApp.VisibleWindows property? This property can be used since BT v9.10:

    -------
    'Declare a BarTender application variable
    Dim btApp As BarTender.Application

    'Create a new instance of BarTender variable
    btApp = new BarTender.Application

    'Set the BarTender application visible
    [color="#FF0000"]btApp.VisibleWindows = BarTender.BtVisibleWindows.btNone[/color]

    'End the BarTender process
    btApp.Quit(BarTender.BtSaveOptions.btDoNotSaveChanges)
    --------

    If that doesn't help, you might try to run the underlying BT process as a service (if possible) or just rewrite your VBScript code so that you don't have a need to show the "InputBox" VBScript method.
    0
  • Avatar
    Legacy Poster
    Thank you for your help.

    Y already try to use the btApp.VisibleWindows property without any success but with a different syntax.
    With your syntax the result is the same.

    Y solve my problem with rewritting the VbScipt, like as suggested, in the Bartender model.


    Michel
    0

请先登录再写评论。