4,718 Topics

Member Avatar for
Member Avatar for MoeZen

Greetings all. Its been some years since I did anything in QB. I need to manipulate a txt file so it can be imported into MSAccess. Problem: The file is already comma delimitted, however each line of text contains multiple records. I need to insert a <return> after every 35 …

Member Avatar for WaltP
0
105
Member Avatar for Mr.UNOwen

So I started doing c programing and now I want to understand how file systems like fat 32 and NTFS works. So I want to know how to create a file transfering program. So here's a few questions.... 1 How do I do it the portable way? -find file size …

Member Avatar for WaltP
0
141
Member Avatar for wombat

Hi Guys This is my first post so please be kind, The problem I have is that I am trying to network my 2 G4's running 9.2,2 together. Both machines are on ethernet and I am using a switch and both ports indicate that they are connected by the lights. …

0
100
Member Avatar for petzoldt01

Hey guys, I have a question regarding file serving. I live in a frat house with 50 other guys. We have an email list to communicate, but recently, I have decided that I want to set up some type of file server. A simple FTP server would be great, or …

Member Avatar for paradox814
0
94
Member Avatar for Monsignor

OK, this is the problem: my original file has only one line and that line contains a sentence. I'm supposed to create a new file that will put each word from the sentence in its own line. For example, original file: [code=c]The quick fox jumped over the lazy dog[/code] output …

Member Avatar for Ancient Dragon
0
173
Member Avatar for vicky_dev

I want to read a file which contains a list of integers. The first 4 bytes( or whatever sizeof(int) is ) indicates how many numbers the file has. Suppose I check the file size before reading so that I know I won't encounter EOF. Do I still need to check …

Member Avatar for Ancient Dragon
0
137
Member Avatar for Member #114696

I am trying to make this program as my school project. This program basically gets data from user store it in an object [I]per [/I]and then saves it into a file PEARSON.TXT. Now the problem is that i am not able to write the data into files I dont know …

Member Avatar for Ancient Dragon
0
234
Member Avatar for sam_daniel
Member Avatar for Ancient Dragon
0
53
Member Avatar for saurabh_kanwar

Hi Guys, I'm having some problems in importing data from a file into a table. I created this file by exporting data from the same table. I've deleated all the records from the table and now I want to fill it up from the file I've created I'm importing data …

0
77
Member Avatar for Raju5725

HI, I am new to web development as well as ASP.Net....I am trying to design and a develope a web UI....in which I need to transfer file at the client location itself....I mean the provided filename along with the path I need to move that file from one location to …

Member Avatar for Exelio
0
92
Member Avatar for rbinc

[B]Here's my problem: [/B] The user needs to enter a char/string for a .dat file with a max of 15 characters. I've tried to use both a char and a string to make sure the user enters 15 or less characters. If I use char, and if the user inputs …

Member Avatar for rbinc
0
130
Member Avatar for affiliate7

Greetings, And an advanced "thank you very much" if you can help me :) I just played with the great tutorial from Dave Sinkula [url]http://www.daniweb.com/code/snippet151.html[/url] but I'm having trouble altering it. I want it to read the file, and each one of the lines, and output something like this: [QUOTE] …

Member Avatar for WaltP
0
134
Member Avatar for seth0x2b

Hey guys. Please bare with me since I'm only learning asm for about 48 hours or so.. I've learned enough to open files, read from/write to them... I know how to use the WIN API from within ASM and ..honestly, it's much simpler than C++ (IMHO)... So..I've written this basic …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for mattyd

Last night I took the advice of a DaniWeb member and looked at some posted Python code; this code was based around a card-type game and involved creating a GIF deck, shuffling, then displaying it. My original question had to do with using a Python dict for my GIF images. …

Member Avatar for Ene Uran
0
6K
Member Avatar for noople

Hi all, I'm working in the C language. I've been stuck for 2 weeks trying to figure out how in the world to populate arrays after reading in an input FILE. the input file has numbers and words, I need to write a loop that grabs the integers and stores …

Member Avatar for noople
0
2K
Member Avatar for Goldfish691

Hi there, I'm trying to write a simple encryption program that reads normal text from a txt file - encrypts it using a Vigenère Table - then outputs the results to another file. This process should obviously be reversible as well. I have written this for the encryption part of …

Member Avatar for Goldfish691
0
180
Member Avatar for HailttRedskins

Sorry, it should say FORM I was wondering how I can do a upload file. I run a fan website for the Washington Redskins, and what I want to do is have a section where the members can submit there video or picture materials they've made to my site. However, …

Member Avatar for codejunkie
0
147
Member Avatar for bullet102

Hi Guys I am new to C# programming and I wandered whether anyone could help me regarding this error message below: C:\MyFirstCOMTemplate\COM\PushTemplateC\PushTemplateC.cs(86): 'PushTemplateC.PushTemplateC.PblReadFile()': not all code paths return a value I am simply trying to get the text below: My name is Neil Rastogi I am aged 25 to be …

