> AFAIK, there's no way to define it.
>
> Consider having a function that determines the location of the MDB file,
> and creates the path to the help file using that information, and then use
> the function rather than a constant.
>
> --
> Doug Steele, Microsoft Access MVP
>
http://I.Am/DougSteele> (no e-mails, please!)
>
>
> "kon" <iliadisk[ at ]panafonet.gr> wrote in message
> news:u2I9fan1GHA.3908[ at ]TK2MSFTNGP05.phx.gbl...
>>I have a code
>> where I define where exactly the help file is (by default in current
>> directory where the database is). In the forms in the help file field
>> there is no problem Event when I change the location of the database. On
>> the contrary on msgboxs the help file can't be located. Once I redefine
>> the location then it's Ok.
>>
>> MsgBox("Show message", vbCritical + vbYesNo + vbDefaultButton2 +
>> vbMsgBoxHelpButton, helpfilename,90)
>>
>> the helpfilename how can I define where it is in order to avoide the
>> message cannot find the "filename".hlp file.Do you want to try to find
>> this file yourself?
>>
>> Thank in advance
>>
>>
>
>