6,015 Topics
![]() | |
i have a clients.dat file with client info in it. i have gone through it to find the record i want to delete, used PushBackBuffer to unread the one i want top delete, skipped that bit and carried on reading the rest and writing it to clients.tmp. after i have … | |
hi, I am developing an application in Windows CE platform is Windows Ce .net 4.2. i need to play media file through C code, i have managed to play media file in win32 through "system" command but this command is not available for Windows CE, i have tried CreateProcess function … | |
hi, I am developing an application in Windows CE platform is Windows Ce .net 4.2. i need to play media file through C code, i have managed to play media file in win32 through "system" command but this command is not available for Windows CE, i have tried CreateProcess function … | |
I am attempting to read a text file. [CODE] ifstream indata; indata.open(filename); if(!indata) { // file couldn't be opened } else { // file opened } // keep reading until end-of-file string data; while (getline(indata, data)) { //this is where i want to store values } indata.close();[/CODE] I want to … | |
I am working on a code which opens a file (infile), copies it to an output file (outfile) and then asks the user for a string and searches for that string in the outfile and replaces every occurence of that string with & symbol. Here's an example: Contents of infile: … ![]() | |
Hi all :) , I am working on video plug-in in C++.NET. I have a video file. Its size is not fixed. It can be in MBs or GBs. I have calculated sample size and sample count of video file and now I want to prepend (insert in the beginning … | |
I whould like to check on a particular file in a share network whether it is open by other user. If it is open by other user, i would like it to be close. Here is my code for opening the excel file and checking code. I have no idea … | |
Hi, I hope someone can help me with this cause its driving me crazy!! I have a number of folders in the c:\Windows directory that I cannot delete (they all start with lots of underscore ______) and also 4 shortcuts in the quick link bar and cookies in the cookies … | |
After Burning a number of files to a CD I find that the capacity has been reached. I write to inquire about the remaining files. Is there a way to use the operating system to 'compare' what has been copied and highlight what remains to be copied. Similarly, Is there … | |
Hello all, I have one shell script that takes the filename for processing as an argument. for eg. ./BulkEdit.sh SampleFile.xls. In the script it reads the filename from "$1" and does the processing of that particular file read from command line. If i have space character in the file name, … | |
I want to delete the text file output.txt ,but I get error message. File cannot be deleted used by another process. Can you please help me..I tried close nad flush commands for filestream and stream readers..but did not help.. Here is my code. [code=vbnet] Dim chkstr As String chkstr = … | |
I have a form that contains two text boxes where the user can type in file paths, I want to check to see if the file path entered into the textboxes are valid when the user clicks on the accept button. Here is my code [CODE]Private Sub btnAccept_Click() Dim OpenFile … | |
i have a file from which i have to read and compute the total value of all items,i dont know what methodto use to read arrays i tried DataInputStream(object).readInt(quantity[]); but it says it is wrong can any one help me in reading from the file and computing the total value … | |
Hi All, I am having problems with reading input from a sequetail file and I can't figure out what is wrong. Can someone please help me out, I don't know if I am even doing it right, very new at this. The code below is how I generated my .txt … | |
Hello experts ! I'm a newbiee to this shell scripting! I try to write a "diff" kinda script which compares two text files and echos the differences. The only different is, my script doesn't care about the character "x" in the first file , being replaced with any other character … | |
Hi, I've got 2 problems with sh: 1) I have a list of logins, seperated by a space (in a logins.txt file, like so: login1 login2 login3). I'd like to display those login names which are online AND on that list. So I made a list of those online: users … | |
I have been trying to follow what you guys where doing here because I have to do something simalar. Can you tell me what the name of your file is jaffo, is it a .dat or a .txt file? You where using ary, is that the file name? Acient Dragon, … | |
Hey everyone, im working on a project for uni. The question wants me to read from a text file, place the info into an array, sort the information in that array and write it to a new file with the sorted information. So far i have been able to read … | |
I have input files like this a.iup b.iup c.iup....... i have these input files in a variable called fname; like this char *fname="c:\\iupfiles\\a.iup"; every time i will get file name in this variable. But how to concatenate the variable with some other name like as follows in output file name. … | |
Real PC amateur... Need help with virus on PC. I've read the diagnositics on forum and completed scans and logs as requested. Could really use help in trying to rid myself of these nasties. First I have a Red X next to my C: Drive, Next when I log on … | |
Hi!, i'm writing from Argentina. I need your help! I'm doing a project for the university and i have to make a Restaurant management. Well that´s not the problem. I have to log into the software, so i need to read from a file that have the user and password. … | |
So I'm using this script to upload a .htm file, the only problem is after I upload the file the extension is gone and doesn't display as a web page. If I go into the folder and rename the file to vsquarel.htm the file displays as a web page again. … | |
I'm having trouble reading from my files properly. the files being read from is in this format: Q:3 D:4 N:1 and that is all in the file, it stands for quarters, dimes, nickels. yeah and the function i have to read from that is this: [code=cplusplus] void initialize (ifstream& soda, … | |
i have made a program on text file to remove extra blank spaces in a file but it is not working correctly. when i run the program just "enter text" appears and after entering the text the screen just remains as it was. Nothing else appears. I cant find where … | |
Hi guys, 1st time using this site. If anyone could tell me how I can remove adware programs and any other nasties in the below log file I would be very greatful (-: Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 12:39:17, on 23/08/2008 Platform: Windows XP SP2 (WinNT … | |
If your application provides custom dialog-box features, menu items or other capabilities by making changes to the Windows Registry, you can deploy those capabilities to other computers simply by distributing an update or patch to the Registry. Updating the Registry involves nothing more than exporting the capabilities from the Windows … | |
Hello all, I'm trying to create a simple program that creates a text file with some text inside of it. First off, I've managed to create the text file with a few lines of text. My Issue is that I need to use Quotes "" inside of my text file(main.cfg) … | |
Can anyone tell me how to go along with this project???????some sites where i can find relevant data | |
I have a ASP Page that allow the users to Download a File @ the Click of the button the [B]File Download Dialog Box [/B] will pop up on the Scream ,on the download dialog Box are 4 buttons namely [B]Open[/B] ,[B]Save[/B],[B]Cancel[/B] and [B]More Info [/B] :mrgreen: ,How do I … | |
Hi, I am using a dialog box where user selects a .txt file from the local drive. The selected file along with the folder path is displayed in a textbox on the form. The user can now edit the textbox. On click on 'Proceed' button, I am saving that path. … | |
I have a text file say log file. i have to extract all the characters between "<" sign and ">" sign. i.e. between <> and put it into the database and log file is of kind Sun, 24 Jun 2007 21:49:49 GMT: Received request </abc/abc.gif>, from <111.1.11.11>:<1111> at domain <localhost/abc.net> … | |
Hi All, new to this, and i havnt done much python programming, i have written a program to write data to a text file. each time i use the program, it appends the data to the file and leaves two lines between the sets of data however, i want to … | |
Hello everybody, I hope this is the right forum to post my question. It's a bit "in-between". I am about to write an updater for a programme of mine. The updater downloads an update-file from my server that has packed all files I want to replace and executes a simple … | |
Please compare the two codes below why is the first one displaying output to monitor where as the second code is displaying some unwanted characters. CODE 1 ..... #include <fstream.h> #include <string.h> void main() { fstream File("test_file.txt",ios::out | ios::in | ios::binary ); char arr[13]; strcpy(arr,"Hello World!"); //put Hello World! into … | |
I have an application that i want to run a batch file from it all i get is the flashing CMD windows but is not running. at one time I get it to run but dont know what happen start modyfying other things and stop working. what i really want … | |
Okay im working on this game and all the code was in JSE 1.2 i just updated to that new package with the NetBeans IDE 5.0 and wh atnot inside it which is very nifty actually problem is all of my code when put into project files wont find any … | |
I use a dell RD1000-160GB backup drive on my network. The computer that this drive runs off of is a windows XP machine. After doing some research, I still find myself stumped on even whether or not it is possible to do what needs to be done (well doing it … | |
Hi everyone, i have problem with servlet for upload files,every help will be much appreciated. I am using the Apache API for uploading files.My original servlet is longer than what i will paste here,but i think that if i understand the problem of the short servlet here, i will fix … | |
Hi, I need help with the server location my file path for the text file order.txt. according to my php text book, this is what they say I should use: @ $fp = fopen("$DOCUMENT_ROOT/../orders/orders.txt", 'rb'); however, this didn't work the server doesn't recognize where the file is located. This line … | |
Hi, i am having a vb6 program on a local lan server in my company. Recently i did an enhancement to the vb6 program. The program is able write into a blank excel sheet located in the application path. It work fine previously without any problem. After the enhancement, the … | |
I have two files, an application file and a class file. While they both run without errors, the application file returns a null when I run it. Here are the two parts that dont seem to work? Can someone tell me waht I am doing wrong? App file code: Invoice … | |
VB6.0: Writing an argument to see if an Excel file is already opened before opening the Excel file, because if the file is already opened the Excel file opens as read only. If it's already open I want to skip to the next "goto" label (ie: "File Already Opened"). Thanks, … | |
[B][/B]Hi, I am using cruise control on Windows XP. We have CVS as our version control tool. I am using the following four files to achieve build of my code. 1. config.xml (This file is present in cruise control directory and it calls up the file 'tc-build.xml'.) 2. tc-build.xml (This … | |
We have got a good way to upload a file in struts framework, using enctype="multipart/form-data" and using tag html:file. But in one of my applications I need to use a PNG image for the functionality of html:file. The reason is, I cannot make the textbox of html:file readonly. The user … | |
Hi I just started out with python.. I'm trying to write some code that will request a file with HTTP GET, be able to send custom headers to the remote host, download this file and save it locally, and show some kind of percentage downloaded which updates WHILE its downloading. … | |
Hi guys, I have completed one project and have created a setup file also. I have taken help from one of you guys and corrected a setup error, about "[B]DllSelfRegisterEx[/B]" to "DllSelfRegister". But now the problem is after complition of installation, i get the following error message during installation to … | |
hi sir, im a newbie in Java programming.. can u give me some tips or source.. that can read a file.. throughly and write to the file.. that can add more information to the .dat file when it adds or save more info to the existing file.. thanks a lot … | |
hi everyone i am new in php and i want to serch the specific words on text file using pregmach . i have try the patterns of the pregmatch() but it seems like i dont doit right. can someone look into my code and help me out with this problem. … | |
Right now I am learning how to use C++ programming on Linux. I just learned how to copy a file, now the question is, how can you tell if a file has been copied or not? I think I need a command or a function that allows me to check … | |
Hi I have a form where a user can enter a path name into a text box and I want to be able to check if the path name is valid. By valid I mean contains the right syntax. Is there a way to accomplish this in vb6. Thanks in … |
The End.