Home » Developer & Programmer » Forms » Help on Host built-in
Help on Host built-in [message #437388] Mon, 04 January 2010 03:40 Go to next message
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 #437461 is a reply to message #437388] Mon, 04 January 2010 09:25 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Why explicitly Mozilla Firefox? Why wouldn't you simply direct Forms to open that HTML document? If browser (any browser) is installed on that computer, it will be used to open the document. If there's no browser (is there, today ANY computer in the world that doesn't have a browser?), document will fail to open and I'm quite sure that your client won't care about Firefox or Opera or Netscape Navigator or ..., but would be happy to see the document.
Re: Help on Host built-in [message #437569 is a reply to message #437461] Tue, 05 January 2010 01:22 Go to previous messageGo to next message
amit.sonar
Messages: 98
Registered: December 2009
Location: Mumbai
Member
Beacuse they want mozilla firefox........is there any way to do it?
Re: Help on Host built-in [message #437572 is a reply to message #437569] Tue, 05 January 2010 01:36 Go to previous messageGo to next message
ramoradba
Messages: 2457
Registered: January 2009
Location: AndhraPradesh,Hyderabad,I...
Senior Member
You got the answer here right ?

sriram Smile
Re: Help on Host built-in [message #437761 is a reply to message #437572] Tue, 05 January 2010 23:17 Go to previous messageGo to next message
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 #437770 is a reply to message #437761] Tue, 05 January 2010 23:32 Go to previous messageGo to next message
ramoradba
Messages: 2457
Registered: January 2009
Location: AndhraPradesh,Hyderabad,I...
Senior Member
You can use pkginfo search for pkginfo and firefox,Sure you will get the answer.

Goodluck Smile
sriram Smile
Re: Help on Host built-in [message #437782 is a reply to message #437770] Wed, 06 January 2010 00:07 Go to previous messageGo to next message
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.
Re: Help on Host built-in [message #437792 is a reply to message #437782] Wed, 06 January 2010 00:49 Go to previous message
ramoradba
Messages: 2457
Registered: January 2009
Location: AndhraPradesh,Hyderabad,I...
Senior Member
You can find the cmd Here (pkgchk)

Read this which help you furthur Onlne MAN pages


Goodluck Smile
sriram Smile
Previous Topic: Oracle Pop up menu issues
Next Topic: Reconnect at form runtime
Goto Forum:
  


Current Time: Fri Dec 06 01:35:56 CST 2024