2 session from forms [message #242784] |
Tue, 05 June 2007 02:00 |
srinivas.k2005
Messages: 404 Registered: August 2006
|
Senior Member |
|
|
Hi,
I am working with forms 10g.
I am generating the word document using ole2.
During the generation of word document i should call an .exe which covers the word document population .
the .exe just shows the progress bar runing.
Below is the code i am runing.
ole2_pr;
host('c:\test.exe',no_screen);
here ole2_pr is a procedure which populates the data in word.
but after completion i am getting the .exe.
But once the procedure starts populating data ,it should call .exe and hide word document behind.
i tried putting the .exe call inside the procedure.but till the .exe gets completed the word generation stops.
SO any idea or built in to run both at a time.It seems to be difficult but i think there should be a built in to do this.
Thanks,
Srinivas
|
|
|
Re: 2 session from forms [message #242812 is a reply to message #242784] |
Tue, 05 June 2007 03:49 |
hemavb
Messages: 103 Registered: May 2007 Location: Dubai , UAE
|
Senior Member |
|
|
how about setting a timer.
you must be knowing howmuch time it takes to generate the word file. set atimer, initiate it before u call the OLE procedure.
|
|
|
|
Re: 2 session from forms [message #242819 is a reply to message #242784] |
Tue, 05 June 2007 04:05 |
hemavb
Messages: 103 Registered: May 2007 Location: Dubai , UAE
|
Senior Member |
|
|
no you will not start a new session.
the running of the HOST command will jsut get delayed by the amount of time that u set in the timer.
|
|
|