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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Eric1950

    Comparing a string of numbers to a letter

    Take a look at strchr proc main string TextStr ; Text string to search. TextStr = "1 2 3 4 5 6" ; Assign value to search string. if strchr TextStr '5' ; Look for target char in string. usermsg "Search string contains target char!" else...
  2. Eric1950

    set aspect path

    I've been using procomm/aspect since the the days of datastorm.. and today I really needed to setup so that the script and aspect path would change to specific directory .. and stay there. I found this old thread: Riegg (Programmer) 18 Nov 04 13:54 I am trying to set my sdlgfopen's to a...
  3. Eric1950

    Program Fails after Changing Input File

    If your fortran cannot handle long files names, try this: dir /x you will will see the 8.3 char name that DOS uses. ie c:\docume~1. soo.. you can open c:\docume~1\alluse~1\file,txt
  4. Eric1950

    Help with sort and file I/O

    You're on the right track, you have the elements in an array in code. You must have studied the techniques for sorting, heap/ binary, etc. That would be your next step, to sort the elements from list() to a new aray, slist(). THen write out that array to the new file.
  5. Eric1950

    Batch file to copy X number of files into subfolder

    you can do this in a bat file but it would require some real programming skills.. counting the files, capturing the directory names and walking the chain.. All without arrays ! i suggest you take a look at a programming lamguage.. like JAVA .. even fortran. The languages have the tools built...
  6. Eric1950

    Scheduled Tasks

    There are generic solutions to this.. like windows scripting languages. One of the tools I use is a free application/complier called AUTOITScripting. It's not hard to use and it will work for dos/windows and web scripting. Take a look at that
  7. Eric1950

    Sending an email on keyword in capture file

    One thing I do when I have to do email is use an external program called "BLAT". WIth little configuration for outlook server you can do about anything you want. THEN, procomm just has to decide that the email has to be sent.. create a small bat file to send it (and optionall create text to...
  8. Eric1950

    Open and close external program

    There are a whole set of capabilities available in windows xp.. one of them is TASKKIL.EXE available in your windows/system32 directory. TASKKILL /im notepad.exe will kill the notepad propgram in its tracks. By the way - there are a ton of WINDOWS commands available as DOS programs in XP
  9. Eric1950

    termgets question

    I don't see where you solved your problem.. So let me ask a question - and present an option. You only show a small piece of the response. What comes out AFTER the fruits ? What I often do is turn the capture to file on just before the output I want to interrogate. Then when it is complete...
  10. Eric1950

    Read files directly from working folder?

    hi I ofund this reference to Com Vis Fortran ver 6.6 would this help ? File Management: table Name Procedure Type Description DELFILESQQ Run-time Function DELFILESQQ(files). Deletes the specified files in a specified directory. FINDFILEQQ Run-time Function FINDFILEQQ(filename...
  11. Eric1950

    How to print to a Serial Printer (COMn) under XP?

    What i have done in this situation is write the info to a file suing "set alterate on" etc. Then invoke dos with "notepad <file> /p" This assumes its the default printer.
  12. Eric1950

    How can I print from a clipper program from Windows XP?

    You might try printing to a file.. close it.. Then use NOTEPAD <file> /print Always prints to the default printer..and uses the last font saved in NOTEPAD.. You can get fancy and use WORDPAD or WORD as well. Recently I had to generate HTML from the clipper and used WORD to print it out.. the...
  13. Eric1950

    dBase 5.5 & Windows XP

    GENERALLY this is a result of a virus. You are missing the AUTOEXEC.NT in the windows \ system32 directory. Search the web .. this is a symptom of other things
  14. Eric1950

    Help to reduce the processing time of a program

    Since the program is apparently IO bound, One idea.. not for the faint of heart .. is to read the file in much larger 'chunks'. Suppose something like 1000 bytes at a time, c/r and l/f included (read it as a binary). Then parse the data strings.. and read more data as needed. In some, cases...
  15. Eric1950

    vbx error log

    Nope. I tried every means of execution possible and it's just being nice back to me !
  16. Eric1950

    FTP - two logons

    Thanks Knob, I so knew that ! But thank you for the confirmation ! I chose to work around but still use PComm. PC writes the dos script, executes it under "dos cmd > output" then diagnoses the output for errors. Much apreciated
  17. Eric1950

    FTP - two logons

    Hi. I have a need to script anFTP send session to a host. One logon sccripted is fine. This host requires two: manually it looks like this: ftp ip user: <my login> password: <mypassword> ftp> (now i need to enter <user@2nd ip> password: <my second pw) ftp>
  18. Eric1950

    Why does my program stop writing after the first carriage return?

    try using a formatted output 100 format(1x,a) THe free form may be doing weird things . What fortran Etc Etc
  19. Eric1950

    Unformatted / formatted files

    A piece of psuedo code might help you. It will work, I use the technique all the time.. VARIABLES: findthis,findthislen,StuffFromFile first: read findthislen bytes from the file load into StuffFromFile initialize findthis with what you need to find loop; compare findthis...
  20. Eric1950

    vbx error log

    Hi.. Ive migrated to a new computer and am in the process of installing my software.. one is VdBase 7.0 When I dbl click to start it up I receive Vdb.exe has generated errors and will be closed by windows.. Frankly, Im clueless wy this would fail. Dell d400 win 2000 pro 1 gig memory 1.4 gz...

Part and Inventory Search

Back
Top