Home » Developer & Programmer » Forms » How to get Client desktop Path (oracle forms 10g)
How to get Client desktop Path [message #344874] Mon, 01 September 2008 08:34 Go to next message
rbhadane
Messages: 8
Registered: November 2007
Location: gujarat
Junior Member
Hi,
I am using webutil to extract queried data to clients desktop
currently I have windows2000 for me and solution i have is

o_clientinfo := Webutil_clientinfo.get_user_name;

cout := 'C:\Documents and Settings\'||o_clientinfo||'XYZ.csv' ;

as hard coded path

but the problem is we have various users and the home path would be deferent and some of they have windows vista or linux OS

so My question is do we have any utility or some solution to get user desktop path ?

please reply soon
Re: How to get Client desktop Path [message #344925 is a reply to message #344874] Mon, 01 September 2008 21:40 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
I assume you will have to look in the registry.

Does Linux OS have a desktop?

David
Re: How to get Client desktop Path [message #344984 is a reply to message #344874] Tue, 02 September 2008 01:58 Go to previous messageGo to next message
rbhadane
Messages: 8
Registered: November 2007
Location: gujarat
Junior Member
hi,

Yes Linux OS has Desktop

but I don't want to hard code the path

I just wanna get ti using some function or something
so I will be dynamic independent of client using my form
and then the file I am creating will get generated on client machines desktop..

please advice
Re: How to get Client desktop Path [message #345299 is a reply to message #344984] Tue, 02 September 2008 20:35 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
You have mentioned 'webutil'. I have mentioned 'registry'. Search this forum for both and you will probably get your answer.

David
Previous Topic: Form Error
Next Topic: How to load forms into database
Goto Forum:
  


Current Time: Mon Dec 05 20:56:08 CST 2016

Total time taken to generate the page: 0.21682 seconds