7,373 Topics

Member Avatar for
Member Avatar for metabex

Hi there, I am somewhat new to PHP but catching on fairly well. However, I'm currently stumped. I would like to access the newest XML file in a folder. Right now my code is hardwired so everytime I want to see the newest file I have to actually enter it …

Member Avatar for Atli
0
118
Member Avatar for vladdy191

I'm trying to read in a text file character by character. However, when I try to read it in it using the readChar method in DataInputStream it gives me a IOException. Heres what I have so far [CODE] FileInputStream stream; try { // Open an input stream stream = new …

Member Avatar for destin
0
446
Member Avatar for abhi_sri08

Hi, I want to use outputs from different forms of a project and save them into a single text file that could be from a module. Please suggest any tips on this. Abhishek

Member Avatar for Drycola
0
94
Member Avatar for ambarisha.kn

Consider d_type=POINT_LONG in the following program. and data.Long=0xA; In the following program i am getting correct output in constDataArea[0],constDataArea[1],constDataArea[2], constDataArea[3] which is oxA, 0x0, 0x0, 0x0. But not able to write the same into ambi.dat file. Some junk value is inserting in the front. and writing 5 bytes instead of …

Member Avatar for ambarisha.kn
0
164
Member Avatar for julseypart

Hi, i am trying to find a good final year project to do which is relevant to the modules im studying and course (bsc software development). I've thought of making an Online Backup Application / Manager which would facilitate the storing of files online with various other functions such as: …

Member Avatar for peter_budo
0
134
Member Avatar for tyserman5674

Hi All, I am sure having problems with reading from a sequential file. I created a .txt file and placed it several places within the vb.net file folder for the program that I am writing. The problem is that when I try and run the program I get the message …

Member Avatar for tyserman5674
0
161
Member Avatar for jobojo

I am trying to write a simple program to calculate income taxes owed based on gross wages that are input by a user. The HTML page needs to accept the input (wages from 4 users) at once and then utilize a button to submit the information to an external javascript …

Member Avatar for jobojo
0
310
Member Avatar for localp

i need to write a c++ function that could read in the values of a text file, but in the text file we need to eliminate duplicate values; for example we may have values like ;;;; this is a text file, and it contains the above students, there first name …

Member Avatar for iamthwee
0
145
Member Avatar for localp

i have a text file as follows; james nnnnnnnnn mmmmm kristy llllllllllllllllll oooooooo james pppppppp ppppppppppp james iiiiiii kkkkkkkkkkkk now for the out put, i want it as follows ;;;;;;; james nnnnnnnnn mmmmm pppppppp ppppppppppp iiiiiii kkkkkkkkkkkk kristy llllllllllllllllll oooooooo the code i wrote for this is as;;;; [icode] void …

Member Avatar for iamthwee
0
598
Member Avatar for hamidreza2790

Hi I run a batch file by VB6. The bach file need to pass a text file and a string (such as abc). I used the following commands but I faced errors : Shell "n:\aa.bat " & "c:\a1.txt" & "abc " , vbNormalFocus Shell "n:\aa.bat " & " " & …

Member Avatar for bushman_222
0
188
Member Avatar for xenocide001

hi there i'm new here i hope you can help me through this homework i've read like 14 pages of topics about seekg and fstream.. and well.. they didn't solve my problem. my homework it's about creating a text file from "b to z" without the vocals, then reopen the …

Member Avatar for vmanes
0
131
Member Avatar for DeadJustice

I seem to be able to load the files in my program. Then I can loop through the lines one time, but if I try a second loop to load the strings into an array that one won't work. Here's my code. I thank you for any help in advance. …

Member Avatar for DeadJustice
0
106
Member Avatar for Se7Olutionyg

[CODE] // filename = isbn.cpp // Kyle Burmark // Prof. Gelotte // 02/12/02 // Program 4 - Validate ISBN numbers program // Description: This program asks the user whether he wants to validate // ISBN numbers from his own input or from a file of isbn numbers // Start program …

Member Avatar for Ancient Dragon
0
186
Member Avatar for Lumnous

Hello I'm new here and im a bit confused about a certain code i am trying to do. The code is for opening the file dialog and when the object has been selected it would be shown in the web browser or open any file, the code i have done …

Member Avatar for Lumnous
0
518
Member Avatar for vijayg

