4,718 Topics

Member Avatar for
Member Avatar for leroytrolley

Hi I've been trying to get a email form which allows my users to send photos as an attachemt via a "upload" button. I've got it working i.e. the form is sending me the data plus the photos, but I'm still getting this error when "submit" is pressed. [B]Notice: Undefined …

Member Avatar for Member #210412
0
294
Member Avatar for sreejithps

Hi, I am tryiing to open a file from my python project. The path to the file is given as .\Templates\html\temlate1.html. I used the file Alerter.py to open the above said file. Actually this source file and the Templates directory are existing in the same folder and on execution of …

Member Avatar for vegaseat
0
133
Member Avatar for ajay_tabbu

I m working with applets.but i got struck.I want to explorer directorys and file in Brouser (just like as we open my computer by right click explorer). but i m finding problem in that which java class and method i should use.As when we work without applet it's is simple …

Member Avatar for ajay_tabbu
0
122
Member Avatar for aus_fas1

Hi, I am writing an array data to a file. The data I am getting is from some sensor and need to be written in real time. I have manged to write it but I am having problem when I try to read it, as I cannot position the pointer …

Member Avatar for aus_fas1
0
258
Member Avatar for pri_skit

I have written a CString Object into Text file by using : f.Write (&FileName,FileName.GetLength());//FileName is CString Object Now I want to Read CString object back How this could be done?I am using code : LPTSTR p = CurrentLanguageName.GetBuffer(11); void *g=(void *)p; f.Read (g,CurrentLanguageFileLen); CurrentLanguageName.ReleaseBuffer( ); //But this method don't work. …

Member Avatar for pri_skit
0
139
Member Avatar for Romulus

this happened after installing a Logitech driver and the restore features haven't done anything to help me out. It seems to be limited to something the computer loads on a normal startup because it will hang or have problems after about 5 min. but there will be no problems at …

Member Avatar for jbennet
0
630
Member Avatar for mairaj

what is niche directory ? whats the diffrence between niche directory and general directory ?

Member Avatar for bobchrist
0
268
Member Avatar for tracethepath

