6,015 Topics

Member Avatar for
Member Avatar for lanesbalik

hi all, right now i'm trying to migrate from db2 running under linux to mysql v5.1. i manage to export out the db2 structure & data into a del (ascii) file. but when i try to load the data from the del file to mysql table, it generate an error. …

Member Avatar for fatihpiristine
0
179
Member Avatar for ArrogantLegend

Create a text file with a letter on the first line, and two double-digit numbers on the second line. Write a program using fstream that reads in your text file, creates variables to manipulate that input and outputs the following results to a different text file: "The ASCII value of …

Member Avatar for Duoas
0
131
Member Avatar for eranga262154

On my MFC application I read file and do some process on it. Here is the code I used to open and read only. [CODE=cplusplus] CFile srf_ReadFile; char * srf_FilePath = "ReadFile_001.txt"; if(srf_ReadFile.Open(srf_FilePath, CFile::modeRead)) { // Do the required process here on ReadFile_001.txt }[/CODE] So, the file should be always …

Member Avatar for eranga262154
0
138
Member Avatar for michael123

I have a simple php file for example: [CODE] <? header("Content-type: application/octet-stream"); header("Content-Disposition: attachment; filename=file123.xls"); header("Pragma: no-cache"); header("Expires: 0"); print "test"; ?> [/CODE] What I want to do is export php result and save it in excel file. If I run this from web browser like IE,firefox, I have no …

Member Avatar for michael123
0
110
Member Avatar for gee1288

hey guys i need some help with this input file program im getting input file invalid all the time i have no idea what to do. im supposed to create data files with data for up to 10 students and calculate their average from five perecentages i think i got …

Member Avatar for Ancient Dragon
0
117
Member Avatar for Back door daddy

I need to prompt the user for a txt file and display what the text in it. Our example is January Fishing line 132 spools 24 spools Fish hooks 97 packages 45 packages Sinkers 123 packages 37 packages Fish nets 12 ea. 5 ea. Tackle box 75 ea. 15 ea. …

Member Avatar for Narue
0
61
Member Avatar for pdwivedi

I want to open a text file in a c program which is on desktop.How can I print the texts written in the file on screen.Please help [B]Regards Prashant[/B]

Member Avatar for WaltP
0
125
Member Avatar for aymanmadkour

Hi all... I have 4 PCs in a LAN with Windows XP Professional that logon to a domain... The problem is that, to access shared files on another PC, one has to enter the username and password of the other user. How can I use file sharing on a domain …

Member Avatar for mahbubnbl
0
322
Member Avatar for hippomg

Hi, Perhaps I'm typing in the wrong keyword phrases but I'm needing a script I can put onto my clients web site where they can upload a PDF file easily. These are inspectors and they need the ability to upload their reports so their clients can come to the site …

Member Avatar for KevinADC
0
80
Member Avatar for M_K_Higa

Greetings, I've posted this question in other news groups (msdn and a few others) without any response.:sad: I hope I don't get into any trouble for posting this question here, but I reach out for your help.:confused: I have an excel file stored in a data base table as an …

Member Avatar for M_K_Higa
0
988
Member Avatar for aus_fas1

Hi, I have the following structure to read the file data with fixed format of my binary file. Now I want that every time my ReadFromFile function is called with 'counter' variable it should 1. return me frame specified in the 'counter'. 2. The file needs to be closed only …

Member Avatar for Salem
0
149
Member Avatar for hasfoot

I am very new to C++ and am taking a beginners course in college. We have a project due this coming tues. and I am stuck, I was wondering if you could please help me. Background on proj: I am working in the circulation dept of a magazine, and it …

Member Avatar for Lerner
0
167
Member Avatar for locsin

Greetings! Anybody know how to save database file into a text file. What i mean to say my program works fine to save data into a MS Access database file. I'm trying to save this file also into a text file ".txt". And also, how to extract or open this …

0
60
Member Avatar for gustavobrust

Hello everyone! :) I'm doing a website that has lots of pages - created by the user (a wiki style) - and any page can have attachments. The file upload engine is working ok. I'm moving all the files uploaded to a specific directory. The problem is: As each page …

Member Avatar for fatihpiristine
0
65
Member Avatar for sohanonline

hello..... i just had a problem with file management in c programming.my friend gave problem but i dont know how to see the output.is there any file which i have to create first and see the answer?please help me.thanks.:)

Member Avatar for iamthwee
0
114
Member Avatar for disc

Hi all, This is my problem: [code] void StartRun( void ) { std::auto_ptr<Validate> val ( new Validate( "input.txt" ) ); val->DoIt( ); } // Destructor Validate::~WValidate( ) { if( mFileIn.is_open()) { mFileIn.close(); } if( mFileOut.is_open() ) { mFileOut.flush(); mFileOut.close(); } } [/code] The function DoIt() makes use of a DLL. …

Member Avatar for WaltP
0
88
Member Avatar for aswinikg

