6,015 Topics
![]() | |
Hi, I have a problem. I need to read some data from a text file and need to put it into XML file using VB6. I have the follwoing input from the text file: Suite id="ADD" description="Add Validation Suite" TestCase id="ATC_V_Add001" and so on.......... and I want the following format … | |
The night before last I had a very bad experience, and only managed to avoid a complete wipe and reload by the skin of my teeth. I was downloading a file from a site I had used before, and my AV software trapped something called "Downloader". I stopped the download … | |
Hey all I recently noticed that when I right click and go to New> there are all the options such as new publisher document, word doc, rar archive etc but new text file is missing. Also along the same lines if I create a new text file with notepad instead … | |
how can i put the filename get in scanf("%s", &filename); in fopen("filename.txt", "a"); [CODE=c] main() { FILE *file; . . . printf("type the filename (.txt): "); scanf("%s", &filename); file = fopen("filename.txt", "a"); fprintf(file, "..."); fclose(file); . . . } [/CODE] | |
Hi i got an executable file which uses an .ini file, while they both are in the same directory all works fine. The problem is that i must separate them and make a batch file that will call the executable and also will direct the executable where to find its … | |
I ask for simple help. I'm at a part of my application where I need it to open a text file, and search for id numbers within the text. There will be several instances of "id=######"s that I will need to grab from the text file, and put them line … | |
pleeeeeease can i get the full file path from specified file name (.exe) an arbitrary file (.exe) | |
Hey guys I am a VB noob and need some help, basically this is what I want to do please look at the following picture [URL="http://www.bus.ucf.edu/llinden/courses/ISM3253/assignments/marketing_study.PNG"]CLICK FOR PICTURE [/URL] The app should basically pull up the data contained within this CSV file : [URL="http://www.bus.ucf.edu/llinden/courses/ISM3253/assignments/survey_data.csv"]CLICK FOR CVS FILE[/URL] and display it … | |
Hi, I'm having problem with the usage of File::Find Module. What i'm trying to do is to browse through two directories and put all the files into two arrays respectively (each array for each dir). I just cant use the "find" twice... An error message will be shown: [icode] Use … | |
when i read from file1 then write to athor file2, file 1 writen on file 2 but if file 2 contain lines more than file 1 ,this lines stay in the file 2 don't empty the file2 then write on is there any solove to this problem? | |
I wan to read from multiple files and write into 1 file....the fuse_cortex_header_r function will read a file and then break the file into several file which only consist of classes...for fuse_cortex_header_w file, i would like to read all the files which have been writen by previous function and write … | |
hi; i dont know how to convert mp3 file to wave file. i want to convert it because reading data information from a wave file is more easy than mp3 file 'i think'. Can anyone help for this problem? | |
// Lab 4 read and calculation file/input // This program will read the data in the input file // used by grosspayMinustaxFileCode #include <iostream> #include <iomanip> #include <fstream> using namespace std; int main() // this is the error message it displays if not working right to EXIT { ifstream inFile; … | |
Hi I am trying to learn c++ by using it where I can at work. Usually I can muddle through by searching forums and although I might not end up with an elegant piece of code, my programs seem to work ;) What I am trying to do, is open … | |
hi friends, I am having a problem with IO operations in C++. This is the path: ----------------- C:\Symbian\9.1\S60_3rd_MR\Epoc32\winscw\c\system\Apps\test\ I am having 4 files say f1.txt (size 400 KB) f2.txt (1 kb) f3.txt (1 kb) f4.txt (1 kb) These four files reside in the following above given path. The files in … | |
Hi guys :) I'm working on a project ( a game ) this is the code [CODE]#include <iostream> #include <fstream> #include <string> using namespace std; //####### Begin Class Node ########### class Node { public: string data; Node* link; Node(string x) { data = x; link = NULL; } }; //####### … | |
Hi guys :) Thanks first for the help, yesterday.. I really did well in my exam :), thanks a lot again :) Well, I guess I need a little bit help in this I have a file, and I want the whole paragraph in the file to be inserted in … | |
Hi there, I'm trying to write a script that when a user clicks the "save" button it takes the content of a text box, calls another script which writes this to a file. The bit I can't get it to do is recognise that the "save" button has been clicked … | |
Hi everyone Does anyone know of a script that allows multiple file upload while only having one file input on the screen? I think gmail does this. The user browses for an attachment and then clicks ok, the file is uploaded immediately and then the user can upload another file … | |
Hi All, Im desperate to write a hex file in Delphi. Effectively I have a Decimal value, say 580 which I convert to Hex: 02 44 And I need to put this into a Hex file (multiple times) - 25000 times per file Each line in a similar hex file … | |
hi friends, I am working with file IO in C++, but there are some serious issues i am facing: 1) Initially I create some files(4 files), if they dont exists. 2) Then I read one file entirely i.e each record within the file, there are 30000 such records - 1 … | |
The task: Write a program that asks the user for a file and counts the number of characters, words, and lines in that file. Then the program asks for the name of the next file. When the user enters a file that doesn't exists, the program prints the total count … | |
I've a project with which I wants to maintain a log file that if later after release of the product, any issue arise, I can debug the faced issue from this log file. I've one of the solution to write my own text file with writing line at identified positions … | |
I want to enter a file name and if file name exists, it should print the file else create a new file. Pls help me | |
Hi All, I'm brand new to C++ and writing a program which asks for user input to open a text file then displays the text file using specific characters which parse the file. The files that I need to open are too large to display the entire contents and the … | |
// the output is coming out incorrectly. any suggestions? //here is what i have // Lab 4 read and calculation file/input // This program will read the data in the input file // used by grosspayMinustaxFileCode #include <iostream> #include <fstream> using namespace std; int main() // this is the error … | |
i'm doing a game function which able to save and load game function, i want to do it in a simple way cause only a few information need to collect. :cry: Here is the save method i use which able to write things into the .txt file which work correctly … | |
I have a created a page to upload images. Can someone please help me. When when I click on browse I would like the picture to go on the server and not change the image name. just to upload the image as it is. please help <?php include('../includes/cms.config.php'); require_once('login.php'); ## … | |
When I'm opening a file, is it the file that is text or binary or is it the stream that can be text or binary? Also, when I close a file is that when the stream object is destroyed? | |
Hello, I have successfully added a wav file or audio file to my program, the problem is, i sent an email to my friend of the exe application but the wav file does not come with, how do i accomplish this if the wav file does not compile with the … | |
Hi all; Really need your help on writing the shell script based on the condition below. I need to re generate file and display message on the status of the file. I need re-write the file by checking whether the first line starts with '1MBB'. If the first condition fail … | |
I want to read each line of text file and store each line into a giant buffer so I can look at all the contents. How would I do this? [CODE]int _tmain(int argc, _TCHAR* argv[]) { ifstream indata; // indata is like cin indata.open("example.txt"); // opens the file if(!indata) { … | |
I m Using the Foll. method to Read the Contents of a File. If i m reading the doc,txt prog is working file. I m using the File "D:\pagefile.sys", ERROR is there,The process cannot access the file 'D:\pagefile.sys' because it is being used by another process. how To Read Contents … | |
Ok, I am fairly new in using Python, but have a pretty good understanding of it. But I'm up against something that I just can't figure out. I have an archived file that I am trying to take apart into individual files. It isn't a zip file, but an ascii … | |
Hello again, I've been around some threads here, some interesting, some piqued my interest. Like, forgive my ignorance, but how does one run a jar file. What special is required to run such a file? All I know is winrar a jar file and you get all these coded .class … | |
hi all, I am new to VB 6.0 . I have created an application, which generates a .kml file which is the format read by google earth at a particular location. I want to be able to open the .kml file by clicking a command button. I am right now … | |
Hey All, I need help with formatting a .kml file which is read by Google Earth. This .KML file is basically a XML file, so I thot I can get some help in this XML forum. I am new user of GE. Actually I have created an application in VB … | |
What usually be the cuase of the file reading the wrong data, lets say I have a file and I wana read a date which is the 1st data in the file but instead is reading something else My file is more like the following but instead of reading the … | |
Hey :) Damn I hate pointers in C :P Worse thing possible. Anything I post my code: main.c [code] #include <assert.h> #include <ctype.h> #include <errno.h> #include <float.h> #include <iso646.h> #include <limits.h> #include <locale.h> #include <math.h> #include <setjmp.h> #include <signal.h> #include <stdarg.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include … | |
hi all i have a program for reading/writing files using windows API this program works properly but i have problem with program speed the time of reading the file is good but it takes very more time for writing the file here is the standard source code that my program … | |
Hello I have this csv file 414060,440A,,,"QUECHAN INDIAN TRIBE SECRETARY- HIGHER EDUCATION DEPARTMENT Salary $8.00 per hour Position Closes May 9th, 2008 Position is responsible for providing administrative support to the Higher Education Department. Preparing office reports, maintaining the fi" 414297,445B,,," Come work in a great team environment. NOW HIRING … | |
I'm trying to have VB open a basic 1 line settings text file but I want it (for first time users) to create the file if it doesn't exist, but I can't open the file without getting an error. How do I go about creating this file if it doesn't … | |
So I have a simple dice program that lets the user make bets. If their current money pool is larger than the money pool in highscores.txt it will write the new score to the file. The program works as intended except for the high scores. When I try to write … | |
How to count line of code in text file or file .cpp (this .txt file or .cpp file is the input file of program) and what's function for count line of only mark code for example of this code(file input) , I want to count only "do" function that have … | |
I have a file dialog.i have filtered out the type of file i need.but how could i open the file in the application after selecting it?after clicking "open" in the dialog , i need to see the file. | |
Im using WinXp ; When I rename a file; I get a message that tells me that I will lose the file association as it thinks i am changing the file extension also "as the file extension is listed in the name of the file". How to correct this and … | |
Hi there. I'm new to Python. I started learning it 3 days ago. I've figured out everything by myself so far, but this is stumping me: Whenever I load a file such as a html document or a text file, it loads fine. But when I load this gif or … | |
Hi, I have a readFile() function that reads a csv file into a vector. The first two lines of the csv are collum headings. After reading and displaying the file on screen, replacing ","'s with spaces, it asks if the user wants to append new entries. If yes, it calls … | |
Hi All, I'm new here so apologies if there's something not quite done right in my first post on here. I'm fairly new to Perl but this is the first bit I've tried to write at home on my own. I want to have a .pl file that runs in … | |
Hey... I present myself.. Youssef, 17 years old and i'm currently on my second year of the IB Program ... Computer IB HL i took. As some of you might know our IA = Internal Assessement is a Java Database and now mine is due wednesday... [PART I] and i … |
The End.