Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by csomervi

  1. csomervi

    Screen Scrapes

    Not so much for screen scraping, but to "push keys" to another app (even a DOS app in a command window!) look at KiXtart. http://www.kixtart.org/ - Chuck Somerville
  2. csomervi

    VB Trick

    OK - not VB exactly, but one of my favorites... In the right pane of an 'explore' window (or the only pane of an 'open' window) in Windows Explorer (in details view), how many times have you grabbed the dividing lines in the gray bar at the top of the columns and re-sized the columns to keep...
  3. csomervi

    How can i read a DOS Window results

    I have done this for a shell-ed DOS app before, where the DOS app's output was all to stdout, by re-directing the output to a file and then reading the file and displaying it in multi-line text box on my form. I made the text box white-on black, with CourierNew Bold for the font so it kinda...
  4. csomervi

    parse command$ arguments

    Thanks, SemperFi... No need to provide code - I can (and was afraid I would have to) write my own parser. I was just hoping someone had seen a mechanism usable from within VB to pull out the strings, since most of the rest of the programming environments provide such a tool in their libraries...
  5. csomervi

    choice.com and winnt

    I'm sitting in front of a Windows NT4 SP6a machine and CHOICE works here. Here's text captured from the DOS window... Microsoft(R) Windows NT(TM) (C) Copyright 1985-1996 Microsoft Corp. C:\>choice /? CHOICE [/C[:]choices] [/N] [/S] [/T[:]c,nn] [text] /C[:]choices Specifies allowable keys...
  6. csomervi

    parse command$ arguments

    Yes, I agree - one could do that if it were command-line parameters formatted to my instructions, but (I should have elaborated more, I guess) in this case the operating system is providing the "sometimes quote-surrounded and space-containing" strings. It is a program intended to...
  7. csomervi

    parse command$ arguments

    In C you can get each command-line argument as an element of the argv array. They system splits each argument (even if it is quote-surrounded with embedded spaces) into separate strings. VB seems to give you the Command$ string and no tools I can find to easily split it into the separate...
  8. csomervi

    maximize running dos window

    Start the Window with the START command. Enter START /? | MORE in a DOS window to see the options, which include minimizing, maximizing, or "regularizing" the window as well as whether to wait on the command to finish, what to put in the DOS window's title bar, etc. START came in...
  9. csomervi

    Qbasic conversion

    If you are converting the (DOS) QBASIC program to Microsoft Access Application BASIC, there is no direct equivalent (Windows) behavior for those (DOS) PEEK and POKE actions. What you must do is understand what the PEEKs and POKEs were actually doing (reading/writing characters on screen...
  10. csomervi

    Turbo BASIC (DOS)

    Oops, almost forgot - There's a Borland BASIC Forum here. forum201 (This is the BASIC: Microsoft Forum.) - Chuck Somerville
  11. csomervi

    Turbo BASIC (DOS)

    Unlike the newer Microsoft BASIC versions, there is no fixed-length string type in TB. You can simulate the effect to a degree by setting the string variable to a value of the length desired... c$ = "z" ...and then use LSET to assign other values to it. (LSET assigns data in-place...
  12. csomervi

    qucikbasic 4.5 compiling to .exe help

    You cannot convert QB 4.5 .EXE programs to .COM programs. The requirements for a .COM program are (in addition to no stack segment) that everything (data, code, stack, etc.) fit within 64K. There is no inherent benefit in making a .COM program - certainly no differences regarding types of screen...

Part and Inventory Search

Back
Top