Hi am printing pdf file with following code,But it does not print pdf in poper format.. it prints in stream ... private void button1_Click(object sender, EventArgs e) { try { streamToPrint = new StreamReader ("C:\\MyFile.doc"); try { printFont = new Font("Arial", 10); PrintDocument pd = new PrintDocument(); pd.PrintPage += new …

Member Avatar for LizR
0
171
Member Avatar for chunalt787

Our task is to write a Binary Search Tree and the data has to be input from a .txt file where in the data is held as such [CODE]12345678[/CODE] Each digit is a new node in the tree to be inserted. My Binary Tree is working because I can just …

Member Avatar for chunalt787
0
111
Member Avatar for Liszt

I have a ThirdPart program that appends text to a file randomly. I dont know how this code is doing this, thinking of opening and closing the file. I have simulated that scenario by: //Process 1 Appends Text to File //Process 2 Reads Text From File Now I am writing …

0
69
Member Avatar for mece

I am new to python and posting to this forum and my searches turned up nothing. I am writing a component for a log parser to combine events from matching dates into one file. For some reason the log files split between 19:59:00 and 20:00:00 hours daily. To resolve this …

Member Avatar for mece
0
779
Member Avatar for dmanw100

I am having problems reading in from a file in my project. I have a text file from which I need to read in data for creating some objects. I do not know how much data is in the file but I know the format is 6 lines of string, …

Member Avatar for BestJewSinceJC
0
121
Member Avatar for Djanvk

Ok so I have make a Windows form in Visual C++, and I know how to use this code to get the text from the text box to a string [CODE]text = txtBox->Text; [/CODE] That is in the Form1.h file, but I have to create some code in my .cpp …

Member Avatar for Lerner
0
87
Member Avatar for kotkata

Basically this code serves to take in an input file and convert all the "<" and ">" into "&lt" and "&gt" respectively. This works however, I cannot get it to convert the rest of the .txt file into the output file. Right now, it just works with the very first …

Member Avatar for ddanbe
0
116
Member Avatar for blackhawk9876

[code=cplusplus] // SPECIFICATION FILE (sList.h) // This file gives the specification of a sorted ADT // The list components are maintained in ascending order of value //****************************************************************** #ifndef SLIST_H #define SLIST_H const int MAX_LENGTH = 50;// Maximum possible number of components needed typedef int ItemType; // Type of each component …

Member Avatar for William Hemsworth
0
138
Member Avatar for ArtChess

Can an Adobe PDF file *any version* be set up so that when you email it to someone they can't print to it? I am trying to help my director and he can print any file but this one particular file he can't print - I'm wondering if Adobe has …

Member Avatar for davidmethew
0
140
Member Avatar for spark81

So I've got an IBM a22m laptop on which I'm trying to do a clean install of XP Pro, Service Pack 1. About half an hour into set-up, I get a message telling me that I need to insert the appropriate CD in order to find a missing ASMS file. …

Member Avatar for JussCIT
0
185
Member Avatar for kotkata

This is my code so far [code] #include<fstream> #include<iostream> #include<cstdlib> #include<stdlib.h> using namespace std; const int MAX_GENERATED = 100; void fillArray(int a[], int size, int& numberUsed); //prototype int main () { int array[MAX_GENERATED], numberUsed; fillArray (array, MAX_GENERATED, numberUsed); getchar (); getchar (); return 0; } void fillArray( int array[], int …

Member Avatar for skatamatic
0
144
Member Avatar for jakethesnake86

Ok, I have here a program where I'm trying to read a specific line from a file, store it as a string of characters, and then, if the right string of characters is stored, perform specific tasks. When I run this program I only get 11 of the characters stored …

Member Avatar for jakethesnake86
0
484
Member Avatar for thanatosys

I am still working on the lovely trie project, now I am working on file input that will be passed into the trie. I receive the following errors when I compile this code. [code] $ make gcc -Wall -g -c -o spellback.o spellback.c spellback.c: In function ‘main’: spellback.c:36: warning: implicit …

Member Avatar for thanatosys
0
133
Member Avatar for traza786

I have a written a program for Dijesktra algorithm; But I encounter the run time error when the code returns "lp" value ... Runtime check failure #2-Stack around the variable 'parent' is corrupted please see the code Could some one tell me that how to solve this prblem thanks [code=cplusplus] …

Member Avatar for traza786
0
213
Member Avatar for pardeep3dec

Dear Friends, I am attaching my test project with this mail. It will run on sharing folder and many user will access that programme but it is showing file already in used message; I am trying avoid this problem by my test project this programming will showing ip and computer …

Member Avatar for rstkw
0
108
Member Avatar for thakkarps

Hello, I am new to excel or vba i want to convert a data to export it to some output folder from a csv files from input folder there are 100's of such file in c:\raw which i want to work with the input file's details are the headers of …

0
38
Member Avatar for pardeep3dec

Dear Sir, My project uses Ms Access as back end tool and visual basic as front end tool. I have a problem when i run my project's tmgmt.exe file more than one time then it shows tmgmt.exe file entry into taskmanager's process tab. Suppose i used that file 4 times …

Member Avatar for sendoshin
0
258
Member Avatar for sasuke2910

Hey, I'm making a chat program so me and other students can chat in my high school and I've run into a problem None of the computers are connect with any kind of sharing folder or network drive like i thought they were so I have no where for my …

Member Avatar for sasuke2910
0
78
Member Avatar for yasmena

Is It Possible to pass a variable through an included file include("../admin/addcustomer.php?page=partner"); i tried it but it says : Failed to open stream: No such file or directory plz i need help and if it's not possible how can i pass this variable

Member Avatar for yasmena
0
191
Member Avatar for ndumbo

HI my package reads file from txt format only. it does not read .pdf or .doc file. is there any single java library that opens any kind of file format as stream and then reads or manipulates its contents.

Member Avatar for orko
0
609
Member Avatar for LostInVB

I have put together this whole network account creation and audit process. The creation process starts with importing data from our ADP system into SQL 2005 and creating a .csv file for each of the 12 sites to create the network accounts, based on job title. Then I add in …

0
29
Member Avatar for sr0867

I have an application in Java. Each time a new database is added we have to make changes in java file which reads from properties file and compile it I want to make a property file and each time a new database is added just change in that file and …

Member Avatar for stultuske
0
94
Member Avatar for murderotica

Hello, I've created a windows service application that monitors a folder. Whenever there's a change inside the folder (like you created a text file or renamed a folder) it will log the changes. Now my problem is to determine that the change happened to a file or a folder so …

Member Avatar for murderotica
0
120
Member Avatar for begyu

Hi all, I have a .cpp code which reads a matrix from a .dat file and compute their eigenvalues. But I would like to read more matrices from the file not only one, and get the eigenvalues in the similar way. Please help to solve this, I stuck at this …

Member Avatar for Lerner
0
276
Member Avatar for associates

Hi, I have a several computers on my LAN. One of the computers is the file server. There are a shared folder that is currently shared on the network. There is no a proper permission set on that folder. This means anyone can access to it. What i'd like to …

Member Avatar for jbennet
0
274
Member Avatar for Dani

This document will explain the behavior and benefit of implementing Diskeeper defragmentation software with intricate modern hardware technologies such as RAID, NAS and SANs. SANs, NAS devices, corporate servers, and even high end workstations and multimedia-centric desktops characteristically implement multiple physical disk drives in some form of fault tolerant disk …

0
226
Member Avatar for PaladinHammer

In case the guys who helped me with a "pass-by-reference" function didn't see it, thank you for your help! I've only got one problem right now and thats that my program will not send data to an output file. Here's the code: [CODE]bool checkInputFile(ifstream &fin); // checks the file input …

Member Avatar for Freaky_Chris
0
547
Member Avatar for jkun2

I have this program to read in a text file and store each word in a Binary Search Tree and keep track of the frequency of this number in the file. My outputFile should read like: 32 a 54 and 4 hello 8 will 9 would I have the program …

Member Avatar for stilllearning
1
1K
Member Avatar for Koldsoul

I am working on a program that reads in a text file as a command line argument, then goes through the file, breaking the file down into strings, special symbols (such as .:!;?) and integers. The program stores each type into its own collection. I have all the collection methods …

Member Avatar for Koldsoul
0
149
Member Avatar for PuQimX

can somebody help me this code cannot run. I can't find the error... [code=c] #include <stdio.h> #include <conio.h> #include <ctype.h> #include<stdlib.h> //use for fflush and exit(0) #include<string.h> //use for strcpy void calculate(); void insert(); void exit(); #define TRUE 1 void calculate_and_sort(int end_of_file); int input1; char ch; typedef struct{ int num; …

Member Avatar for Salem
0
170
Member Avatar for chaom79

Guys, right now i'm trying to develop a php file that can scan a virus in a server. The file and the virus definition i kept in a separate folder I named it 'virus'. I mean my website is not in a same folder as the virus scanner file. After …

Member Avatar for Juliopp
0
226
Member Avatar for cloudii

Hi, I'm learning intro to c++. My question is, how do I input values that come from a different text file so that the program uses those values for calculations? Basically, it gives me a list of numbers and tells me what the numbers are for... and then I have …

Member Avatar for Freaky_Chris
0
174
Member Avatar for CobraEatr

Hello! I'm new to C programming and I have a question. I'm trying to write a C program that that can: Open a file (the file name is unknown) located within the same directory as the executable file, search through the contents of the file for a particular keyword (for …

Member Avatar for Narue
0
124
Member Avatar for Gerbilkit

I am working on a project that requires the main system, EmployeeSystem to be able to open a file with JFileChooser, and then write to that file, run a payroll system on it, and search it for a particular employee using a directory system. I am struggling right now to …

Member Avatar for ~s.o.s~
0
129
Member Avatar for IT_Techno

hi i want to aske if there is away to upload / download files to / from sql databse using asp.net with C# i need to do that using using gridview i have view my data inside asp.net gridview i want to download my uploaded file in db when i …

Member Avatar for LizR
0
187
Member Avatar for l_03

hello guyz,,i have confusion anyway,, i have a textfiles (products.txt & cart.txt): "products.txt" inside this text file is Alcohol $12.7 12 Shirt $45.00 34 if i run it to a java file it would be like this actually i already know how to read the file,,and when i output it: …

Member Avatar for masijade
0
113

The End.