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. artskib

    Storing results of getc in array

    I'm trying to read a single characted from a file using getc() function. Once I reach '/n' characted, I want to process the line. My problem is that if the first line has more characteds than the next line, the resulting array contains characters from the first line at the end. For example, if...
  2. artskib

    Output file handling and definition

    Thanks Stefan. Your sugestion worked fine with one modification - the line "PrintStream psOut = new PrintStream(fosOut);" had to be changed to "psOut = new PrintStream(fosOut);". Otherwise, to compiler comlained that the psOut was already defined.
  3. artskib

    Output file handling and definition

    Hi there, I am fairly new to writing code in Java. What I'm trying to do is to write a program which will read an input file, and then create a multiple output files, based on a control breaks (tags) in the input file. The output file names, will be derived from the control-break lines of the...
  4. artskib

    Web page redirection error handling

    I currently have 2 web departamental intranet servers. The second server is acting as a backup. From our main corporate page, I would like redirect to the first server. If the first server is not available, I do not want to see the classic "HTTP 404 - File not found". Instead, I would like to...
  5. artskib

    How to play *.wav file while reporting an error

    Please never mind. I had to make the play fuction public in order to get it to work.
  6. artskib

    How to play *.wav file while reporting an error

    Do I need to include any components with this function? When I run the program I get the Compiler err: Sub or Function not defined. I've placed the function definition in the module file.
  7. artskib

    How to play *.wav file while reporting an error

    How can I play a *.wav file along with displaying an error message. Here is my code If myvariable > 10 Then ' Play the *.wav file here msgbox ("myvariable cannot be greather than 10") End If
  8. artskib

    How to set environment variable in C

    I have a C program (using MS Visual C++ development toolkit). The program runs in DOS window on Win XP platform. I wnat the C program to set and environment variable, so it is available to other DOS batch programs, which run in the same window (called by the C program). When I use: system...

Part and Inventory Search

Back
Top