Announcement

Collapse
No announcement yet.

Command line parameters in Windows?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Egbert Zijlema
    replied
    For those who want to test my Easter calculations:
    http://www.basicguru.com/files/zijle...l60/easter.zip


    ------------------

    Leave a comment:


  • Lance Edmonds
    replied
    Or you could have read about it in the Help File errata postings in the FAQ forum...



    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Egbert Zijlema
    replied
    Thanks fellows,

    I decided to use INPUTBOX$, which is - by the way - not documented in PBDLL60 (had to read the 16-bit compiler documentation to learn about it).

    From a GUI point of view this is not the 'most beautiful girl in the world' but it's good enough for test matters. For those interested, I'll make the executable available on the Basic Guru website (later today).

    ------------------

    Leave a comment:


  • Michael Mattias
    replied
    You can enter a command-line option if the program is run with the "Run" option from the Start menu.

    You can get it using COMMAND$ or by changing FUNCTION PbMain to:

    <font face="Courier New, Courier" size="3"><pre>
    FUNCTION WinMain (BYVAL hCurInstance AS LONG, _
    BYVAL hPrevInstance AS LONG, _
    lpszCmdLine AS ASCIIZ PTR, _
    BYVAL nCmdShow AS LONG) EXPORT AS LONG
    </pre></font>

    MCM

    PS: Personally, I think this would be a cool place for one of those "up-down" controls to pick the year.




    [This message has been edited by Michael Mattias (edited April 26, 2000).]

    Leave a comment:


  • Eric Pearson
    replied
    How about the PB/DLL INPUTBOX function?

    ------------------
    Perfect Sync: Perfect Sync Development Tools
    Email: mailto:[email protected][email protected]</A>

    Leave a comment:


  • Scott Turchin
    replied
    An INI file?



    ------------------
    Scott
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Borje Hagsten
    replied
    Eh, how about using a textbox and a button in a dialog?


    ------------------

    Leave a comment:


  • Egbert Zijlema
    started a topic Command line parameters in Windows?

    Command line parameters in Windows?

    I want to have my Easter Calculating program (see: Source Code Forum) tested by a fellow who does not have PBDLL. So I must send him an executable. But how can I let him use different years? A command line parameter does not appear to be a very handy 'tool' under Windows, although PBDLL60 does support it. Any suggestions?

    Thanks and regards,
    Egbert
Working...
X