我想用VB6.0调用Fortran生成的exe文件,但是这个exe运行需要读取它所在文件夹内的文本txt文件,这种情况应该怎么做
附上我的代码
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hWnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As LongPrivate Sub Command1_Click()
ShellExecute Me.hWnd, "open", App.Path & "\wafdut14\WAFDUT14.exe", "-console", "", 1
End Sub拜托拜托