Re: Fortran compiled executable form visual basic
- From: "max" <none@xxxxxxxx>
- Date: Wed, 28 Jun 2006 20:06:18 GMT
<akansha.khandelwal@xxxxxxxxx> wrote in message
news:1151440730.599339.244500@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
i have a fortran compiled executable that generates an output txt file.
It runs absolutely fine when run from dos..
I need to call the executable from an excel macro written in Visual
Basic.
I do this using shell command. The shell command returns a number
(probably task sequence) which proves that the fortran exe is executed
but output file is not generated.
Can anyone please help me with it... quick response will be highly
appreciated
Regards,
Akansha
Best thing would be to modify the Fortran code to include a pause action, so
you can *see* that it runs.
I can't remember if the shell command returns a task id even if the program
does not run - I would check that first. Then I would modify the shell
command so that the shelled program is run maximised, with focus, to ensure
that it really does run. Finally, I would consider running the program
through a batch file, to see what the working directory is - this is not
always the same as the executable launch directory.
.
- References:
- Fortran compiled executable form visual basic
- From: akansha . khandelwal
- Fortran compiled executable form visual basic
- Prev by Date: Re: recl on g95 and gfortran
- Next by Date: Re: recl on g95 and gfortran
- Previous by thread: Re: delay was due to parallel processing
- Next by thread: using openmp section directive to break up a loop
- Index(es):
Relevant Pages
|