help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] Problem on running a glpsol .bat file from VBA


From: Michael Hennebry
Subject: Re: [Help-glpk] Problem on running a glpsol .bat file from VBA
Date: Fri, 10 Sep 2010 10:15:43 -0500 (CDT)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

On Thu, 9 Sep 2010, JoaoFlavio wrote:


I'm trying to run a .bat file from VBA.
It runs with any application, but not with glpsol.

The code is below:

Sub Run_Glpk()
   Dim Address As String
   Dim Comando As Variant
Commando
   Dim Result As Variant

   Address = "C:\Solver\SNP_48\"
   Comand = Address & "roda.bat"
Command != Commando ?

   Result = Shell(Comand, vbMinimizedFocus)

End Sub

--
Michael   address@hidden
"Pessimist: The glass is half empty.
Optimist:   The glass is half full.
Engineer:   The glass is twice as big as it needs to be."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]