Member Avatar for JerryShaw
0
179
Member Avatar for Declan123

I have been trying to create an excutable jar file. When trying to added new data to the manifest file it give me an error say 'invalid header field name: |||Manifest-Version:'. Iam using the command line: jar -cfm App.jar META-INF\MANIFEST.MF mainui\*.class the mainfest file looks like this Manifest-Version: 1.0 Created-By: …

Member Avatar for Declan123
0
195
Member Avatar for nirmala.s

Hi folkz, Need help in writing a C program..The scenario is as follows: We need to copy a log file frm the database to a txt file and the txt file should automatically get updated whenever the log file is modified... Also there shld be a facility to filter data …

Member Avatar for Ancient Dragon
0
132
Member Avatar for Sin-da-cat

OK, so the part of my course about files is over, but now I am wondering: if you have a file with, say, a bunch of names (each in its own line), is it possible to use "C" to make a new file with the names aranged alphabetically? For example, …

Member Avatar for vegaseat
0
422
Member Avatar for balgarath

(c++) Ok so I understand how to use the system function, and how to output to a file. How do I pipe the output of say system("last") to a file? system() returns an int, so if I mystream << system("last") it will put an int in the file. I need …

Member Avatar for balgarath
0
181
Member Avatar for boujibabe

I working on a program that summerizes text documents and I need a way to find the length of the longest and shortest lines in the file and display it in a log file. I've already done a character count and line count. Also say I wanted to created different …

Member Avatar for boujibabe
0
360
Member Avatar for Dortz

Setting a static page file is mainly a tip that should be reserved for the computer user who has forsaken friends and family for the realm of PC gaming, but anyone can do it, especially if you do video editing, or are a power user of any kind. the premise …

Member Avatar for goldeagle2005
0
1K
Member Avatar for matrimforever

