running Genero from the command line

"Ruth Berkley" <[email protected]> Wed, 14 Mar 2007 11:44:52 -0400
Newsgroups gmane.comp.lang.4gl.fourjs.user
Message-ID <[email protected]>
Hello everyone,

I have a menu system that I created using VB and it allows access to 4js
programs as well as shell scripts, Access and TeraTerm terminal
emulations.  I would like to continue using our current menu system but
I cannot get a Genero program to run from the command line without first
creating a shortcut on the GDC. It runs fine if I build a shortcut and
then access the shortcut through a function but that is causing too much
overhead.  Is there a way to start a Genero program from the command
line without creating a shortcut on the GDC?  This is the function that
builds the command line for the 4js programs:  

Private Sub mnuSchRSDemo_Click()
    sTopic = "open"
    sFile = "startwtk.exe"
    sParams = "ilogin -w -computer {staff} -user {userf} -cmdline
{e:\usr\main\rsbat\rs.bat rs0002}"
    sDirectory = "c:\cliwtk\bin"
    Call RunShellEx(sTopic, sFile, sParams, sDirectory, 1)
End Sub

Could something similar be done with Genero?

Ruth Berkley
Applications Programmer
Computer Services
Allegany College of Maryland
Cumberland MD 21502