Home » Developer & Programmer » Forms » Oracle Application Server et al (merged)
Oracle Application Server et al (merged) [message #358634] Wed, 12 November 2008 00:49 Go to next message
hadia_09
Messages: 9
Registered: October 2008
Junior Member
I am using Win_API_Shell function to call my pfd file,the function is working fine when i run it from my pc(windows XP)but from the server(windows 2000) it is not giving any output but it is not displaying any error.My question is "is Win_API_Shell compatible with windows 2000" please help in that?
the code is:
Win_API_Shell.StartFile('c:\hrms9i\share_it\17.pdf', WIN_API.SW_SHOWnormal, TRUE);
Thank you,Hadia

[Updated on: Wed, 12 November 2008 00:54]

Report message to a moderator

Re: Win_API_Shell Function [message #358649 is a reply to message #358634] Wed, 12 November 2008 01:11 Go to previous messageGo to next message
Michel Cadot
Messages: 68733
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
This question bears no connection with Oracle.
Please find a more appropriate forum.
The topic is locked.

Regards
Michel
Calling pfd file [message #358759 is a reply to message #358634] Wed, 12 November 2008 07:06 Go to previous messageGo to next message
hadia_09
Messages: 9
Registered: October 2008
Junior Member
AppID := DDE.App_Begin('C:\Program Files\Adobe\Acrobat 6.0\Reader\AcroRd32.exe C:\S\'||:seq_no||'.pdf',DDE.APP_MODE_NORMAL); this code is displaying the pdf file perfectly (calling it from the given path)on my pc(windows XP) but on the server(windows 2000) when we press the button nothing happened.Please advice and help.Regards,Hadia
Re: Calling pfd file [message #358762 is a reply to message #358759] Wed, 12 November 2008 07:13 Go to previous messageGo to next message
Michel Cadot
Messages: 68733
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
This question bears no connection with Oracle.
Please find a more appropriate forum.
The topic is locked.

Regards
Michel
Oracle Application Server [message #358967 is a reply to message #358634] Thu, 13 November 2008 01:32 Go to previous messageGo to next message
hadia_09
Messages: 9
Registered: October 2008
Junior Member
when running the below command through forms runtime on the client machine, adobe reader startes just fine and the PDF file is displayed, but when the fmx file is copied to the oracle application server host machine and i try to run from the application menu, nothing happens, appreciate your help
the only difference i see between the client machine and the host machien is the OS. client is running WinXP SP2 and the host machine is running Win2k SP4, i dunno if this is relevant to the problem.

AppID := DDE.App_Begin('C:\Program Files\Adobe\Acrobat 6.0\Reader\AcroRd32.exe C:\S\'||:seq_no||'.pdf',DDE.APP_MODE_NORMAL);

Rgds,
Hadia
Re: Oracle Application Server [message #359133 is a reply to message #358967] Thu, 13 November 2008 18:51 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
In which directory is 'AcroRd32.exe' on the host machine?

David
Re: Oracle Application Server [message #359428 is a reply to message #359133] Sun, 16 November 2008 01:09 Go to previous messageGo to next message
hadia_09
Messages: 9
Registered: October 2008
Junior Member
hey martin,
this is the full path on the server(the host machine)
C:\Program Files\Adobe\Acrobat 6.0\Reader\AcroRd32.exe

thx,
hadia
Re: Oracle Application Server [message #359491 is a reply to message #359428] Sun, 16 November 2008 21:26 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Searching 'app_begin pdf' returns http://www.orafaq.com/forum/mv/msg/100406/312438/67467/#msg_312438

Try this other approach.

David
Re: Oracle Application Server [message #359514 is a reply to message #359491] Mon, 17 November 2008 00:51 Go to previous message
hadia_09
Messages: 9
Registered: October 2008
Junior Member
Dear David,
thank you very much ,it is working now .
Regards,Hadia
Previous Topic: How to customize specific canvas to run as default field during run time?
Next Topic: how to release lock
Goto Forum:
  


Current Time: Sun Feb 09 09:01:17 CST 2025