Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Opening an fotran .exe file from Visual Basic

  1. Oct 1, 2006 #1
    Opening a fortran .exe file from Visual Basic

    Dear friends,

    I want to do something that is probably not too hard, I just can't figure it out. I want to call a executable (.exe) file that I have written in Fortran from my visual basic code. Let's say push a button and it automatically runs my (.exe) program. This way I would combine computational efficiency with a nice graphical user interface.

    Any suggestions?
    Last edited: Oct 1, 2006
  2. jcsd
  3. Oct 1, 2006 #2
    As far as i remember there was a command like:

  4. Oct 1, 2006 #3
    Thanks this seems to work.
  5. Mar 13, 2007 #4
    Hi, I tried the shell command in visual basic and it works, but the problem is the something.exe file is not able to read the input from a file. However when it is opened directly (ie not from visual basic, but from fortran compiler), it works fine. Can you help me?
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Threads - Opening fotran file Date
Free vs. Open Source Software Feb 22, 2018
System restore failed to extract the file Feb 19, 2018
Open Foam Starting Help Mar 27, 2017
RIP the Open Directory Project (DMOZ) Mar 6, 2017
Trouble opening a .tif file... Dec 12, 2016