HI I am a newbie to 'C' and embedded application . I have a code in which the input parameter is being assigned in two ways (i) Runtime through user (ii) parameter tile the problem is, i can't give the runtime input as am a in need of creating a …

Member Avatar for aswinikg
-1
82
Member Avatar for leroytrolley

Hi I've been trying to get a email form which allows my users to send photos as an attachemt via a "upload" button. I've got it working i.e. the form is sending me the data plus the photos, but I'm still getting this error when "submit" is pressed. [B]Notice: Undefined …

Member Avatar for fatihpiristine
0
286
Member Avatar for sreejithps

Hi, I am tryiing to open a file from my python project. The path to the file is given as .\Templates\html\temlate1.html. I used the file Alerter.py to open the above said file. Actually this source file and the Templates directory are existing in the same folder and on execution of …

Member Avatar for vegaseat
0
114
Member Avatar for aus_fas1

Hi, I am writing an array data to a file. The data I am getting is from some sensor and need to be written in real time. I have manged to write it but I am having problem when I try to read it, as I cannot position the pointer …

Member Avatar for aus_fas1
0
249
Member Avatar for pri_skit

I have written a CString Object into Text file by using : f.Write (&FileName,FileName.GetLength());//FileName is CString Object Now I want to Read CString object back How this could be done?I am using code : LPTSTR p = CurrentLanguageName.GetBuffer(11); void *g=(void *)p; f.Read (g,CurrentLanguageFileLen); CurrentLanguageName.ReleaseBuffer( ); //But this method don't work. …

Member Avatar for pri_skit
0
121
Member Avatar for Romulus

this happened after installing a Logitech driver and the restore features haven't done anything to help me out. It seems to be limited to something the computer loads on a normal startup because it will hang or have problems after about 5 min. but there will be no problems at …

Member Avatar for jbennet
0
569
Member Avatar for mairaj

what is niche directory ? whats the diffrence between niche directory and general directory ?

Member Avatar for bobchrist
0
260
Member Avatar for tracethepath