the last record is getting displayed twice.i hv rechecked everything and cudnt find the error. here is the add n display function. [code=c++] void add() { example abc; int n; ofstream file1("EXAMPLE.dat", ios::binary|ios::app); cout<<"Enter Number Of Records To Add "; cin>>n; cout<<endl; for ( int i = 0; i < …

Member Avatar for Narue
0
2K
Member Avatar for DemonSpeeding

I have a file that is representing an image, here's the puddle.img file: 10 22 2222888222882222228882 2222888222882222228882 3333333333333333333333 1111111111111111111111 1111144444111111111111 1111444444411551111111 1114643434345551111111 1111333333311551111111 1111133333111111115114 1111111111111111115543 The first two numbers are the size of the image, rows and then columns. Then I have to pull in the image, and before the …

Member Avatar for DemonSpeeding
0
216
Member Avatar for corruptsystem

Our group has been banging our head against the wall in this one and cannot seem to figure it out. Our program is to be able to set up menus (done), allow user(s) to input 'student names' and save them to a data (*.dat) file and add names to the …

Member Avatar for corruptsystem
1
209
Member Avatar for panya

Hi Please be patient to read my question it similar the old question but not the same I get error as below when I tried to start my Linux server. /data contains a file system with errors, check forced. Error reading block 77000497(Attempt to read block from file system resulted …

Member Avatar for DimaYasny
0
503
Member Avatar for agrawalashishku

I have a floppy. It was storing names in 8.3 form I renamed one of the files to 20.3 on Windows xp and opened it on linux both acknoledge that name .Please tell me what is the file system. I thought it had to be FAT 12 even the boot …

Member Avatar for agrawalashishku
0
88
Member Avatar for yutao

Is there anybody know a software which can recover my lost files. I accidentally deleted my files on disk D. Is there a software can find them back??? Guys help me! Thanks!!

Member Avatar for eskelsen
0
61
Member Avatar for amt_muk
Member Avatar for vijayan121
0
2K
Member Avatar for pedro martinez

Hi, I need help to sort a file. I am able to open the file, but the lines of the text file are separate by commas and I have to separate the lines into 4 differents string of characters. I have problems separating the string and sorting them by name. …

Member Avatar for Aia
0
100
Member Avatar for gallantmon1

I'm still confused with file i/o here and needs a bit of help on fixing the codes I have. Can anyone offer some help? I have two codes here that sort of work together. One is a database type of code that is supposed to get input form the user …

Member Avatar for gallantmon1
0
274
Member Avatar for richk03

I am new to networking and have a query/question. I have two computers (one Windows XP and the other Windows Vista) and I have connected both to a combined broadband modem/router with built in firewall. Therefore, when I use the network setup wizard in XP I keep getting the message …

Member Avatar for richk03
0
93
Member Avatar for peterv6

I'm having problems writing records to an output file. When I do it in Textpad running on Windows, the output file looks fine. When, however, I copy the script to a Linux machine and use the exact same code, it appends a ^M character on each line written to the …

Member Avatar for trudge
0
154
Member Avatar for ITapprentice

I've seen tons of examples, but I can't seem to find what I need. I'm pretty new to programming, only been doing it for 9 months. Here's what I'm trying to do. I'm loading a file with the below info. 12 Item1 15 1 Item2 10 1 Item3 1 2 …

Member Avatar for Member #46692
0
2K
Member Avatar for kofi

Hello Everybody, i am developing a software that will have as one of its component a conversion studio. what will go on here is u can convert between some video formats an audio formats as well( like from avi to mpeg, wav to audio,mp3 etc) i want help on some …

0
57
Member Avatar for DemonSpeeding

So I have a program with a specification file, implementation file, and a client file, I'll post all three but I know the problem rests in the client file. What's happening is that it reads the first team from my data file which I'll also post, and then it doesn't …

Member Avatar for DemonSpeeding
0
115
Member Avatar for sickly_man

whats up everybody? havent been on daniweb in a while. self-motivation like whut....until now. anyways ive got this script that makes an html form with 19 or so fields. its supposed to put the form info into a file (mediaRequest_log.txt). it gets this information by way of [code=perl] # get …

Member Avatar for KevinADC
0
144
Member Avatar for j2swift

I am a beginner in C++ and I need some help because my decoding is coming out as a series of numbers. Here are the detail as to what I am trying to do. I wrote 2 programs that compress and decompress a text file, each taking input and out …

0
90
Member Avatar for Ravenous Wolf

hi. i am kind of stuck and i need some help. i have a dll and a .cs file. i have opened the .cs file and it contains a class. i asume that the class and the dll works together. sort of like a cpp header file and class file. …

Member Avatar for Ravenous Wolf
0
253
Member Avatar for nhenson

I have been working on this problem since last week and I about to go insane. I got it working and then all of the sudden it got screwed up. I want to know if someone can help me find out what I am doing wrong to fix it again. …

Member Avatar for Ancient Dragon
0
102
Member Avatar for donuttier

Hello! Please help me!!! I have been trying to make a program that show details written on a csv file. Somehow I have managed to do so, by using a code for opening *txt files. However, I would also need to add details to the same csv file, and delete …

Member Avatar for donuttier
0
2K
Member Avatar for suneel kar

Good Afternoon Everyone I Just Wanna Make My Code User Frindly . I Have To Extract .dbf Files . 2. Process Them.(makin .prn ) 3.stop. 4.selectin Another .dbf File. 5. Process It . 6. Stop. My Code Is Able To Process One .dbf File But If I have 20,30, ....n …

0
125
Member Avatar for Kusno

Dear all .Netters, How do i create and write a text file that saved in network folder ? The folder path is saved in table "K:\GA_PAYMENT\OPE". When running from VS2005, it could work well. But after i copied sources code to the server, ASP.Net could not find the folder name. …

0
75
Member Avatar for MillStrike

Goodday people! This time I am trying to index all files of a kind from any subdirectory. To index all files from a selected directory and 1 sublevel I use this code: [code] arrayCount = 0; DirectoryInfo di = new DirectoryInfo(SourceString); FileInfo[] rgFiles = di.GetFiles("*.mp3"); foreach (FileInfo fi in rgFiles) …

Member Avatar for MillStrike
0
144
Member Avatar for abar_sow

How to write these file datas in the new file...It should be done by wrting bytes into characters import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FileNotFoundException; import java.io.IOException; public class fileread { public static void main(String[] args) { File file = new File("E:\\ir_Proj estimate_out.txt"); byte[] b = new byte[(int) file.length()]; …

Member Avatar for abar_sow
0
149
Member Avatar for nydana8

- Hi, I have an XML file that is a "Now Playing" title file generated by a radio software. I am trying to FTP this file to my web site. However, the file is missing the header tag & the end tag. I know I have to put in an …

Member Avatar for Fungus1487
0
108
Member Avatar for ssharish2005

Just wondering, if anyone has got a library or good link to parse a config file. If not is there any effcient way of hanlding config file, where the config is just normal text file. Its not XML file or anything. ssharish

Member Avatar for ssharish2005
0
126
Member Avatar for Sanja

When I clikc on any excel file in My Documents, open Excel (Office 2003) without choosed file (grey background). After thet I must open file with File/Open and choose file. I has looked in Options but I can't find what is not good. Thanks...

Member Avatar for Sanja
0
115
Member Avatar for dbgarlisch

[B]How do I convert a FILE* to an IStream![/B] Using GDI+, I want to save an HBITMAP to a disk file as JPG. However, I am doing this within a legacy function that provides an already opened FILE* as a parameter. I have found nothing in the docs. [code=c++] static …

Member Avatar for dbgarlisch
1
231
Member Avatar for nagajyothi

i have created a structure and passed the intances of thes structures to the file how can i access each record. either delete or for searching e.t.c......... plz help me in this.

Member Avatar for Ancient Dragon
0
100
Member Avatar for eranga262154

Hi all, I have just start to work on C++. I want to open a text file, then write few text there. This is the code I wrote for that. [CODE]#include <iostream> #include <fstream> using namespace std; int main() { ofstream file; file.open ("example.txt"); if(file.is_open()) { file << "Write a …

Member Avatar for eranga262154
1
178
Member Avatar for Pyare007

[B]How to create a file that cannot be copied into another location. [COLOR="Red"]Note: OS windows[/COLOR][/B]

Member Avatar for Rashakil Fol
0
51
Member Avatar for dodol

Hi all, Any one know how to transfer file from website to computer?? In Visual basic , we can use catalyst. Any one has code in delphi 6 or delphi component to transfer file from web site to local computer? because before go in this website .. it need user …

0
76
Member Avatar for echocpt

Hi, im new to DaniWeb, but hoping to join in a lot. My first post is a request for help. I am currently working on a project for fun at home in my spare time. I have currently coded nearly all the project, but am strugaling majorly on saving files. …

Member Avatar for echocpt
0
208
Member Avatar for nil_gh_80

[COLOR="Red"][B]plz rectify the following code of file upload[/B][/COLOR] file_up.php [code=php] <html> <body> <form enctype="multipart/form-data" action="upload.php" method="post"> <input type="hidden" name="MAX_FILE_SIZE" value="1000000" /> Choose a file to upload: <input name="uploaded_file" type="file" /> <input type="submit" value="Upload" /> </form> </body> </html> [/code] ___________________________________________________________ upload.php [code=php] <?php //Сheck that we have a file if((!empty($_FILES["uploaded_file"])) && …

Member Avatar for Ezzaral
0
114
Member Avatar for Baserock

Here is the log file from running hijackthis. I have been trying to get rid of all the little bits of the programs that installed themselves last night. So far I have cleared up instances of Think-adz, swinkmdt.exe, dealio, pcouffin and lljdsvegn. I have already run avg several times as …

Member Avatar for crunchie
0
188
Member Avatar for belhifet

I just compiled a hello world C program with gcc and ran file on it. I got the following output: $ file test.out test.out: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.6, dynamically linked (uses shared libs), not stripped I expected it to say "GNU/Linux 2.6.20" …

Member Avatar for Xraider
0
69
Member Avatar for MotherPanda

I just bought the MP4 from China, the user guide stated to format it with FAT. I'm using Windows XP. I tried to right click the USB drive of MP4 then clicked "Format". The dialog box popped up and it has only the FAT32 for formatting the MP4. How can …

Member Avatar for cguan_77
0
93
Member Avatar for ishwarbg

Hi, I have a txt file with some details as given in the below format: filename index file position file length ex: 0001.ogg 123 000001 2345 0002.ogg 124 000099 3457 ...... ..... I need to read the third parameter (i.e file position) with corresponds to its file name (first parameter). …

Member Avatar for vijayan121
0
108
Member Avatar for santoshmath

hi everyone, i have a doubt on file handling using C. Can anyone just tell me how to change file extension of a file(ex .txt to .dat ..etc..) using a C program. thank you

Member Avatar for santoshmath
0
105
Member Avatar for currego

Last night I saved a .txt document (it had a name "***.txt" and everything) and when I realized that I didn't have the full information that I wanted on it, I copied the info which I thought was complete and modified the original file and saved with the same name. …

Member Avatar for Rashakil Fol
0
85
Member Avatar for bikey121

so a few weeks ago my pc crashes and wont boot up at all. a friend who i thot knew more than i did comes over and reinstalls windows,which loses all my files(?) anyway pc still wouldnt work right so he takes it to some friend of his and all …

Member Avatar for rwaforums
0
117
Member Avatar for acerf1

Hey, I have code in my program that, made line by line appear from my text file (Addition.txt), on my label. It basicly drawed questions from the text file. Now i was wondering if you could help me with the next part. When the question shows, the person is supposed …

Member Avatar for Member #46692
0
164
Member Avatar for ggeoff

I have used Canon Zoombrowser to download photos from a compact flash card to my PC. However, the folder to which I thought I had moved the files does not contain those files and I cannot find where the files have been moved to. A Search does not, of course …

Member Avatar for ggeoff
0
131
Member Avatar for Barefootsanders

Hey everyone, I'm trying to populate an array with file information from certain directories. Currently I have an array with all the file names in it. I was wondering if anyone knew a way to get the embedded information within a file. For example, an audio file( mp3 for example) …

Member Avatar for digital-ether
0
82

The End.