7,373 Topics
![]() | |
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 … | |
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 … | |
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 | |
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 … | |
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: … | |
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 … | |
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 … | |
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 … ![]() | |
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 … ![]() | |
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 " & " " & … | |
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 … | |
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. … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
Basically this code serves to take in an input file and convert all the "<" and ">" into "<" and ">" 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 … | |
[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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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] … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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; … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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: … |
The End.