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 bkrike 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: *

  • Users: mackpei
  • Content: Threads
  • Order by date
  1. mackpei

    How to interrupt popen()?

    Hello, I have a question: how to interrupt a command execution given in popen()? It seems that I could use kill(pid), but how can I find out the pid of the command execution in popen()? Are they any methods for this? Thanks! Mack
  2. mackpei

    How to set password to a ZIP using a script?

    Hi, I want to use ZIP to compress a lot of files and set password on ZIP files generated in a script. But how can do this automatically without prompting password input each time? I tried echo "mypasswd" | zip ... and zip ... < mypasswd.txt But they don't work on my Solaris. Any hints? TIA...
  3. mackpei

    Why is the conversion from seconds to date time string so slow?

    Hi, I have a performance issue concerning the conversion from C's time_t (seconds since 00:00:00 GMT Jan. 1, 1970) to a date time string like CCYYMMDDHHMMSS. I use EXSLT's Date library (add, duration, ...) to do this conversion. It works, but the performance is very poor (e.g.: 22 minutes for...
  4. mackpei

    How to convert hexBinary to unsignedLong?

    Hi, Can anyone over there tell me how to convert a hexBinary value (up to 8 bytes) to unsignedLong with XSLT? TIA! Mack
  5. mackpei

    How to process file in parallel in a script?

    Hi there, I have a script processing a lot of files in a directory. If the files are processed in sequence, it would take much time. So one idea is to create several child processes, and each of them will process a part of the files. My question is: Is there any easy way to group the files...
  6. mackpei

    How to process file in parallel in a Perl script?

    Hi there, I have a Perl script processing a lot of files in a directory. If the files are processed in sequence, it would take much time. So one idea is to create several child processes, and each of them will process a part of the files. My question is: Is there any easy way to group the...
  7. mackpei

    How to specify dayTime type in another format?

    Hi, How can I specify a simpleType derived from dayTime in my XSD file, so that I can just use CCYYMMDDHHMMSS (instead of CCYY-MM-DDThh:mm:ss) in XML files? TIA! Mack
  8. mackpei

    Files suddenly zeroed!?

    Hello, Yesterday something strange happened on our system: Some executable files were suddenly zeroed! These files (together with other executable files) are mounted via NFS. We suppose this could be a human cause (perhaps unintended), is also an NFS problem possible? Hints are...
  9. mackpei

    How to export global address list in MS Outlook?

    Gurus, Could anyone over there tell me how to export the Global Address List in MS Outlook? I tried Tools\Synchronize\Download Address Book, but I have no idea where the Address Book is downloaded on my local computer. TIA Mack
  10. mackpei

    Why does Drag&Drop not work?

    Gurus, Drag & Drop doesn't work in my Win95 - what's wrong? Thanks in advance! Mack
  11. mackpei

    How to get the first N rows from a sorted result set?

    Hi gurus, I have this question, because the statement: SELECT * FROM my_tab WHERE rownum <= 50 ORDER BY 1 doesn't always work, because I know: Oracle7 assigns a ROWNUM value to each row as it is retrieved, before rows are sorted for an ORDER BY clause, so an ORDER BY clause normally does not...
  12. mackpei

    How to add a vertical/horizontal scroll bar in a form window?

    VB gurus,<br><br>I have just a quick question:<br><br>How can I add a vertical/horizontal scroll bar in a form window, which may contains<br>many elements (subwindows, items, etc.).<br><br>TIA<br>Mack
  13. mackpei

    How can I restrict row number of a union query result?

    Gurus,<br><br>I have following SQL statement:<br><br>SELECT A, B, C<br>FROM T, S<br>WHERE ...<br>UNION<br>SELECT A, B, C<br>FROM T, P<br>WHERE ...<br><br>and I just need the first 50 rows as result.<br><br>How can I do this?<br><br>TIA<br>Mack

Part and Inventory Search

Back
Top