Vbs Tutorial: VBScript attributes-helpfile attributes

Source: Internet
Author: User

Helpfile attributes

Sets or returns the complete valid path of the Help file.

Object.Helpfile[= Contextid]

Parameters

Object

Required.ErrObject.

Contextid

Optional. The complete valid path of the Help file.

Description

IfHelpfileWhen the Help file is specified, When you clickHelpThis file is automatically called when you press the button (or press the F1 key. IfHelpcontextIf the attribute contains the valid context ID of the specified file, the topic is automatically displayed. If not specifiedHelpfileThe VBScript help file is displayed.

  on error resume nextdim msgerr. clearerr. Raise 6'  produces an "overflow" error.    err. helpfile   = " yourhelp. HLP  "  err. helpcontext =  yourcontextid    If err. number <> 0 then   MSG = " press  F1  or  help  to view  "& err. helpfile & " topics related to the following  helpcontext" & _   " :" & err. helpcontext   msgbox MSG, " error :" & err. description, err. helpfile, err. helpcontext   end if  

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.