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 strongm 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. DaRedMonkey

    Get a specific directory

    Thank you .. thank you .. thank you. That work wonderfully.
  2. DaRedMonkey

    Split results into different sized variables...

    Hello DRJ478, Could you please explain your statement below for me? I tried to understand it but I am a little dense. ;-) $offset = $offset == 0 ? $value+1 : $offset+$value; Thanks!
  3. DaRedMonkey

    Get a specific directory

    I have the following code snippet that list all file in a directory with ABC* pattern. But, it only list file in the directory that the VB script is in. How do I specify which directory to list. So, that it doesn't matter where the VB script resides. Private Sub Command3_Click() 'Load an...
  4. DaRedMonkey

    RSH

    More info: On my PC that I got the GUI to work is on Windows XP. All others are on NT.
  5. DaRedMonkey

    RSH in VB

    I use RSH on my PC and it didn't ask for a password. But, if I use REXEC then it ask me for a password everytime. Anyway to get around this password? Have it specify explicily? --DRM
  6. DaRedMonkey

    RSH in VB

    Hello Everyone, I created a VB GUI that people can use to RSH login to a UNIX server and run a script. When I was developing it on my PC it worked fine. It still does. The problem is if other people try to use that GUI on their PC, they cannot connect to the UNIX server via RSH. Background...
  7. DaRedMonkey

    RSH

    Hello Everyone, I created a VB GUI that people can use to RSH login to a UNIX server and run a script. When I was developing it on my PC it worked fine. It still does. The problem is if other people try to use that GUI on their PC, they cannot connect to the UNIX server via RSH. Background...
  8. DaRedMonkey

    Logic & switch statement

    I tried rwb1959's suggestion by using... char *proddir; instead of... char proddir[20]; and got a core dump. --DRM
  9. DaRedMonkey

    Logic & switch statement

    Thank you for your suggestion. I tried strcpy(proddir,"Food"); instead of proddir = "Food"; and everything worked as expected. --DRM
  10. DaRedMonkey

    Logic & switch statement

    I got the following code and it gave me the following error: line 121: error 1549: Modifiable lvalue required for assignment operator Here's the code snippet: char lot_prefix[2], proddir[20] strncpy(lot_prefix, lot_no, 2); if ( (strncmp(lot_prefix[1],"F",1) == 0)...
  11. DaRedMonkey

    $¦ = 1;

    What exactly is this line for? Is it to allow you to work with data in paragraph mode? $| = 1;
  12. DaRedMonkey

    Logic

    The solution offered by TonyKent worked! Thank you to everyone that responded.
  13. DaRedMonkey

    Logic

    How come this doesn't work? I keep beating my head, but I just couldn't figure it out? $filepattern =~ /^[a-z,A-Z]{3}\d{6}\.\d\d$/; $fullpath = $datadir."/".$filepattern; if (-e $fullpath) { blah blah } In the directory I have files: ABC123456.01 ABC123456.02...
  14. DaRedMonkey

    Checking in array

    Thank you Leibnitz! That's exactly what I am looking for. But, I thought it would be a lot simpler than that. Oh well, if it works, I am not going to complain. Thanks a bunch. DRM
  15. DaRedMonkey

    Checking in array

    Is there a way to check to see if certain value is in the array. For example, instead of doing something like the following statement: if ( (x=='A') || (x=='W') || (x=='p') { ... } I would like to do something to this effect: options = ('A','W','P'); if ( x in options ) { ... } Is that...
  16. DaRedMonkey

    How come this doesn't work? Please help

    Thank you very much Marcel. I am very new at Visual C++. Kind people like you make this a nicer experience. I really appreciated. Thank you. --Dan
  17. DaRedMonkey

    How come this doesn't work? Please help

    The following program give me these error: ompiling... AnyCurrency2US.cpp E:\DVN\UOP\POS370\Week3\Currency_Conversion\AnyCurrency2US.cpp(61) : error C2440: '=' : cannot convert from 'char [4]' to 'char [20]' There is no context in which this conversion is possible...

Part and Inventory Search

Back
Top