Search Result

Collapse
9 results in 0.0051 seconds.
Keywords
Members
Tags
write
  •  

  • Ezima Ugwu
    started a topic persisting Response.write

    persisting Response.write

    Hi,
    I put a Response.write statement in the Session_Onstart method of my Global.asa.

    The problem is even though I have since removed the statement, when I run my program it still does the write as if the statement is still there.

    I an just running on my local inetmgr.exe 5.1 on windows xp sp3 and classic asp 6.0.

    Can some explain why this is so and how I can remedy it?

    Thanks in advance....
    See more | Go to post
    Last edited by Ezima Ugwu; Dec 6 '11, 01:37 PM. Reason: I have discovered that I was calling a method in a .inc which contained same write statement. Sorry my stupid mistake.

  • k voller
    started a topic How to write an array to a file in python?

    How to write an array to a file in python?

    Hi, I have generated an array of random numbers and I'm trying to then write this array to a .txt file but the code I have written doesn't seem to do this correctly. I'm fairly new to python so any help on this would be great. Here is what I have so far:

    Code:
    import numpy as N
    import random
    
    def main():
       n=10
       size=1500
       initial=N.zeros([n,3], dtype=N.float64)
       filename="positions.txt"
    ...
    See more | Go to post
    Last edited by bvdet; Jan 30 '11, 06:26 PM. Reason: Fix code tags

  • Alex T
    started a topic How to get position of a search in the text file?
    in C

    How to get position of a search in the text file?

    Hello, I have a bit of a problem here: I am trying to make the search find the positions of a string in the text file.

    The .txt file is very large and the string comes up multiple times, so I need a way to delete part of the txt file up to the point I see the first occurence of the word

    Here is my code:

    Code:
    #include <iostream>
    #include <iomanip>
    #include <fstream>
    ...
    See more | Go to post

  • Alex T
    started a topic How to make a C++ program read numbers from a web site?
    in C

    How to make a C++ program read numbers from a web site?

    Let's say I have a website about statistics, which had 4 numbers. How would I make my c++ program open the website and read the numbers, then write them to a text file?

    For a start, I have only this idea, and have no clue about how I would begin. If you can help, please do.
    See more | Go to post

  • Dave067
    started a topic Req: ? Python command to append data to file

    Req: ? Python command to append data to file

    Hi

    This is my first attempt at writing Python script - it's probably a bit ambitious, but there again, whatever doesn't kill you makes you stronger... ;-)

    I'm trying to write a script for a datalogger, which will import data from a laboratory flow meter at regular user-defined intervals via a serial port connection, then save it as a CSV file which can then be opened in Excel for analysis.

    The imported...
    See more | Go to post

  • NeoPa
    started a topic Linking to SQL Server

    Linking to SQL Server

    If anyone can help with a problem linking across to a table in a database on a SQL 2000 server, then please visit Linking from Access over in SQL Server.

    I'm locking this so that any and all responses are kept in the one thread.
    See more | Go to post

  • Coreyja
    started a topic Code doesn't work inside "for" statement
    in Java

    Code doesn't work inside "for" statement

    I am new to Java and would greatly appreciate any help. Here is some code I am working on as basically a proof of concept. I am using a "throws FileNot FoundException" . The problem is that when i run the program nothing happens. There are no errors but there is also no output. This same code worked without the "for" statement for just the first number.

    Code:
    Scanner reader = new Scanner(new FileReader("test.txt"));
    ...
    See more | Go to post

  • chemlight
    started a topic writing current page to database/file

    writing current page to database/file

    I'm writing a page that is dynamically created. I'm using PHP sessions, and have run into the issue of sessions timing out when someone walks away from their computer - but they have completed a large amount of work on one page. I initially thought to use AJAX to pass the current pages information to a PHP page that would just input the information into the database. The issue was, passing the page information using the GET method didn't work with...
    See more | Go to post

  • Barda4
    started a topic Write to a embedded text file?

    Write to a embedded text file?

    Hi,
    I am trying to make a game, where the player can save their stats. So far I've got it so the text file can be read, so loading the game, but I cannot figure out out how write to the text file, so saving the game. I have tried changing the code of StreamRead to StreamWrite, but it comes up with an error.
    See more | Go to post
Working...