4,718 Topics

Member Avatar for
Member Avatar for elblazzy4chizzy

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 …

Member Avatar for ajit2mail
0
477
Member Avatar for dinilkarun

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. …

Member Avatar for dinilkarun
0
159
Member Avatar for bhavna_816

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> …

Member Avatar for Muhammad Afnan
0
196
Member Avatar for sDJh

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 …

Member Avatar for sDJh
0
172
Member Avatar for mksakeesh

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 …

Member Avatar for Salem
0
170
Member Avatar for reaven

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 …

Member Avatar for reaven
0
205
Member Avatar for algorion

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 …

Member Avatar for javaAddict
0
167
Member Avatar for Pr09

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 …

Member Avatar for Pr09
0
248
Member Avatar for Idefreeze

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 …

Member Avatar for hughv
0
226
Member Avatar for Tootlol

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 …

Member Avatar for somedude3488
0
155
Member Avatar for Derice

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 …

0
52
Member Avatar for chanda gul

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....?

Member Avatar for Ancient Dragon
0
74
Member Avatar for ohyeah

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. …

Member Avatar for EAnder
0
509
Member Avatar for chanthung

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 …

Member Avatar for gsatya
0
382
Member Avatar for rapperhuj

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 …

Member Avatar for peter_budo
0
107
Member Avatar for cosby

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. …

Member Avatar for cosby
0
123
Member Avatar for pipisumthin

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 …

Member Avatar for WaltP
0
273
Member Avatar for scatterjoy

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 …

Member Avatar for dickersonka
0
168
Member Avatar for sangham

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

0
69
Member Avatar for linu

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 …

Member Avatar for linu
0
235
Member Avatar for waldchr

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 …

Member Avatar for waldchr
0
136
Member Avatar for blood08

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"]; …

Member Avatar for digital-ether
0
135
Member Avatar for davewylie

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 …

Member Avatar for davewylie
0
171
Member Avatar for prog77

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 …

0
102
Member Avatar for nil_gh_80

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 …

Member Avatar for Member #380484
0
191
Member Avatar for snurd

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 …

Member Avatar for snurd
0
125
Member Avatar for websurfer

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 …

Member Avatar for pritaeas
0
228
Member Avatar for adamj2

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 …

Member Avatar for ArkM
0
195
Member Avatar for psathish2

[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 …

0
124
Member Avatar for jhonnyboy

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 …

Member Avatar for jhonnyboy
0
140
Member Avatar for acchao

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 …

Member Avatar for Adak
0
249
Member Avatar for Clockowl

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 …

Member Avatar for Prabakar
0
400
Member Avatar for 2eXtreme

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 …

Member Avatar for lordspace
0
127
Member Avatar for mrjoli021

i need to zip some files and folders. is there a function already done for this or how can i go about doing this?

Member Avatar for selvaganapathy
0
104
Member Avatar for QuantNeeds

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 …

Member Avatar for ArkM
0
95
Member Avatar for karica

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 …

Member Avatar for karica
0
204
Member Avatar for amith003

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 …

Member Avatar for amith003
0
101
Member Avatar for amith003

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 …

0
63
Member Avatar for QuantNeeds

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 …

Member Avatar for Agni
0
167
Member Avatar for QuantNeeds

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 …

Member Avatar for Ancient Dragon
0
233
Member Avatar for prog77

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 …

Member Avatar for VernonDozier
0
109
Member Avatar for ibrahimssani

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 …

Member Avatar for ibrahimssani
0
473
Member Avatar for Mazille

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 …

Member Avatar for Mazille
0
2K
Member Avatar for mrjoli021

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?

Member Avatar for selvaganapathy
0
34
Member Avatar for Emerald214

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 …

Member Avatar for Emerald214
0
140
Member Avatar for vbgirl

[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 …

Member Avatar for vbgirl
0
147
Member Avatar for sdimantova

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 …

Member Avatar for sandeep_chalke
0
346
Member Avatar for maingi

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

Member Avatar for maingi
0
121
Member Avatar for dmf1978

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 …

0
66
Member Avatar for sittas87

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!

Member Avatar for gerbil
0
121

The End.