7,373 Topics

Member Avatar for
Member Avatar for zigpy_siva

hi I am creating an CSV file in java by putting the Korean values in a properties file like "\uc81c\ubaa9 \uc18c\uc2a4\uc5d0\uc11c \uc5b8\uc5b4" [B]which is properly coming in the CSV file (like "번호 출판물의") when I open it in the notepad and select the font as Arial Unicode MS[/B], but when …

Member Avatar for zigpy_siva
0
617
Member Avatar for christiangirl

This program is all working except when a user chooses the same file as before it needs to show both orders in the file but it is only showing the latest one. [code] import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*; /** * Program that allows user to select a …

Member Avatar for christiangirl
0
138
Member Avatar for Q8iEnG

Hi guys.. :) I'm still on my way on learning and seeing examples of JavaScript Codes Today I saw this code (which depends on external file called *banner.js*) [CODE] <!-- Paste this code into an external JavaScript file named: banner.js.js --> /* This script and many more are available free …

Member Avatar for Q8iEnG
0
182
Member Avatar for bpacheco1227

I need to add student name and grade to a file. This is my section of code so far [code=VB] Private Sub addStudentNameGrade_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles addStudentNameGrade.Click Dim swrStreamWriter As IO.StreamWriter swrStreamWriter = IO.File.AppendText(path & "studentgrade.txt") swrStreamWriter.WriteLine(Me.textStudent.Text, " ", Me.textGrade.Text) 'swrStreamWriter.WriteLine(Me.textGrade.Text) swrStreamWriter.Close() End Sub [/code] …

Member Avatar for bpacheco1227
0
125
Member Avatar for Prashant45

#include<conio.h> #include<stdio.h> #include<fstream.h> #include<graphics.h> #include<dos.h> #include<time.h> #include<STDLIB.H> // FOR EXIT #define ESC 0x1b /* Define the escape key */ void Pause(void) { int c; c = getch(); /* Read a character from kbd */ if( ESC == c ){ /* Does user wish to leave? */ exit( 1 ); /* …

Member Avatar for ArkM
0
2K
Member Avatar for clutchkiller

Hi guys, im still learning some programming, and am confused on the subject of file i/o. I am getting this error but cant figure out why. Any help is appreciated, thanks Keep in mind i have obviously not finished the case scenarios. In function `int main()': error: jump to case …

Member Avatar for cikara21
0
217
Member Avatar for deepu16

can any1 suggest me how many modules should b desinged to develope a file splitter sw n wat shuld b they???

Member Avatar for quuba
0
36
Member Avatar for AcesWild160

Hello and Happy holidays to all. I am new here, so sorry to bother you. I'm working on a project for a class and have run into a bit of a snag. I have a method that reads integer values from a text file and stores them into an array …

Member Avatar for BestJewSinceJC
0
112
Member Avatar for bombe

Hi viewers, I was trying to delete a file from my hard drive and I don't really have a good place to start. I googled it and came up with a code derived from multiple sources. I was wondering if anyone could help me out with the code to delete …

Member Avatar for permoda
0
122
Member Avatar for christiangirl

Hello, I had to make this program and it is all working except it is not writting to the file. Can you help me out? Here is the code: [code] import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*; /** * Program that allows user to select a meal. * Includes …

Member Avatar for christiangirl
0
139
Member Avatar for SlayerX

Need some help on text file compression.... Text File Compression. The text file compression must be able to perform the following functions: • Able to compress a text file and generate an index file • Able to decompress the file • Able to show the time taken for compressing and …

Member Avatar for Salem
-1
323
Member Avatar for Stefano Mtangoo

Hi All, For long now have tried to get Python bindings and none is there. jlgm suggested me to try ctypes and I dived in. But there are few examples on using ctypes for new bees like me. I tried to take lame_enc.dll (The file made me to learn ctypes …

Member Avatar for Stefano Mtangoo
0
888
Member Avatar for dusse

Hello guys, How can I read and write in the same file? I want to open a file that exists and write something in the end of each line of the file.. Ex: My_file: a b c d e f g h i I want to alter to: a b …

Member Avatar for Salem
0
89
Member Avatar for tonybowry

Hi all I've only been learning C for 6 weeks and have a project to convert arabic numbers to roman numerals. Part of the prgram must do this in batch mode. i.e. read integers from .txt file, convert and write numerals back to .txt file. It seems to be working …

Member Avatar for tonybowry
0
72
Member Avatar for miso66

Hi guys! I wrote program, which read data from file(you can modify this file) and than it paints in to JPanel containing Canvas.But it doesn't work. [COLOR="Red"][B]class MainWindow:[/B][/COLOR] [code] package my; import my.MyCanvas; import my.Rectangle; import java.awt.*; import java.awt.event.*; import java.io.*; import java.util.*; import javax.swing.*; import javax.swing.border.*; import katka.Circle; import …

Member Avatar for peter_budo
0
109
Member Avatar for cosby

hi everyone,i am having a problem with the maximum file upload i have read the forums about the maximum file upload and i went to php.ini to change the maximum file upload from 2mb to 3mb but if i upload 2.6mb file still the upload file doesn't work can you …

Member Avatar for cosby
0
91
Member Avatar for dampecram

Hello, the program I have creates a database and lets you update/add/delete any information you want about hardware items. My problem is.. after I exit the program, all the data is lost in the binary file. I need to keep a database in a binary file and update it everytime …

Member Avatar for Ancient Dragon
0
101
Member Avatar for asifkamalzahid

[I]n the following program i have the error [COLOR="Red"]Warning: ftp_delete() [function.ftp-delete]: Access is denied. in G:\WEBROOT\wilbourn\ftptest\uploadfunctionpage.php on line 89 could not delete wilbourn/ftptest/t.DOC [/COLOR] [/I] [CODE] <?php //Move or Upload Folder Using PHP FTP Functions function moveFolder($_server, $_user_name, $_user_pass, $local_dir, $remote_dir) { echo"$_user_name <br/>"; echo"$_user_pass <br/>"; echo" directories are : …

Member Avatar for asifkamalzahid
0
2K
Member Avatar for tuse

Hi! I am using the following code for a file upload- [code=php] <?php if(isset($_POST['b1'])) { if($_FILES['uploadedfile']['name'] !="") { $target_path = "/home/infotech/myhomepage/uploads/"; $target_path = $target_path . basename( $_FILES['uploadedfile']['name']); echo("Temporary Location is: ".$_FILES['uploadedfile']['tmp_name']."<br />"); echo("Target Path is: ".$target_path."<br />"); if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) { echo "The file ". basename( $_FILES['uploadedfile']['name']). " has been uploaded"; …

Member Avatar for tuse
0
215
Member Avatar for Krysis

[COLOR="Red"]ATTENTION[/COLOR]: SKIP WHAT'S WRITTEN IN [COLOR="Red"]RED[/COLOR] UNLESS YOU WANT TO KNOW [B][I][U][COLOR="Red"]EXACTLY[/COLOR][/U][/I][/B] WHAT'S GOING ON... NOT NEEDED THOUGH! Well, let me first ask the general question/problem that's plaguing me in this "Coded Adventure"... [COLOR="blue"] "Let's say I've opened a file for reading and the file that I'm reading contains: Hello …

Member Avatar for Krysis
0
138
Member Avatar for Se7Olutionyg

[CODE] // Description: This is a computer version of the game hangman, the user // can play against a 2nd player or the computer, and he can enter how many // guesses he gets, // // Start of program // Header file definitions #include <iostream> // Standard input/output #include <string> …

Member Avatar for Salem
0
130
Member Avatar for Se7Olutionyg

[CODE]// file: hangman.cpp // name: Kyle Burmark // professor: M. Gelotte // date: 2/26/02 // Description: This is a computer version of the game hangman, the user // can play against a 2nd player or the computer, and he can enter how many // guesses he gets, // // Start …

Member Avatar for cikara21
0
396
Member Avatar for MacBarnes

I have used a binary search tree to read in a text file, storing each word as a node, and counting how many times that word is repeated in the text file. I have been able to successfully [I]cout[/I] that information, but for some reason have been unable to read …

Member Avatar for cikara21
0
119
Member Avatar for Elmo_loves_you

Hi, I was just wondering if anybody new of a way to store an encrypted file to an sql server database through a stored procedure. I have managed to encrypt a file selected from a FileUpload control but at the minute the encrypted file and the key are created and …

Member Avatar for Saravanan M
0
119
Member Avatar for asifkamalzahid

[COLOR="Red"]In the follwing code i want want to know how i can put my information in the file filename distinamtion_file i want to use this code to upload a file from my computer to ftp server file that i want to upload is in my 'C/SITE/file.txt@ folder and i want …

0
95
Member Avatar for l_03

hello guyzz,,,i am almost finished with my code,,but our teacher require us to access a text file..this is it: in my text file: accountList.txt 12345 1234 200000 Jerry Lopez first column was accountNumber, then the pinNumber, then the balance and the name.. what i did was... import java.io.*; public class …

Member Avatar for l_03
0
218
Member Avatar for CMacDady

I have been writing a Loan Program that requires at one point to read a .txt file and create an array from the contents. This part is nothing new to me. The problem I have is a single line of code and I cant figure out how to make it …

Member Avatar for CMacDady
0
145
Member Avatar for scamguru

[B]I have to read a file (for a string) and the file is available only at the compilation time, not in the run time. Is there any possibility to read the file during compilation and initialize a variable with the value read from the file. I have tried different methods, …

Member Avatar for vmanes
0
109
Member Avatar for christiangirl

I have this program all working, except in how the text looks in the file. The text is supposed to be all on different lines, but its all on the same. Here's the code: [code] import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*; /* * class LogOrder * Allows user …

Member Avatar for christiangirl
0
135
Member Avatar for christiangirl

I have to write two programs, one writes to file based on what the user selects. The other reads the file, and outputs what the user selects. And I'm really not sue if I'm doing this right. Here is what I have for writting to the file: [code]import javax.swing.*; import …

Member Avatar for vee_liang
0
85
Member Avatar for christiangirl

I have to make a program where I take a file that contains users order information(the file is from another program I had to make), and then tests it and outputs how many of what it orders. I cant seem to get it to work, its running but then at …

Member Avatar for masijade
0
83
Member Avatar for AlbertPi

This is my function. see below: public void SoundTest() { try { AudioInputStream audioInputStream; File file = new File("C:\\Temp\\online.wav"); audioInputStream = AudioSystem.getAudioInputStream(file); Clip line; line = (Clip) AudioSystem.getLine(new DataLine.Info(Clip.class, audioInputStream.getFormat())); line.open(audioInputStream); line.start(); line.drain(); audioInputStream.close(); } catch (Exception e) {e.printStackTrace();} Toolkit.getDefaultToolkit().beep(); } I got this error when I ran it: ` …

0
74
Member Avatar for Devlan

I'm trying to get to grips with using files, particurlarly saving a set of inputs from the user into a file and then load it all back up again. I have a program which, through a little object oriented interactivity, allows the user to pair up names and numbers in …

Member Avatar for vegaseat
0
124
Member Avatar for koman

[code=cplusplus] int main() { string name; cout << "Please enter the filename of the encoded message:"; getline(cin,name); ifstream infile; infile.open(name.c_str()); if (infile.fail()) { cout << name << " fail to open." << endl; exit(1); } cout << name << endl; cout << " File successfully opened" << endl; string buffer; …

Member Avatar for VernonDozier
0
150
Member Avatar for christiangirl

Hello, I'm having trouble with this program. What I have to do is open a file(in this case link.dat) and then the user chooses what they want to do, take something out of it, add somethng to it, print it. It opens the file fine, but then I cant get …

Member Avatar for christiangirl
0
94
Member Avatar for IT_Techno

hi every one, i have create an asp.net application when i worke localy (on my PC) it work well without any erorr but when i deploye it at web server (vps server ) it give me this erorr: [COLOR="Red"] Configuration Error Description: An error occurred during the processing of a …

Member Avatar for dickersonka
0
398
Member Avatar for mglover070588

Hi , new to the forums:) Trying to do this tutorial from the 'C programming for scientists and engineers' book. The person who wrote it is my lecturer. The program reads the file, but when it displays it, it only shows the last line - I am stuck! I think …

Member Avatar for WaltP
1
234
Member Avatar for vmars

Greetings: The following files are all *.file . This seems wrong. They all contain similar to this: #!/usr/bin/env python from wx.tools.XRCed.xrced import main main() What are they, and can I rename to: *.py or *.pyw ? C:\Python\Scripts\ ================= editra.File helpviewer.File img2py.File pyalacarte.File pyalamode.File pycrust.File pyshell.File pywrap.File pywxrc.File xrced.File Thanks!

0
63
Member Avatar for michux

Hi, Here is my use case - I have a Java app from which I'm calling an XSLT to transform XML into HTML - The XSLT is a file in JAR - The XML is passed as a stream from another application Now, the problem is: - I need to …

0
407
Member Avatar for Rayhan Muktader

Hello, I found this class at phpclasses dot org. It retrieves emails from pop3/imap servers. It works wonderfully. But I would like to learn how it works. I emailed the author but did not receive any response. So I'm placing my questions on daniweb because I know how intelligent this …

Member Avatar for Rayhan Muktader
0
87
Member Avatar for heyitsme

Hello- I do not have much experience with python, although I am trying to write a script to do the following: I have more than one CSV file, in this example I have three, each file has many rows, and two columns, they are in this format: Column 1 is …

Member Avatar for woooee
0
92
Member Avatar for whisper_101

Hi Guys I have 2 files 1st File a user creates a Text File using the FileSystemObject 2nd File I want to send an email confirming the Text File has been created I do not want to include the script to send an email with the script to create a …

Member Avatar for Baradaran
0
62
Member Avatar for resduq

hi, i'm workin on a lab for an intro to computer science class which deals with c++... one of the ten parts of it says the following Read about the getline command for fetching an entire line from a input stream. Then make a text file of mixed words and …

Member Avatar for ArkM
0
167
Member Avatar for bondo

I have no clue why this isn't working. The top part that reads into size, shortTime, longTime, and threshold work fine. Down below where I try to do the exact same thing and read into x, i get segmentation fault every single time. It seems to me that everything is …

Member Avatar for Narue
0
150
Member Avatar for meddlepal

I am having a major problem with a really simple File I/O operation. I have a pretty simple datafile filled with a list of names and courses. [CODE=text] Happy Singing Dopey Dancing Sneezy Etiquette Slimey Math Grumpy Mining Slinky Karate Happy Mining Dopey Mining Doc Singing Doc Math Doc Medicine …

Member Avatar for meddlepal
0
91
Member Avatar for justted

Hello, I have been setting up a photo upload feature for a website which allows members to upload photos. I am also after some advice on how large a file should be? I thought about allowing members to upload a photo up to 100,000 in size and allowing a maximum …

Member Avatar for cwarn23
0
209
Member Avatar for codeforfun

Well i didnt really know where to post this =(, if you think its wrongly placed just move it =P I don't know if other Pascal versions show each code error, but FPC doesn't. If you got one this encouragement killer errors use Ctrl+F with your error code number. 001: …

Member Avatar for Denniz
0
344
Member Avatar for Jacky1

I did make my dll file out off those two files dll.h [code] #ifndef _DLL_H_ #define _DLL_H_ #if BUILDING_DLL # define DLLIMPORT __declspec (dllexport) #else /* Not BUILDING_DLL */ # define DLLIMPORT __declspec (dllimport) #endif /* Not BUILDING_DLL */ DLLIMPORT void welcome(); class DLLIMPORT DllClass { public: DllClass(); virtual ~DllClass(void); …

Member Avatar for Jacky1
0
119
Member Avatar for regent_royal

Hello, I want to use ajax upload I m using [COLOR="Red"]"commons-fileupload.jar"[/COLOR] for uploading file... and below code is used to call servlet through ajax. Actually I am new in ajax so I can't understand what happens while I use multipart request. My javascript is [CODE]<script language="javascript"> function getXMLObject() //XML OBJECT …

0
64
Member Avatar for edensigauke

hello everyone. i have been trying to code an MP3 player, but Java does not support this, it only supports wav, thus wma, mp3 and other music or audio formats are denied. i thought of incoporating a converter, but still the converter is even failing to make the conversion: here …

Member Avatar for stultuske
0
164

The End.