RE: running Genero from the command line
"Morgan Ho" <[email protected]> Thu, 15 Mar 2007 15:30:30 +1100
| Newsgroups | gmane.comp.lang.4gl.fourjs.user |
|---|---|
| Message-ID | <[email protected]> |
http://www.4js.com//online_documentation/fjs-gdc-2.00.1a-manual-html/Use r/CmdLine.html Look at --startDirect. HIH & regards, ///M > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Ruth Berkley > Sent: Thursday, 15 March 2007 2:45 AM > To: [email protected] > Subject: [fourjs-users] running Genero from the command line > > 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 > >