6,015 Topics
![]() | |
Hi.. I have created an application which is using the org.apache.log4j.Logger class for logging various INFO/DEBUG?ERROR messages.. The application is working fine, including logging, when Run As Java Application in the Eclipse IDE..(log file is generated successfully and entries too are created) Then I exported the project to a .jar … | |
Hi, I am loading some pictures from a traffic cam website and displaying them in picture boxes but the form freezes because its working too much. Is there any way to speed up the process, here is my code. [code] string[] picURL = new string[9]; picURL[0] = "http://www.nzta.govt.nz/traffic/current-conditions/webcams/webcam-images/cst1.jpg?rnd=0.0822959104552865"; picURL[1] = … | |
Hi all... I need some help in manipulation of the text files to read in a matrix text file. The format of the text file is as follows: <matrix> rows = 2 cols = 2 1 2 2 4 </matrix> I need to read in the text file and put … | |
This is odd, to my thinking. The founder and owner of the UK file sharing peer to peer site Oink (great name) has been acquitted of conspiracy to defraud. In spite of earning $18,000 per month from people downloading from the site because people would send donations in order to … | |
I have always used the API for Vb.net from Decaptcher.com and have always sent the Captcha by sending an actual url to them as you see in the code below. Or maybe it uploaded the image anyway to them (I use the Webbrowser Control) I'll use for example this: Code: … | |
Hi I'm new to computer programming. 'Im just needing to learn some basic c++ for a larger project. So if someone wouldn't mind guiding me through some basics on i/o streams. I need to able to open a .txt file saved on my c drive and be able to count … | |
Hi! Akl I want to upload a file sizeed around 2GB. Could you help me? Thanx in advance | |
Hello everyone, I'm new to C / C++, and just wanted to make a file which can delete an item. The code worked, but when I want to give a path, it doesn't work anymore. Any help? [CODE] #include <iostream> #include <stdio.h> using namespace std; int main() { remove ("c:\users\asus\new.docx"); … | |
hey guys, im working on a little program that would ask the user to input file name and would ask the user again to specify the output file so the contents of file one would be transferred in to the file 2. i have been working on it for few … | |
[CODE] hello everyone! I am a newbei here... Pls help me answering this question: How to write data in a new line in a particular text file? Is there any particular method in the RandomAccessFile class in java that is capable of handling such thing. Here's my code: import java.io.*; … | |
Hi... I want to read only the first line of a file and print the line. I don't want to read the whole file. How can I do that ? Here is how we normally read the file [CODE]import java.io.*; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.util.logging.Level; import java.util.logging.Logger; … | |
hi and thanks for advance, i have a problem to compare between 2 arrays. i have a file name fruit_file which has a content like this: apple orange mango banana papaya and i have an seed array from arg list which is; mango lime pineapple peach i want to copy … | |
Hi, I want to run sql script from patch file I found how to run script file using sqlcmd but I don't want to run it from file I want to put the sql code inside the patch file | |
Hi all, Over the last week or two i have been working on uploading images to mysql db, Whilst i have the image uploading to the correct location and the name of the image added to the database, i cant understand how to add the image location to the name … | |
Hi buddies, I m trying to rename the existing .jar file.But I can't. If I make a copy of this and run the copied exe,by that time it works. Code as follows, [code]boolean ReNameExistingEXE(String Dest) { String temp = Dest + "\\Star.jar"; File s = new File(temp); String exName = … | |
I am trying to find out how i would include the option to upload a picture as part of a form. i need help with the following: 1. how to add picture upload to form 2. how to store image in folder with the location stored in the database. 3. … | |
Hi. This is a C# project. I have a configuration file (parameters.txt) stored in ...\bin\release. Running the application while under Visual Studio 2005 ran fine. Moreover, running the *.exe and its shortcut ran fine. However, if I just copy and paste the *.exe application to desktop, the "...can't open parameters.txt … | |
Hi, At the moment my program holds a list video titles in a doubly linked list. When the user wants to save the list to file it is converted to an array then saved onto file. But the problem starts when i want to delete from the list. Say for … | |
[CODE] while(getline(bookFile,books[count].title,';')) { bookFile>>books[count].year; bookFile.ignore(1); bookFile>>books[count].author; bookFile.ignore(1); bookFile>>books[count].price; count++; } [/CODE] the code seems to just ignore the deliminating character and enter the whole first line into the title member of the books struct. I can not figure out why, any help would be appreciated .. thanks | |
i have been searching about how to create an executable jar file, [url]http://csdl.ics.hawaii.edu/~johnson/613f99/modules/04/jar-files.html[/url] by seing the above site i have created a jar file,while double clicking the jar file an error saying that "jar file couldnt be loaded check for possible console errors" is being displayed,i had tried by downloading … | |
Hello, I have a vbscript file whose file size is 0.9 MB. I opened this vbs file and copied all the lines in it and saved it into a new vbs file. And I noticed the size of this new vbs file became almost half reduced to 0.55 MB. Anyone … | |
Hello All, I am trying to lock some my video, picture, Excel and Word file in my PC by using Visual Basic. I am using Visual Studio 2008 to develop this application but I am unable to do this job. It'll be something like security utility application. Actually without me, … | |
If I have a text file and in PHP for example want to read that test file but only a certain part what commands could I use to do this ? Sorry but I am a beginner in PHP and I am lost ... Say for ex I have a … | |
Can someone please hekp me develope a script that will read from a .txt file ( ex: songs.txt ) and strip out all the songs listed in the file minus the duplicates ... as there will be 2 or 3 of each one listed in the .txt file ... example … | |
Hi ! My script don't understand file name with "interval", help me with it problem !!! [CODE]@echo off set texmfmain=x:/texroot/texlive/texmf set texinputs=.;%texinputs%;d:/pgroot/bin/conv/styles/ set pathold=%path% path x:/texroot/texlive/bin/win32;%path% latex.exe %1 %2 %3 set path=%pathold%[/CODE] Vika | |
Hello I would like to ask ask you how I could enable a mandatory login password when accessing a computer with Win XP Home edition. I know I can change permissions by booting Win XP Home in safe mode. But what I see then is just three users: "admin" "my … | |
Hi, I want to do something like this. I have a file File.c File.c # include <stdio.h> -------------------------->here struct B and its parameters should be inserted when i get it on next iteration. typedef Struct { B b1; --->this struct i will get on next iteration. }A; I am writing … | |
So i have to build a scheduler in priority ques, which will read infomation from test files. Also the work out the wait time and finish time. Text file will be like this; process1 21 3 process2 23 1 process3 45 20 [processID][space][Quantum][space][priority] So here what i have so far, … | |
Hi, I created a script which I use to clean my database from missing entries. With it I both check if a file on the server is missing a database entry and if a database entry exist with no corresponding file on the server. The user first submits a form … | |
I have created upload script and worked great, but I don't know how do I check the size of the file before upload because I want to limited on 10mb per file... So, mu question is: How do I check the size of the file before upload ? Thanks... | |
I've been trying to read this binary file I wrote with a python script. The format of the file is this, first there is an integer that tells how many floating point numbers follow that integer(there will be 5 times this number), then the floats follow, another integer, etc. I've … | |
So ok, I have been doing like java for a year and a half, and this is my lovely 4th day of C++, and I have already read up on pointers, dynamic memory and all that fun stuff. I do know what the header file class does. However I got … | |
I am currently writing a basic program scheduler (just started) which we have a text file with format of Process(id) (space) (quantum) (space) (priority). I am working on the first bit of the program actually reading in the text file and am trying to assigned the process ids, quantum and … | |
Hi, You Want To Optimize And Indexing Your Website For Bing,You Need Following Things. 1) Optimize Metatag,Content,Keywords. 2) Submit your site at Bing [url]http://www.bing.com/webmaster/[/url]. 3) Generate Sitemap And Submit To Bing. 4) Generate Backlink From Bing And Other Websites. SEO Service India | SEO Company India Thanks & Regards. | |
I need a help to upload mp3 and flv uploading codes can any one help me on this | |
Hello All, I have a requirement as follows. I am writing a software to compute invoice . The program will get the user details and it will autogenerate a INVOICE NUMBER. So in order to auto generate the INVOICE NUMBER, i tried to use file concept. I save a integer … | |
Hello there, I am trying to make a CMS using wamp. I made an uploading photos section, and when I try to delete the folder of the photos I get: Warning: rmdir(C:/wamp/www/site/images/4b4731fda156e) [function.rmdir]: Directory not empty in C:\wamp\www\site\admin\process\delete.php on line 23 Although the directory is empty and I have checked … | |
Hello Friends, I wonder if anybody has had a bad experience with SFS, I received a file in sfs but cannot open it because I need the SFS program to open it, first of all I downloaded a program from CNET but when I went to install it said there … | |
HI, I am writing a script in which i have to fetch a file and save it to the server on which the script is running . I have Googled it a lot but can not find how it can be done. I once again try to explain, i want … ![]() | |
hey all, i have a project that is like a server and a terminal interface. the server is the one that can only make changes in the database and the terminal is more of storing what is in the database. here is the problem, i have stored a PDF file … | |
Hey. i was wondering howto delete a single line from a FFD on the server that i currently have, it is not possible to use a mySQL database and I'd rather keep it a FDD I have tried too no avail. Here is my current code [code] <?php $file = … | |
![]() | [CODE]private JButton getBtnSave() { //if(btnSave == null) { btnSave = new JButton(); btnSave.setToolTipText("Save scan output"); btnSave.setText("Save"); btnSave.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { try { String lines[] = taOutput.getText().split("\\n"); for(int i = 0; i < lines.length; i++) { System.out.println("Value: " + i); BufferedWriter bw = new BufferedWriter(new FileWriter("audits.txt")); String … |
Hey guys, I'm quite new to Java and I usually try to get things done on my own, but it seems like I'm just sooo lost now. Would really appreciate any help you guys can give me So here's the problem: I need my program to read a text file … | |
i am editing someone else's code that creates a tracking log for a website. It is written in perl but the file is report.mas and there is another file that has to be altered too report.mas.obj for the file to work.. I am very confused what type of code this … | |
i am editing someone else's code that creates a tracking log for a website. It is written in perl but the file is report.mas and there is another file that has to be altered too report.mas.obj for the file to work.. I am very confused what type of code this … | |
My task is to add new words to dictionary file. so am using infragistics webspell checker control. With out creating virtual directory to application, i could add new words to dictionary file. But if the virtual directory is created, even though i click on add, new words are not included … | |
Hi All, I wish to open a drive, read the dir file names to a text file. eg > Open Drv H, where exist a number of .mp3 files, which I wish to capture the filenames only, to a text file eg dirnames.txt (not copy the contents, just the file … | |
Hi, everyone. I am studying Qt4. I want to write a function that reads from a file and the write to the same file. It is supposed to be simple, but I can't make it through the compiler. Here is my header file: [CODE] #include <QFile> #include <QString> #include <QStringList> … | |
i am trying to use a flatfile database just for a basic webpage. i have no mySQL and need a login file to keep certaian things private from guests, and to also have members view a personal page each time they login. i have been trying to use this code … | |
I just made a 'Hello World' program [code] #include<stdio.h> int main() { printf("Hello World\n"); return 0; } [/code] [code] exe file size = 15.5 KB Source file size = 79.0 B [/code] Then i made a data structure program (implementing stack, queue, deque) [code] exe file size = 21.9 KB … |
The End.