msgbox帮助参数问题 [英] msgbox help parameter problem

查看:93
本文介绍了msgbox帮助参数问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

MsgBox的最后2个参数用于帮助按钮。我添加了帮助文件名和上下文编号。当MsgBox显示帮助按钮时,但单击该按钮会显示"访问帮助"。帮助文件和上下文编号是正确的,因为
我可以从主菜单中按F1键并显示正确的帮助文件和页面。我正在使用的电话是:

Last 2 parameters for MsgBox are for a help button. I've added the help file name and the context number. When the MsgBox displays the help button is shown but clicking on the button brings up Access Help. The Help File and context numbers are correct because I can press F1 key from my main menu and the correct help file and page displays. The call I'm using is:

 

  HelpName = Me.HelpFile

  HelpNbr = 1

  OperResp = MsgBox(" File->"& HelpName&"  Nbr:"& HelpNbr,vbOKOnly + vbMsgBoxHelpButton," Title",HelpName,HelpNbr)

  HelpName = Me.HelpFile
  HelpNbr = 1
  OperResp = MsgBox("File->" & HelpName & "  Nbr:" & HelpNbr, vbOKOnly + vbMsgBoxHelpButton, "Title", HelpName, HelpNbr)

 

推荐答案

Hi KruppClerk,

           
欢迎来到MSDN论坛,我很乐意为您提供帮助。

            Welcome to MSDN forum and I am glad to help with you.

阅读完帖子后,我知道你可以打开Access通过代码提供帮助。如果我误解了你,请告诉我

            
至于这个问题,您是否在我的计算机上调试以查看HelpName =“”,我发现它等于一个空字符串。

            As for this issue, did you debug to see whether the HelpName = “”, on my computer, I see that it equals an empty string.

           
此外,以下是一些文章供您参考访问帮助文件:

            In addition, here are some articles for you to reference about Access Help File:

http://msdn.microsoft.com/ en-us / library / aa140537(office.10).aspx

http://support.microsoft.com/kb/ 209843

http://support.microsoft.com/kb/ 210166

http://support.microsoft.com/kb/ 275117

           
我希望这些可以帮到你并随时跟进。

            I hope these can help you and feel free to follow up.

最好的问候,

Bruce Song


这篇关于msgbox帮助参数问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