Help on Host built-in [message #437388] |
Mon, 04 January 2010 03:40 |
amit.sonar
Messages: 98 Registered: December 2009 Location: Mumbai
|
Member |
|
|
Hi everybody,
I am working on form in which i created menu. That menu has submenu called 'Service desk. when user click on 'service desk' it take the user to weblink which is opened in mozilla firefox.. I used host built in to launch mozilla firefox. It works fine.
The next functionality i want that is when firefox is not installed on system then it will populate message to user "Please install firefox". How can i check with oracle forms whether firefox is installed in system or not. Is there any way to do it?
I am using solaris 9 operating system and forms 6i.
Please help me on this.
[Updated on: Mon, 04 January 2010 03:48] Report message to a moderator
|
|
|
|
|
|
Re: Help on Host built-in [message #437761 is a reply to message #437572] |
Tue, 05 January 2010 23:17 |
amit.sonar
Messages: 98 Registered: December 2009 Location: Mumbai
|
Member |
|
|
Sriram,
I know that. That topic was posted by me only. But nobody able to help me on this. Following code works fine in windows. But what about Solaris?
declare
v_firefox varchar2(100);
begin
v_firefox := Win_Api_Environment.Read_Registry ('HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox\3.5.5 (en-US)\Main','PathToExe',true);
message('Firefox is installed on: '||v_firefox);
exception
when no_data_found then
message('Firefox is not installed');
end;
how can i find in solaris that firefox is installed or not? Like in window you can find it with the help of registry.
Do you get my point?
[Updated on: Tue, 05 January 2010 23:21] Report message to a moderator
|
|
|
|
Re: Help on Host built-in [message #437782 is a reply to message #437770] |
Wed, 06 January 2010 00:07 |
amit.sonar
Messages: 98 Registered: December 2009 Location: Mumbai
|
Member |
|
|
Thanks for quick reply Sriram.
I googled pkginfo. Its command that tells how many packages are installed in system but how can i check with it that firefox is installed in system or not because for the first time i am working on solaris. I have no idea about solaris.
Amit.
|
|
|
|