4,718 Topics
Hi, I am new in Perl and need abit of help on the usage of file handler. I was trying to write a line into a file with file handler ID "oFile2_$macro", but it does NOT work with the following Error : String found where operator expected at /home/wongz/bin/pt/grab_clock_group.new.pl line …
Hello there, I have here a program that reads a txt file taking each word in three columns separated by a comma and storing it to a vector. It has a filter that whenever it sees a comma, it seperates the word from each other. My problem is, whenever I …
hi all, i have a list of some files on the server. i want to let the user choose a file from the list then click a button to open read-only version from this file without showing the popup message that ask user to Open, Save or Cancel. this is …
Hi, I have a text file which looks in the following format =====c:\text.txt ====== AAAA BBBB ... ... ================== I have to read each line of the text file into a buffer, and print it, which I did in the following way. [code] #include "stdafx.h" #include "stdio.h" #include "string.h" #define …
Hi, I need help for this C Program very urgent. please find the attachment below
Hi, i am a new comer in PHP and i have to upload a file in my php web form. I have read some tutorials in which they mentioned that when we go to upload a file in php it saves by default in a temporary directory and after that …
[COLOR="Red"][U][I]hi, every body..[/COLOR] [COLOR="Green"]I have two program I couldn’t solve them So, can any body help me. please!![/I][/U][/COLOR] 1-Write a program that accepts a character and count number of occurrences in a file. The file should have some text, and the program count how many times the inputted character repeated …
Hi All, I'm trying to knock together a bit of a program for picking through the contents of %windir%/CSC in the hope of being able to recover somewhat from disaters suffered by users when Oflline File sync goes wrong It appears that all windows does is strip filenames and extensions …
Hello. I've given a task to 'print all the files in a directory in the format---<File name> <Size in Byte> <No of Disk blocks used> ,sorted by 'disk blocks used'(reverse order)..............if same no of disk blocks are used by two files then largest file will be printed first' I used …
Can anybody guide me how can I recover some of my deleted files. I have also emptied it from my Recycle Bin. Otherwise I could have restore it from the recycle bin. Please give me a cost effective solution and easy way to recover the files as I am not …
hi all of U. :) Please suggest me the code :?: >> to create a text file >> to write the data to that file >> to save that file >> to open the file >> to read the file >> to retrieve the data from the opened file anybody …
Hi....... I have a complicated homework...... I have a data which is csv file. I have to take this data from csv file and do sum calculations on these data's elements. But my problem is I cant take data from csv file to do this... I can take data from …
Hello. Apologies if this subject has come up before but much searching hasn't produced anything of any use. I currently have a program which reads data in from a specific file and then processes it etc etc but what I need to be able to do is somehow put a …
iam using suse 10.2 i ve mounted the ntfs partition but wen i try to copy & paste something in that partition i cant do it. error msg stating access denied arises wat to do?
Hi, I have a small question. How do I compute the number of files(which are specific such as .doc) in a directory in C++. For example, if I have 10 files of type .doc format in a directory, how do I compute this value using C++. Any help is appreciated. …
Hi i posted a thread earlier bout my dead desk top pc and i was just wondering if there was any way i could recover the files to another pc as there was a lot of photo's on there that i didnt have time to back up that i would …
how to create new folder for each user who uploads .doc,.txt,.png,.jpg into web server. user may select his own type of uploads file depending upon file extension new folder must be created. eg: user wish to upload a .doc file then i want to create dynamically [url]http://localhost/test/user1/doc/xyz.doc[/url] test- name of …
Hi, as is about to become entirely apparent, I'm a newbie programmer and I'm having some problems with what should be simple operations. I'm having some trouble writing to file and no matter what method I use I can't seem to get it to work as I hope it to. …
Hi all, [code] fstream filestr ("test.txt", fstream::in | fstream::out); [/code] Plz confirm me about the permission on "test.txt". it will be '777' by default ..am i thinking correct.?
I am completing the coding of a utility that reads data from a database and writes the returnset to a text file. The writing to the .txt file is performed by the client. The text file can range in size from 1 line to 20 million lines. When a file …
I was wandering if i can get help on how to view the contents of my hidden files. I marked them hidden but now I cant see neither the files nor their contents. Help me please! all my crucial data are in the files. by the servantking.
let's say i have a .dat file and .hdr file .... i have to compare both of them .... how can i open both of them at the same time and then compare them ? do you think is it prossible? pls help me? Edit/Delete Message
I'm sure this has been discussed before, but a forum search didn't do me much good, nor did a google search. I want to look into a folder and iterate through the text files in it....how do I do so.
My brother has an older computer with only parallel ports. We have a new machine for him, but need to know the easiest way to move his files from the old machine to the new machine. The new machine has only USB --- no parallel. I have external devices (hard …
Hello all, my name is alfredo, and I am 13 years old. I just started learning c++ about 2 weeks ago, and I am having a problem that's really giving me a headache. I am trying to code a project that will contain 2 files, file1 and file2. When file1 …
Hi Everyone. Still have had no joy on my last post but here is another. I am uploading an image to a blob field in MySql DB. Again, on my local machine its fine...however, on the server it does not get added to the field. All other information is added....eg …
whats a .dat file? whats a .dll file? how do you even make a .exe program that works? how do use this computer? whats a thread? ? what does a .dll or a .dat file got to do with a .exe file? whats the extension for configuration settings? the configuration …
hi all, I want to get one doc file as input and i should convert tat to txt file as output, Similarly for pdf to doc,doc to pdf...I want code for these file conersion in vb .........Pls reply if u know the relevant code....:?: Urgently Needed.Thanks in advance. Reply to: …
Hi, Please how can i empty the /var in my linux email server?
basically the external hard drive stopped autoplaying with its contents as well as stopped appearing on my computer,, so i went into administrative toolss>computer management>disk management from there i selected an option to extend volume, but i chose not to format the drive, however it did assign it a letter …
i am having trouble with uploading, when i upload big size file like >2M it hang the browser and show blank screen and file does not get upload. upload_max_filesize is set 8M also added set_time_limit(0); in my script But same thing on local network works file, seems problem in more …
Here a problem where i have a process where user want some data file(textfile.txt) from somehere for example from D:\smart\rs334455.txt. After user have that file, user can choose whether he want to save the file or display it as a text file. Could anyone in here give me some example …
Deal all,my prob:how can i pass data in a file after reading the file in C. i want to encrypt data of this file after reading the file.i know i cn use f commands to read data but want to pass the data later in second part of my program.sorry …
I have been told that my drive is partitioned into Drive C & Drive D I am losing hard disk space very rapidly on Drive C, I also think that I have a file which is mirror imaging my files, therefore taking up space, its called an ntuser cd video …
ok i need some help on programming a "delete" button that needs to do the following: it needs to access a server "\\server" and then a sub share on that folder so: "\\server\subshare" then it needs to delete everything in the subshare folder completely. does anyone have any suggestions?
Hello everyone! Below is a sample flat file (sampleflatfile.dat) i have on UNIX: [COLOR=#000000]AMPS,2324,Subscriber,Unknown,SingleDay,20070413,20070413,[/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]ALPEnt,4516,AllMember,Unknown,DateRange,20070411,20070419,[/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]AGLT,2156,Summary,Unknown,[/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]DUPP,2536,Yes,Unknown,[/COLOR] each line above represents a report to be generated...therefore, the content of the sample flat file above means we need 4 reports (because there are 4 line)... the file above …
hello, i want to create hlp file for the user ,If user click on help meu then ,i want to show hlp file to user which will be readable . how to open the File?
we r doing a project on data recovery...... is there any way how to access hard disk directly.....
Hello, I am looking for a software developer to develop a utility which is accessible on the web. There is a program called Gentle Program which you can download from [url]http://www.doremifasoft.com/gentlepiano.html[/url]. This reads a proprietary file format file ending in .lmz which allows you to read the sheet music. I …
Have a nice day to everyone! Pls help me on how am i going to configure my document root and drives for the fact that i encounter this errors: pls... pls... pls... `Warning: mkdir() failed (No such file or directory) in C:\websites\pjs3\BillingRegularDetailedSave.php on line 1928` `Warning: fopen("/PJS/2007-06-29/000002.txt", "a") - No …
my computer has xp running, I had installed vista along with it . but in winodows xp i cannot find the files of vista any where (like if you install xp and 98 on same machine than you can browse each other files) i have also browsed my disk with …
Can the floppy file system be changed from "RAW to EAT 32". How is it done?
hi this is devesh, i have a perl cgi script that downloads files from other site. but i got this weired problem that the script stops responding after downloading exactly 100 files (any browser IE or Firefox). i am running this script from windows 2003 server with IIS 6.0 any …
i had to reinstall xp home edition. when i started wmp 10 i noticed some of the mp3 files have been changed from their original titles to 'df705,df706,df707 etc.' also when i try to delete them i receive an error 'cannot delete file: cannot read fro source file or disk'. …
I basically need to write a program that will display all images in a directory, sequentially, and either create or open an existing corresponding text file, and allow a user to write/dictate into it. (e.g. So working in a directory containing one.tif, two.tif and three.tif, the program will open/create one.txt, …
Hi When Win2000 has not shut down properly, when it is restarted I get a screen whidh starts off: "Checking file system on C: The type of the file system is FAT32" Followed by a nine second countdown before the drive check begins, during which time I can cancel the …
Hello All, i want to add a word/text file in database(MS-Access), for this i am using datatype ole object for that particular column. i am using a text box to catch the file name and the complete path of the file and putting the value of textbox in that table …
Hi All, I'm trying to connect to a Web Service from VB 2005 and keep getting the same error: System.IO.FileNotFoundException occurred Message="The download of the specified resource has failed. " Source="msxml3.dll" StackTrace: at MSXML.XMLHTTPRequestClass.send(Object varBody) at WindowsApplication1.frmLogon.cmdOK_Click(Object sender, EventArgs e) in C:\Documents and Settings\Dev\My Documents\Visual Studio 2005\Projects\SOAP_Logon\SOAP_Logon\frmLogon.vb:line 90 Can anyone …
i believe my father in law used the small side of my kids partition to put all their stuff on and now i keep getting the message that im outta space. so i put xp on the big side.. my question is..can i transfer stuff from the small side to …
I've been working on a program designed to allow the end user to offer data corrections back to my company. (That is, they send us the originals, we process those and store it in a database, and this program is supposed to allow them to search the DB and send …
The End.