Home » Developer & Programmer » Forms » How to Browse specific folder or drive in forms 6i (forms 6i)
How to Browse specific folder or drive in forms 6i [message #442617] Tue, 09 February 2010 07:53 Go to next message
qanita786
Messages: 229
Registered: May 2007
Location: PAKISTAN
Senior Member
My dear I want to open any drive or specifice folder in forms 6i in when button press trigger like we open any drive and folder in my computer or folder in windows

regards
Re: How to Browse specific folder or drive in forms 6i [message #443293 is a reply to message #442617] Mon, 15 February 2010 00:15 Go to previous messageGo to next message
beginnerHere
Messages: 55
Registered: October 2009
Member
Use the HOST command behind the button

HOST('C:\WINDOWS\EXPLORER.EXE F:\');


The location of the EXPLORER.EXE file may vary, depending upon your version of windows.

Hope it helps.
Re: How to Browse specific folder or drive in forms 6i [message #443294 is a reply to message #443293] Mon, 15 February 2010 00:26 Go to previous messageGo to next message
tamzidulamin
Messages: 132
Registered: October 2009
Location: Dhaka
Senior Member
Dear,

You can use GET_FILE_NAME built-in.

For Ex:
DECLARE
  filename VARCHAR2(256); 
BEGIN 
  filename := GET_FILE_NAME(File_Filter=> 'TIFF Files (*.tif)|*.tif|');  
END;



Regards,

Tamzidul Amin.
Re: How to Browse specific folder or drive in forms 6i [message #443357 is a reply to message #443294] Mon, 15 February 2010 04:47 Go to previous message
tamzidulamin
Messages: 132
Registered: October 2009
Location: Dhaka
Senior Member
You can Open any Drive or Specific folder by the following way:

DECLARE
  filename VARCHAR2(256); 
BEGIN 
  filename := GET_FILE_NAME(directory_name => 'D:\');  
END;


Regards,
Tamzidul Amin.
Previous Topic: how to change Format mask date in Ontime Where
Next Topic: Upgrading Java with Forms/Reports 6i
Goto Forum:
  


Current Time: Fri Sep 20 11:25:54 CDT 2024