4,718 Topics
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> …
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 …
Hello everyone, I'm new here but hopefully I'm not double posting something already in another thread. The problem is that I'm not quite sur I'm using the correct keywords to search... Anyway back to my issue : I've just acquired a laptop last month and as I have more or …
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 …
hi all, i am checking the 32 byte directory entry in FAT32 file system and i am getting size of some files as negative...how can a file be of negative size....can any one tell me why it is giving negative file size....?
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 …
I have a FileSystemWatcher in my code, and the event it's linked to isn't triggering when a file is changed. I watched it in Debug, and the path, notify filter and EnableRaisingEvents are all being set correctly. I've looked at several code examples for FileSystemWatcher and I'm not seeing what …
Friends, I want to read content of a file in one of the xml files, can any please tell me how do i do that Thanks
Hello Please help me with the following: i am trying to open a file with a specific application using java. I am working on a desktop application. The following code using java.awt.Desktop works for known extension types,but when trying to open a file with an unknown extension it throws an …
Hi I have a program i was writing to solidify my knowledge of files and how to handle them. I seem to have hit a snag though. What the program does is create files based on a user inputted date and allows them to add content to the files (kind …
I am trying to make my script install a config file with the right settings so the it can be used by anyone. Here is the file that will create the config file: [CODE=language] <?php $dbhost = $_POST["dbhost"]; $dbuser = $_POST["dbuser"]; $dbpass = $_POST["dbpass"]; $dbname = $_POST["dbname"]; $location = $_POST["location"]; …
Hi, I have a routine which reads a file using type='file'. I would like to be able to update the file and save it in the same location it came from, which would be in the C:\ directory. However, I cannot see how to get hold of the path associated …
The code .. modifies a files from line 56 to 66 if it finds a 0 and if it finds a 1 it doesnt do any change in file . I m reading 0 and 1 from ms acess database file and for each 0 or 1 in a particular …
Hi frnds, I have built an information maintenance system where files can be uploaded. Anyone can view those files. But, the problem is when a file is viewed in the browser at that time if someone just copy the URL in some text file after that any body from any …
I know how to open an Excel file with VB but I need help with writing an argument to see if the file is already opened, 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 …
Hello, all: I thought I could convert a basic upload script into a MULTIPLE file upload by simply adding a FOREACH loop to it, but doesnt seem to do it. Not sure if I am setting it up correctly. It looks like it does recognize the array since it does …
Hi there, I want to read 1 byte of information, in the form of an array of unsigned chars [1], from a file. I then want to use this piece of data to act as a secret key for a message authentication code I will be performing. The key will …
[COLOR="Green"]downloaded file show only 0byte nothing in download file............... this file uploading codes... [/COLOR] [COLOR="Red"]Code:fileload.html[/COLOR] [code]<html> <head> </head> <body> <center> <form method=post action="loadfile.php" ENCTYPE="multipart/form-data"> <h4>Enter the Following Details</h4> <table border=1> <tr> <td> Enter FolderName</td><td><input type="text" name="fname"> </td> </tr> <tr> <td> Title</td><td><select name=title> <option value ="resume">resume</option> <option value ="resume1">resume1</option> <option value …
hey guys just joined the forum and so far it looks very promising :D got a quick question for everyone that can help, i am trying to organize a txt file to output the "gpa" from highest to lowest. Now this is what i have so far... [code]#include <iostream> #include …
Hey, This a bit of a lengthy problem to explain, please bear with me. My goal: Read in a data file (written in ASCII) and convert it to a smaller format (such as binary) The Problem: I start off with a proprietary format called Heim RawData. I currently don't have …
Hey guys, I'm parsing this WaveFront .obj file, still (for those that have read the previous post), but it has some really weird error in it that I haven't seen in a program before. The parsing algorithm starts out like this: [code]Open the file in textmode. Get filesize Allocate buffer …
Hey Guys, I was hoping someone could tell me how to run server side code to process a file? Basically, I want users to upload a file to my site, and once the file is uploaded, I want server side code (I'm thinking PHP) to process the file. Also, I …
i need to zip some files and folders. is there a function already done for this or how can i go about doing this?
Help, I still cannot understand why the following function will not write the change to my program correctly. For my other functions (add a record and delete record, it wrote all the records perfectly to the file, but for some reason when I go to update a record it does …
I have a video clip my son created that I want to email to others. It is 12mb and thus to large to email as is. I attempted to send the file to a compressed file via the windows xp option (ie. right click, send to compressed file). It created …
I trying to take an image file which is present in some folder of local machine and trying to load it inside a server. If i give the path its trying to access the server path,not the local machine's path where the actual file is present, this works fine when …
Hi All, I'm trying to move one file from one folder to other in local machine using the application(website). I can copy itbut i cannot move or delete after copying. I have given all permisssions to aspnet and network service account, but still not able to move/delete. Pl let me …
Hello, I need help to try and figure out why one of my functions does not write to the file. I have 4 functions (below) and all of them write to the file except the updateRecord function. I know this is the case because I keep checking the .dat file …
I am not sure how to prevent the padded characters within a string array from printing. The user inputs the information in function enterRecords() and then prints in outputLine(ostream &output, const Tools &record ) function. I am having issues with outputline when I try to print to screen and then …
hi , Can someone help me with a program if possible .. I have similar files with file name like prog1.in , prog2.in .... progr100.in which has some 47 rows of data in a txt format (almost same files ). I have another file name file1.txt having 100 rows just …
Hi there, am new to php and i have been trying to upload files from a form to a location on a server ( folder "uploads" on the server), the syntax and everything i am using is right cos i tried using just a form but when ever i use …
I'm having trouble with creating a function that would generate a random word from a list of four-Letter words from a file called fiveLetterWords.txt. I know how to generate the list and print it but I can't seem to get the random part right. I have attached the fiveLetterWords.txt file …
I need to copy files from one directory to another on a daily basis. I want to keep one weeks worth of files. How can i read the timestamp to determine which is the oldest file so i can delete it?
I use VC++ 6.0 1) This small program simply reads infomation from file “in.txt” and write it in file “out.txt”. (copy contents from this file to another) 2) It doesn’t work. The compiler issues an execution-time error. And the ouput text file “out.txt” is empty. 3) I don’t know why …
[code][COLOR="Green"]Public cnName As Connection Public rsId As Recordset Private Sub cmdImport_Click() Dim a(50) As String Dim ProductID(50) As String Dim i As Integer i = 0 cdbOpenFile.Filter = "Text Files (*.txt)|*.txt| " 'Specify default file name to open cdbOpenFile.FileName = "" ' Specify default filter to *.txt cdbOpenFile.FilterIndex = 1 …
My program performs a search on a user selected directory and produces a list of files and attributes in a listview. The user then has the option to open files, move them, or delete them. This program will be used accross a wide variety of users and I want to …
Can someone help me to write a program that can read and write to a file and then store the user input in the file using the Property and ClassLoader classes.Also when another person uses the program it should tell you the last person to use the program.Thanks in advance
Hi friends, I'm coding an application using VB.Net 2008 Express which work with images. It can save the results of this work in a file using an own format (not a regular image file) for future re-processing. I wish to put a thumbnail inside the saved file, so it can …
Hi This might be a quick fix,can someone tell me how to delete a file that has a file with blocks (no letters or numbers) and no extension,it just says file.when I delete the file it says cannot read from source. can anyone help me this client is my BOSS.Grrrrr!
The End.