6,015 Topics

Member Avatar for
Member Avatar for karthiknv

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 …

Member Avatar for karthiknv
0
235
Member Avatar for normanallen

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 …

Member Avatar for normanallen
0
143
Member Avatar for HLA91

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 …

0
72
Member Avatar for Sa_FF

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]

Member Avatar for Sa_FF
0
215
Member Avatar for vedmack

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 …

Member Avatar for vedmack
0
110
Member Avatar for galaxies

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 …

Member Avatar for fidodidoss
0
146
Member Avatar for lahom
Member Avatar for Duoas
0
174
Member Avatar for mobman

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 …

Member Avatar for mobman
0
182
Member Avatar for raul15791

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 …

Member Avatar for raul15791
0
154
Member Avatar for solaf_111

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?

Member Avatar for Ancient Dragon
0
63
Member Avatar for all blacks

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 …

0
93
Member Avatar for lily_86

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?

Member Avatar for nokeekon
0
111
Member Avatar for mikelle

// 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; …

Member Avatar for mitrmkar
0
260
Member Avatar for maxiam

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 …

Member Avatar for maxiam
0
139
Member Avatar for himsymcpp

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 …

Member Avatar for Ancient Dragon
0
128
Member Avatar for Q8iEnG

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; } }; //####### …

Member Avatar for Q8iEnG
0
208
Member Avatar for Q8iEnG

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 …

Member Avatar for Q8iEnG
0
122
Member Avatar for Scruffstone

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 …

0
70
Member Avatar for Venom Rush

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 …

Member Avatar for nav33n
0
105
Member Avatar for rickstar123

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 …

Member Avatar for Duoas
0
2K
Member Avatar for himsymcpp

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 …

Member Avatar for himsymcpp
0
267
Member Avatar for LevelSix

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 …

Member Avatar for LevelSix
0
480
Member Avatar for jivangoyal

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 …

Member Avatar for iffEngineer
0
177
Member Avatar for sameer9812

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

Member Avatar for omrsafetyo
0
62
Member Avatar for chavas

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 …

Member Avatar for AceofSpades19
0
176
Member Avatar for mikelle

// 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 …

Member Avatar for VernonDozier
0
89
Member Avatar for grazcy

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 …

Member Avatar for DaKasper
0
198
Member Avatar for wandie

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'); ## …

Member Avatar for nav33n
0
256
Member Avatar for henpecked1

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?

Member Avatar for Ancient Dragon
0
128
Member Avatar for Siten0308

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 …

Member Avatar for selvaganapathy
0
207
Member Avatar for ashikin_8119

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 …

0
75
Member Avatar for Nemoticchigga

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) { …

Member Avatar for Lerner
0
114
Member Avatar for ruchika beddy

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 …

0
70
Member Avatar for s7plc

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 …

Member Avatar for s7plc
0
255
Member Avatar for ronicasingh

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 …

Member Avatar for stephen84s
0
261
Member Avatar for abhidev

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 …

Member Avatar for bushman_222
0
96
Member Avatar for abhidev

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 …

0
76
Member Avatar for Traicey

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 …

Member Avatar for Ancient Dragon
0
127
Member Avatar for riahc3

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 …

Member Avatar for Ancient Dragon
0
118
Member Avatar for masoud87

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 …

Member Avatar for dougy83
1
116
Member Avatar for jencinas69

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 …

Member Avatar for jencinas69
0
1K
Member Avatar for acecombat

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 …

Member Avatar for selvaganapathy
0
1K
Member Avatar for jimcc

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 …

Member Avatar for Fuse
0
123
Member Avatar for Latte

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 …

Member Avatar for VernonDozier
0
191
Member Avatar for camproject

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.

Member Avatar for Nick Evan
0
330
Member Avatar for Rick McCoy

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 …

Member Avatar for ckurtz
0
87
Member Avatar for Fuse

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 …

Member Avatar for woooee
0
408
Member Avatar for iansane

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 …

Member Avatar for Duoas
0
142
Member Avatar for Scruffstone

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 …

Member Avatar for Scruffstone
0
150
Member Avatar for Bouras

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 …

Member Avatar for sillyboy
0
250

The End.