GeofS




Ive compiled a VFP6 application with VFP9 without a problem. However, when the app starts up I now get the error "Variable _HELPWEBSEARCH is not found." This name is used in the definition of a menu item that opens a Web page. Why cant the program find that name Has it changed in the evolution from VFP6 to VFP9




Re: Missing variable _HELPWEBSEARCH

Tamar E. Granor


That isn't a built-in variable in VFP. Can you run the app interactively and see where it's failing

Tamar





Re: Missing variable _HELPWEBSEARCH

dni

See:http:http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=2321640&SiteID=1







Re: Missing variable _HELPWEBSEARCH

GeofS

It is in the list of reserved words shown at "http://msdn2.microsoft.com/en-us/library/xztfc506(VS.80).aspx", but I can't find any indication of where it's defined or what kind of value it contains.

I've tried running interactively, but apparently my skills aren't quite up to the required level. When I try running the program in the debugger, it tells me that the 'source is not available', even though it's in the same folder as the EXE and/or APP files.

I can preview the menu in the designer, but that doesn't tell me very much. I've got screenshots of the menu in the designer and in the running program. (I tried pasting the images into this message, but apparently that's not allowed.) The only noticable difference - at least to me - is that the menu item that references the missing variable appears as expected in the designer preview, but, after the error is cleared and the compiled program resumes operation, that menu item isn't there. Is that a significant clue

Thanks for your response.









Re: Missing variable _HELPWEBSEARCH

dni

It may be a API identifier for the system menu. You may try to define it:

#DEFINE _HELPWEBSEARCH <MenuItemNumber>

It is hard to say without a "piece" of code.....