>I'm trying to automate the creation of the help file via VFP 6.0 SP4 (i'm using HelpBuilder 2.01)
>My program does the following :
>
>
>public ohelp
>oHelp = CREATEOBJECT('wwHelp.wwhelp')
>oHelp.Open('c:\h1\t1.hbp',.t.)
>oHelp.newtopic()
>oHelp.oTopic.Topic='Hello'
>
>In the last line i get the error :
>
>Member OTOPIC does not evaluate to an object
>
>Can you help me ?
>
>Thanks in advance.
The only thing I can think of is that the oHelp.Open failed, but I would expect you'd get an error there and with .newtopic if it did. You might try and post this question on the West Wind messageboard (
www.west-wind.com/wwthreads) if you don't get a response here pretty soon.