Home » Developer & Programmer » Forms » Calling client_host from Menu (Forms 11G)
Calling client_host from Menu [message #614963] Thu, 29 May 2014 03:32 Go to next message
RaShi.Raj
Messages: 84
Registered: May 2014
Location: Bangalore
Member
Hi,

We have migrated forms application from 6i to 11g. In the menu module we are calling help file (.hlp) using host command as below...

HOST ('winhlp32.exe test.hlp');

I changed HOST to CLIENT_HOST to suit 11g requirement. But in the run time getting webutil error (oracle.forms.webutil.host.HOST been not found). This is becasue I did not subclass webutil.olb file. I'm not able to add .olb file to my menu module like I do for forms ( I can't drag the webutil object under 'Object Groups'). Why is that subclassing don't work for Menus? Is there alternative to call help file from menus? I tried calling this from a form(fmb) where webutil libraries are added and it works fine.

Thanks,
Ravi
Re: Calling client_host from Menu [message #614970 is a reply to message #614963] Thu, 29 May 2014 04:09 Go to previous messageGo to next message
Littlefoot
Messages: 21805
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
11g application runs on a server, while clients (users) access it via web browser. So, why wouldn't you move help files to server as well and let users fetch it from the server, instead of keeping a copy of the help file on every single client?
Re: Calling client_host from Menu [message #614971 is a reply to message #614970] Thu, 29 May 2014 04:25 Go to previous messageGo to next message
RaShi.Raj
Messages: 84
Registered: May 2014
Location: Bangalore
Member
I have help file in the server (in the forms path) but how do I open it from the menu?
Re: Calling client_host from Menu [message #614982 is a reply to message #614971] Thu, 29 May 2014 04:49 Go to previous messageGo to next message
Littlefoot
Messages: 21805
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
With HOST, I presume (though, I know close to nothing about menus).
Re: Calling client_host from Menu [message #614993 is a reply to message #614963] Thu, 29 May 2014 05:26 Go to previous messageGo to next message
RaShi.Raj
Messages: 84
Registered: May 2014
Location: Bangalore
Member
Thanks littleFoot Smile

It seems since bean cannot be included in a menu, webutil.olb cannot be included as well. What i did is, setup a key (KEY-MENU) in the wrapper form of that menu (logon screen) and then coded EXECUTE_TRIGGER('KEY-MENU') in menu item. In the key-menu trigger of the form, client_host is called to open help file (using clienthost as winhlp32.exe is at client system). This works.

Re: Calling client_host from Menu [message #614996 is a reply to message #614993] Thu, 29 May 2014 05:35 Go to previous message
Littlefoot
Messages: 21805
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Cool! I'm glad you found the solution and shared it with us.
Previous Topic: go_item fires when_validate_item trigge
Next Topic: when-validate-item not firing when click on field to edit
Goto Forum:
  


Current Time: Mon Mar 18 23:51:46 CDT 2024