6,015 Topics
![]() | |
Hello I have a txt file with a pattern as below ============================================= Computer name: Abc IP address: 10.10.10.10 User name: user Last pin : Aug 06 2009 10:44:35 ============================================= Computer name: Def IP address: 10.10.10.11 User name: user2 Last pin : Aug 07 2009 10:44:35 ============================================= All I require is … | |
[COLOR=#555555]I am a newbie to Python and need to transfer files across an internal network. Are there any coding tips or code snippets that would be helpful? Any assistance provided would be appreciated.[/COLOR] | |
Hello everyone: As I stated previously I am learning my C++ on the run because is required for one of my classes and well any help I can get is appreciated. I created a code to read a .txt file containing a list of numbers. My problem is that the … | |
Hi, I have an application which writes some data to a file (csv). Now there is python script which is to be invoked once the application writes to the file. The application cannot generate any indication of completion of the process. I thought of opening that csv file and handling … | |
Hello every one?I have a program use to copy the contents of an array to a File.But it does not work. when it runs Visual Studio starts to debug. But nothing happening.File contents does not change.Please help me tho solve this problem.Thank you very much. Here is the program. [CODE]#include<stdio.h> … | |
Please help me undersatnd why this code does no work, even when it compiled without problems. After I have input the filename the application just hangs up and aborts thereafter. My input file contains the graph' adjacency matrix and the application is supposed to pull this data from the file … | |
Hi again guys :D I need to make a program that reads a txt file, show the original file on a RTB and then show the words of the file, sorted alphabetically with the number of words found on the file in another RTB, e.g. INPUT: "That fox killed my … | |
My files were really mixed up, though I followed advice in "Using Windows XP" and put these in My Documents. I'm not sure all is now correct, but will follow along with that arrangement. Anyone that can advise on this? | |
Hello, I am trying to create what I thought would be quite a simple file systme filter, based on the following assumption: At some point during a readfile() routine, the filesystem HAS to call a readsector() routine (or equivilent). My intention is, that when this request comes in I redirect … | |
I need to read information from a text file into a struct array. Im writing a program to make a list of favorites that the user will input. When they close the program, the array will write to a file. The next time the program is ran, i need to … | |
I'm working with editing GCT code files. I've already been able to open them fine. They are just files with hex code. I've been able to open them the following way: [CODE]byteArray = getBytesFromFile(file); String inputString = byteArrayToString(byteArray);[/CODE] So now, after editing the string I made, I want to be … | |
Hi I have a program that adds, deletes, edits and views a text file's contents. The text file, named as "student.cvs" has the following content and format <student code>, <last name>, <first name>, <middle name>: [ICODE]2009-1234, Asa, Gohan, Gogo 2009-4321, Basha, Bushum, Jujog 2009-1999, Mekemi, Mekeke, Makeke[/ICODE] The whole program … | |
I want to upload a big file (about 80M) through the web, but it seems not working. Small file will be OK. html file: <input type="hidden" name="MAX_FILE_SIZE" value="128000000" /> php.ini: file_uploads = On upload_max_filesize = 128M max_input_time = 60 memory_limit = 128M max_execution_time = 30 post_max_size = 128M httpd.conf: LimitRequestBody … | |
I have a program that requires to read from a text file with a .cvs file extension. The program tends to add, edit, delete records written in the file. But before anything, the program simply can't read the .cvs file to begin with. Anyone can guide/help me on this? Thanks. … | |
the program works with localhost, however, when i use the same program in my web server, it does not work, the error says: Error Uploading file, this is the code [code] $phType = $_POST['phType']; $phCustomer = $_POST['phCustomer']; $phModel = $_POST['phModel']; $phStatus = $_POST['phStatus']; $phDateDue = $_POST['phDateDue']; $phStatus = $_POST['phStatus']; $phNG … | |
Hi, I am an old VB6 programmer converting to C#, so I hope you forgive stupid questions. I am developing a C# app to run on Windows Mobile and Windows CE (handheld terminals). I have figured out how to read data from text files but what is screwing me up … | |
Hello Friends, I am new in using codeigniter.I am working on a client project.In this i have 1 form with fields like entering name, address along with 5 file uploading basically all images.Suppose while submitting a form an error occures then fields like name and address value can be retrieve … | |
(servlets, jsp)i'm to tranafer a file from client to server using files concept. i donno how to start. plz gimme a basic idea of implementation procedure and i'll try the rest. waiting 4 help, guess me! | |
(servlets, jsp)i'm to tranafer a file from client to server using files concept. i donno how to start. plz gimme a basic idea of implementation procedure and i'll try the rest. waiting 4 help, guess me! | |
When I am taking input from file using Ubuntu as OS, DataInputStream is giving different values from the number in file. What to do about it?? I dont know much about file int, I also tried out using BufferedStream, Still getting some strange values. Please reply soon. ![]() | |
I am currently working on a school assignment which requires us to read and write two kind of derived objects into a file, but i cant seem to read them in correctly once i have saved them into a .dat file. here's what i have got so far: the base … | |
Hi all, I am having problem about file operations. There are a few numbers in my txt file. I want the program to calculate average of these numbers in the txt file. The code I have written is as below. Number of numbers in the file is 5. When I … | |
I have adapted a program that implements a register of players and stores the players in a struct, with BIN file handling. Now it's not possible to use the records after they have been loaded from the BIN file. The compile is ok and both functions below are excuted without … | |
Hi, I am using [B]file upload[/B] control in .net. But I want , the user only able to upload doc, docx and pdf file.How do I make it possible? | |
I have a file like this: [CODE] 2 | H| 2 | H| 2 | H| 2 | H| 2 | H| 2 | H| [/CODE] & this code to read it in: [CODE] f = fopen(p, "r"); char *t[100]; int i = 0; int i2 = 0; int n … | |
Hi, i am working on a project where I have to read a .txt file for a feed and parse the data line by line. I am using FSO in ASP to do this and it is working fine on small versions of the file, unfortunatly, the actual file is … | |
HI, I was trying to learn more about I/O with files in C++ and I can't figure out why this program can't output to the file... [code=cplusplus] #include<iostream> #include<string> #include<fstream> #include<algorithm> using namespace std; char userinp; void print_interface() { cout << "Enter E to Encrypt" << endl << "Enter D … | |
Hi, I have two questions (Win XP): 1) I accidentally set a file's extension to open with the option "Always open with this app", or whatever the text is. Anyway, you can change it in the file's property dialog, but you cannot remove it. I want to remove it so … | |
Hey, guys! I need little help for finished my code. I have created the code for analize my text file. I have text file with 2 lines. The program counts the lines of my txt file, length of each line, upper and lower case letters. Code works perfect without errors. … | |
Hey, everyone! I've got small problem in this code! I cannot find a mistake in this code. I was playing many times by changing functions and values, but something wrong. I'm beginer in C++, but I would like to be professional. I never ask for codes, only help for explaining. … | |
Hi, I was wondering if it was possible to change an exe settings through dos? For example, instead of right clicking and going to settings to change the settings I would like to right a bat file to do that. | |
the function is used to write things into a txt file. the function works quite well except there is a blank first line in the txt file. i think the error is caused by "ios_base::app", which always write to the end of the file. i want to write to the … | |
Can I be able to read a text file from any text editor (eg Ms word, wordpad) using python. and then return whats inside? | |
Hi, i generate a pdf file from C#(VS2005) via the ReportViewer control .The pdf has a picture and text. How can i prevent a user to be able to copy text/images from that file. Here is code i use to create pdf file. [code=csharp] private void CreatePDFfromTXT(string textFile, string pdfFile, … | |
Language : C# (Visual studio 2005) Hi , i have problem I use File.Copy to copy from Local HDD to network HDD . THe app on my side works , but on client's side , that operation hangs. So , when program should start copying , the client just gets … | |
Hi, im trying to write some information into a mp3 file. The information i'm trying to introduce into the file must begin 128 bytes from the end of the file, and this block of information is identified by the string "TAG" at that position (128 bytes from the end). After … | |
Good Evening everyone, I am hoping this is the proper place to post this question, might not be but im not really sure where to go with this one. I am working on a website for my company which will be based on our Intranet, and was wondering if there … | |
hi, i am working on a project to write data into the file and use a search enginee to get the data back. i was advised to use record but i didnt learn record at school. i tried to google it but came up with no solution. that's so far … | |
Hey i have a problem about file copying. I have a source file opened with fstream and a destination file opened with FILE*...im trying to copy a chunk of the source file into the destination (the function receives as parameters the start second on the source file in which we … | |
Hi, I have written a jsp page which extract large data (1.5MB) from database and downloaded to a csv file. The browser promtpts a file save dialog box and user can save it in csv file in local drive. The program works fine only problem is, in csv file there … | |
hello - i am trying to take a text file with multiple sets of numbered lines and sort each set, leaving the non-numbered text in place. i can't seem to figure out how to loop over the regular text, save then sort the numbered text, then move on. i want … | |
Hi. I have a c++ game where you make money throughout the game, and the game saves it to a separate txt file. When the game opens back up, it grabs the info in that txt file and puts it into a variable. Thats not the problem though. I'm adding … | |
How do I read two different data types from a .dat or .txt file? For instance I have a file that is an inventory file that shows the item reference number, the item name, and the quantity available. Example of what the file may look like: 01 Textbook 54 02 … | |
Please help, this is for an assignment I need to turn in and I'm STUCK! I have no idea how to do this I've done programs but none like this calling differnt functions. this is what is in the data file. 100 Hammer 10 20 10 200 Saw 24 00 … | |
At the moment I am currently working on a program (for school) that saves and reads CD album information from a file (pre-made). The information that can be saved (and read) is the album title, the artist, the recording group, the genre, the date purchased (in the DD/MM/YYYY format) and … | |
I have a form that gives the user an option to upload a file. The field is optional, but if they do not upload a file I would like to insert a default image into the database. At one point it was working but I can't seem to figure out … | |
Hi experts , I got problem and need help please. I have created a servlet sends a message to the client, I have tried to attach a text file with message being sent but I couldn't do that. please help me how to attach a file with a message. is … | |
Hi Guys I am new at this, and I despeartely require some help. I basically need to write a program to read a text file, alter a single value and write it to a new file. I have done some stuff so far which seems to be correct, however, nothing … | |
I am with a user whose PC has lost all file associations, tho' it seems to be able to start and run certain things (IExplorer for instance). I have various .reg patches to apply (from [url]www.dougknox.com[/url]) but since the PC doesn't even know how to open Regedit I am stuck. … | |
I have been trying this for days now and I am not even sure if I am going about this right. I've got errors errors errors everywhere. What I am trying to do is write a windows app that maintains a contact book that can hold up to 20 entries. … |
The End.