Home » Developer & Programmer » Forms » problem in openning exe file when button pressed (forms 9i release 2, windows xp)
problem in openning exe file when button pressed [message #392676] Wed, 18 March 2009 19:53 Go to next message
solezan
Messages: 3
Registered: March 2009
Junior Member

i wrote the code usinf DDE.App_begin to open .exe file on when button pressed trigger and it worked fine with any .exe application except one application which is another database application it is openned but empty and when i try to click any where on it,it disappear
please help me in this
Re: problem in openning exe file when button pressed [message #394715 is a reply to message #392676] Sun, 29 March 2009 20:00 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Have you solved your problem?

Post your code.

David
Re: problem in openning exe file when button pressed [message #394800 is a reply to message #394715] Mon, 30 March 2009 06:41 Go to previous messageGo to next message
solezan
Messages: 3
Registered: March 2009
Junior Member
Thanks for your relpy
No i havn't yet
this is the code i used

DECLARE
AppID pls_integer;
BEGIN
AppID :=DDE.App_Begin ('file path\file name.exe',DDE.APP_MODE_normal);
END;


i can open any .exe file from this code except one file which is the one i need
note: to open that file without using oracle there must be another file in the same folder

thanks
Re: problem in openning exe file when button pressed [message #395556 is a reply to message #394800] Wed, 01 April 2009 18:52 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Is there a 'space' in either the file's name or the directory in which it resides?

David
Re: problem in openning exe file when button pressed [message #395839 is a reply to message #395556] Thu, 02 April 2009 16:05 Go to previous messageGo to next message
solezan
Messages: 3
Registered: March 2009
Junior Member
No,there is not any spaces
i still cant find the solution
Re: problem in openning exe file when button pressed [message #395871 is a reply to message #395839] Thu, 02 April 2009 23:46 Go to previous messageGo to next message
ora_baby
Messages: 89
Registered: May 2008
Member
try:

win_api_shell.startfile('C:\news.htm',null,null); 


host('C:\Program Files\Internet Explorer\IEXPLORE.EXE');
Re: problem in openning exe file when button pressed [message #395890 is a reply to message #395871] Fri, 03 April 2009 00:15 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
If these don't help I suggest searching this forum for 'DDE.App_Begin' and look what everyone lese has been using.

I think someone used "host(begin command; end);" to get something to work. It was the 'begin' and 'end' which was important.

David
Previous Topic: Notifier in Form
Next Topic: Oracle forms 10 g Remote Debug - Port and server name pop up window
Goto Forum:
  


Current Time: Fri Dec 09 04:26:09 CST 2016

Total time taken to generate the page: 0.14275 seconds