i need a function: readData() to read in scores from a file. I can open a file up, but not sure how to code it so input from the user opens any file. [code] int readData() { cout << "Please enter in the path to the student score file: " …

Member Avatar for Ancient Dragon
0
90
Member Avatar for Sin-da-cat

I'm pretty much new to using files, so I'm not sure if this is a banale question. Here's the assignment: "[I]Each line of the file dec.txt contains a whole number (>0). Write a program that creates a file called hex.txt. Each line of this file is to contain a string …

Member Avatar for Sin-da-cat
0
245
Member Avatar for earlyriser

Hello. I'm having problems filling an array from a text file. I cann't figure out how this works with getline. I can read read and store ALL the lines, but what I'm trying to do is to store ONLY the names of the employees (from the text file) to a …

Member Avatar for earlyriser
0
220
Member Avatar for Barefootsanders

Hey guys. I have a problem. I have to read in 2 arrays from 1 file. I know how to read in an array with known elements but this time the number of rows/columns are in the file. The first line has the dimensions of the array(rows columns) then the …

Member Avatar for ~s.o.s~
0
123
Member Avatar for Mr.UNOwen

How do you create a text file in c with any file type name in the back, such as file.abc or file.gcs or any other dot something. I'de like know how to do it the portable way, but if not, just let me know how to do it for win …

Member Avatar for Mr.UNOwen
0
32
Member Avatar for Savage221

Hello, well, as the title states, I need to take the file input and store it into a string. It seems simple enough, just setup a for loop going through the total number of characters in the file input, or just do a while !EOF loop, the part I'm not …

Member Avatar for andor
0
100
Member Avatar for Manas Kumar Sen

The following profram is not compiled. Why? Please help me! //This is a file copy utility// [code] #include<stdio.h> #include<conio.h> main(int argc, char argv[]) { FILE *fs,*ft; char ch; if(argc!=3) { puts("Insufficient Arguments!"); exit(); } fs=fopen(argv[1],"r"); if(fs==NULL) { puts("Cannot open Source file"); exit(); } ft=fopen(argv[2],"w"); if(ft==NULL) { puts("Cannot open Source file"); …

Member Avatar for Nick Evan
0
88
Member Avatar for Mushy-pea

Hello again. I am writing a bulletin board script at the moment (Perl BB sound good :p )? While writing some code to update a text file I encountered this situation. I need to open the file, append data to the end, then set the write offset to a particular …

Member Avatar for MattEvans
0
365
Member Avatar for william_stam

If i read excel records in asp using a recordset (to put those records into something a little better) it continues to use the old file. step 1 - upload excel file to the server step 2 - read excel contents writing them to database (I don't consider excel a …

Member Avatar for cancer10
0
155
Member Avatar for muhaa

Hi guy's i was wondering if any one can help i wat to make a random file generator which will be able to create random file's with random string's in them also i wilkl have to be able to control the file extension..Its for a file fuzzer im working on …

Member Avatar for muhaa
0
153
Member Avatar for andriss

[COLOR=#000000]Good day,[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]I need help from you.[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]I have to split and create output files by every 30.000 recordings. [/COLOR] [COLOR=#000000]Example ,[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]Input file has 150.000 (transaction.txt) recordings of bank accounts transactions.[/COLOR] [COLOR=#000000]The C code has to split this file and create output files …

Member Avatar for Ancient Dragon
0
107
Member Avatar for stolld

Hello, I am developing a embedded system that needed to appear as a computer on a windows SQL server. This is being done to share files from the embedded system to the SQL server. Is it possible to make my system a file sharing computer?

Member Avatar for sn4rf3r
0
21
Member Avatar for white house

help please. I have set up a home network between my desk top on XP professional and a laptop on XP home. I can share the printer and use the internet on both. When trying to share the desktop's files I can see them on the laptop but can not …

Member Avatar for jbennet
0
144
Member Avatar for Zulfiqarmd

Hi all, I am working on generating CSV month by month for annual report. what I do is just create CSV file initially and append to it every month end. So as to generate annual CSV file in following format: Month 1, Nokia8800, 156.0 Month 1, Nokia3120, 113.0 Month 2, …

Member Avatar for Member #46692
-1
107
Member Avatar for SammyHasibi

[code] { FILE *scorefile; int score; int temp; scorefile = fopen("scores.txt","r"); if (scorefile == NULL) printf("Error opening input file\n"); else { temp = 0; while (feof(scorefile) <= 0) { fscanf(scorefile,"%d",&score); temp = temp +1; } } fclose(scorefile); printf("Temp = %d\n",temp); system("pause"); return(0); } [/code] The program counts the number of …

Member Avatar for andor
0
254
Member Avatar for vbcielle

Can anyone help me...i have a file modt.txt and i want to save the content in modt2.txt but it seems my code is not working. Moreover, if i have the content of the 1st file Have a nice day. i want to save it to the 2nd file without double …

Member Avatar for vbcielle
0
165
Member Avatar for cancer10

If I want my users to download a .zip or .exe file the command is <a href=filename.exe>Download</a> or <a href=filename.zip>Download</a> This will ask the visitors where to save the file on their hard disk. But what if I want my users to download a doc/pdf/php/html file and I dnt want …

Member Avatar for MCP
0
131
Member Avatar for Fatshadow

Just wondering if anybody here has any experience of writing programs in C or C++ to use and manipulate the Master File Table, to restore previously deleted files?.....

Member Avatar for Salem
0
1K
Member Avatar for sunandoghosh

FILE BACKUP AND TRANSFER SOFTWARE - BEST...!!! Hi everyone...!!! WHICH IS THE BEST SOFTWARE (PREFERABLY FREEWARE) CURRENTLY AVAILABLE FOR FILE BACK UP AND TRANSFER...??????? (NOT SYSTEM CLONING but only data/file backup and transfer) Scenario: I am having one Hard Disk of say 200 GB with three partitions 20 GB; 40GB; …

Member Avatar for fry
0
173
Member Avatar for Matt Tacular

I have been trying to search the web to find a way to code a python program that can scan a given directory (ex. "C:\Documents and Settings\Matt\Desktop") and assign every file name found there (ex. "test.py" and "essay.doc") to a seperate variable or inside a list. Is there any way …

Member Avatar for Matt Tacular
0
418
Member Avatar for complete

Included file not found during compile time. This must be an easy question for you to answer. I have a header file (basetsd.h) that is located in the C:\Program Files\Microsooft Visual Studio\VC98\Include directory. Where do I set the path to this header file? I don't want to hard code it …

Member Avatar for FireSBurnsmuP
1
205
Member Avatar for Member #23858

Results for volume C: (NTFS) Volume Label: Volume Size: 62.36 GB Some files on the volume are open. This may effect the accuracy of the file system check and result in false errors. The file system contains errors that need to be repaired. I did a disc check but this …

0
41
Member Avatar for onlyshiva

hi I am shiva and I am making a web application in asp.net. I want to use "file open dialog box" control in my web application. But I cant do it because I dont know how use of "file open dialog box" control in asp.net. So please help and provide …

Member Avatar for tgreer
0
232
Member Avatar for seeppms

I am using filepointer in C. when I compile the code and run it for the first time the filepointer works fine and logs are written into log files. But during next hits there is an inconsistency in logs getting written. sometimes getting written and someother times not written. But …

Member Avatar for WaltP
1
183
Member Avatar for stupidenator

Hi, I am in need of some help with a small portion of my program. I have an input file as follows: [CODE]10 9 15 program1 11 1 30 important 12 11 10 junk program 14 15 5 other program 17 6 20 another program[/CODE] I need a function to …

Member Avatar for stupidenator
1
188
Member Avatar for reRanger

Hallo: I am new to this forum and am very glad to be here. I am currently working on a Python project which will be using Tkinter for a graphical (Windows)(XP) output. I have studied Python while completing my software engineering degree but have not used it for 2-years. I …

Member Avatar for vegaseat
0
149

The End.