the last record is getting displayed twice.i hv rechecked everything and cudnt find the error. here is the add n display function. [code=c++] void add() { example abc; int n; ofstream file1("EXAMPLE.dat", ios::binary|ios::app); cout<<"Enter Number Of Records To Add "; cin>>n; cout<<endl; for ( int i = 0; i < …

Member Avatar for Narue
0
2K
Member Avatar for DemonSpeeding

I have a file that is representing an image, here's the puddle.img file: 10 22 2222888222882222228882 2222888222882222228882 3333333333333333333333 1111111111111111111111 1111144444111111111111 1111444444411551111111 1114643434345551111111 1111333333311551111111 1111133333111111115114 1111111111111111115543 The first two numbers are the size of the image, rows and then columns. Then I have to pull in the image, and before the …

Member Avatar for DemonSpeeding
0
202
Member Avatar for corruptsystem

Our group has been banging our head against the wall in this one and cannot seem to figure it out. Our program is to be able to set up menus (done), allow user(s) to input 'student names' and save them to a data (*.dat) file and add names to the …

Member Avatar for corruptsystem
1
190
Member Avatar for pedro martinez

Hi, I need help to sort a file. I am able to open the file, but the lines of the text file are separate by commas and I have to separate the lines into 4 differents string of characters. I have problems separating the string and sorting them by name. …

Member Avatar for Aia
0
92
Member Avatar for gallantmon1

I'm still confused with file i/o here and needs a bit of help on fixing the codes I have. Can anyone offer some help? I have two codes here that sort of work together. One is a database type of code that is supposed to get input form the user …

Member Avatar for gallantmon1
0
249
Member Avatar for stevehoff424

Last week I got Adobe Flash CS3, DreamWeaver CS3, and Fireworks CS3 installed on my computer. I installed them without removing the previous versions (Macrodedia Flash 8 Pro, DreamWeaver MX, and Fireworks MX). At this time I could open swf files in IE6 and it would be able to show …

Member Avatar for bobbyraw
0
332
Member Avatar for richk03

I am new to networking and have a query/question. I have two computers (one Windows XP and the other Windows Vista) and I have connected both to a combined broadband modem/router with built in firewall. Therefore, when I use the network setup wizard in XP I keep getting the message …

Member Avatar for richk03
0
77
Member Avatar for peterv6

I'm having problems writing records to an output file. When I do it in Textpad running on Windows, the output file looks fine. When, however, I copy the script to a Linux machine and use the exact same code, it appends a ^M character on each line written to the …

Member Avatar for trudge
0
143
Member Avatar for Llama

ok, so I have read some tutorials on file streams, but i am still confused. I have made a program that edits a .txt (inputted by user) file, but my goal is to search an entire file for a string, and every time the string its found, I want it …

Member Avatar for Llama
0
118
Member Avatar for ITapprentice

I've seen tons of examples, but I can't seem to find what I need. I'm pretty new to programming, only been doing it for 9 months. Here's what I'm trying to do. I'm loading a file with the below info. 12 Item1 15 1 Item2 10 1 Item3 1 2 …

Member Avatar for iamthwee
0
2K
Member Avatar for kofi

Hello Everybody, i am developing a software that will have as one of its component a conversion studio. what will go on here is u can convert between some video formats an audio formats as well( like from avi to mpeg, wav to audio,mp3 etc) i want help on some …

0
48
Member Avatar for AUALZ

Hi, Does anyone know how I can get the file name for the linked tables? I have linked the tables and renamed them. I am able to get the renamed name shown on table tab, but not the actual FILE NAME that i originaly linked the table. I am using …

0
63
Member Avatar for DemonSpeeding

So I have a program with a specification file, implementation file, and a client file, I'll post all three but I know the problem rests in the client file. What's happening is that it reads the first team from my data file which I'll also post, and then it doesn't …

Member Avatar for DemonSpeeding
0
102
Member Avatar for sickly_man

whats up everybody? havent been on daniweb in a while. self-motivation like whut....until now. anyways ive got this script that makes an html form with 19 or so fields. its supposed to put the form info into a file (mediaRequest_log.txt). it gets this information by way of [code=perl] # get …

Member Avatar for KevinADC
0
129
Member Avatar for j2swift

I am a beginner in C++ and I need some help because my decoding is coming out as a series of numbers. Here are the detail as to what I am trying to do. I wrote 2 programs that compress and decompress a text file, each taking input and out …

0
83
Member Avatar for Ravenous Wolf

hi. i am kind of stuck and i need some help. i have a dll and a .cs file. i have opened the .cs file and it contains a class. i asume that the class and the dll works together. sort of like a cpp header file and class file. …

Member Avatar for Ravenous Wolf
0
207
Member Avatar for nhenson

I have been working on this problem since last week and I about to go insane. I got it working and then all of the sudden it got screwed up. I want to know if someone can help me find out what I am doing wrong to fix it again. …

Member Avatar for Ancient Dragon
0
93
Member Avatar for donuttier

Hello! Please help me!!! I have been trying to make a program that show details written on a csv file. Somehow I have managed to do so, by using a code for opening *txt files. However, I would also need to add details to the same csv file, and delete …

Member Avatar for donuttier
0
2K
Member Avatar for eranga262154

Hi all, I want to use a function to write some values to a text file. That function is called from the main function. Every time when I can that function from main, the perviously written value is overwrite. That's true, it wont work. So what I have done is …

Member Avatar for eranga262154
0
154
Member Avatar for suneel kar

Good Afternoon Everyone I Just Wanna Make My Code User Frindly . I Have To Extract .dbf Files . 2. Process Them.(makin .prn ) 3.stop. 4.selectin Another .dbf File. 5. Process It . 6. Stop. My Code Is Able To Process One .dbf File But If I have 20,30, ....n …

0
119
Member Avatar for ChrisB

Hi, Looking for suggestions here I have two locations with two pc's at each....both ;locations have highspeed internet access. I need to set up file sharing and printer sharing between the two locations......any suggestions as to how to proceed? at one end is XP, at the other end is ME

Member Avatar for nitinsjr
0
219
Member Avatar for sycc2172

Greetings. I'm currently doing a project on Traveling Salesman Problem. But I'm not asking for answers for the whole project. I just started my programming lessons so I hope can get some help from all of you. About this project: Initially you have to read 2 input files, Input1.txt and …

Member Avatar for iamthwee
0
944
Member Avatar for abar_sow

How to write these file datas in the new file...It should be done by wrting bytes into characters import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FileNotFoundException; import java.io.IOException; public class fileread { public static void main(String[] args) { File file = new File("E:\\ir_Proj estimate_out.txt"); byte[] b = new byte[(int) file.length()]; …

Member Avatar for abar_sow
0
140
Member Avatar for nydana8

- Hi, I have an XML file that is a "Now Playing" title file generated by a radio software. I am trying to FTP this file to my web site. However, the file is missing the header tag & the end tag. I know I have to put in an …

Member Avatar for Fungus1487
0
101
Member Avatar for ssharish2005

Just wondering, if anyone has got a library or good link to parse a config file. If not is there any effcient way of hanlding config file, where the config is just normal text file. Its not XML file or anything. ssharish

Member Avatar for ssharish2005
0
96
Member Avatar for Sanja

When I clikc on any excel file in My Documents, open Excel (Office 2003) without choosed file (grey background). After thet I must open file with File/Open and choose file. I has looked in Options but I can't find what is not good. Thanks...

Member Avatar for Sanja
0
84
Member Avatar for staneja

I have one doubt about WAR file........ Like i am creating a project with mysql databse and deploying it through WAR file My question is if i want to deploy it on some other machine then i am copying war file there in webapps folder.........but do you think it war …

Member Avatar for dinezhr
0
121

The End.