6,015 Topics

Member Avatar for
Member Avatar for Ashwin1985

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 …

Member Avatar for peter_budo
0
2K
Member Avatar for wingers1290

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

Member Avatar for wingers1290
0
271
Member Avatar for karkar_87

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 …

Member Avatar for musthafa.aj
0
321
Member Avatar for GuyClapperton

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 …

Member Avatar for InsightsDigital
0
128
Member Avatar for ludamizleeto

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

Member Avatar for darcee
0
551
Member Avatar for said.amsur

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 …

Member Avatar for said.amsur
0
230
Member Avatar for manojjena1982

Hi! Akl I want to upload a file sizeed around 2GB. Could you help me? Thanx in advance

Member Avatar for kireol
0
112
Member Avatar for robinotje

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

Member Avatar for robinotje
0
194
Member Avatar for gedas

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 …

Member Avatar for gedas
0
181
Member Avatar for cristine.apin

[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.*; …

Member Avatar for musthafa.aj
0
1K
Member Avatar for Web_Sailor

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

Member Avatar for rAun007
0
8K
Member Avatar for ubi_ct83

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 …

Member Avatar for thomas_naveen
0
114
Member Avatar for compovet

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

Member Avatar for compovet
0
42
Member Avatar for LloydFarrell

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 …

Member Avatar for LloydFarrell
0
204
Member Avatar for ramjeev

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

Member Avatar for stultuske
0
2K
Member Avatar for cityboy

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

Member Avatar for rajabhaskar525
0
120
Member Avatar for dtvonly

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 …

Member Avatar for sknake
0
118
Member Avatar for hellonikki

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 …

Member Avatar for hellonikki
0
135
Member Avatar for johnny_gear

[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

Member Avatar for johnny_gear
1
147
Member Avatar for jogendar

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 …

0
78
Member Avatar for ramesh_natesan

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 …

Member Avatar for vb5prgrmr
0
70
Member Avatar for sayeedbd

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

Member Avatar for sayeedbd
0
191
Member Avatar for Midnite007

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 …

Member Avatar for Atli
0
249
Member Avatar for Midnite000

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 …

Member Avatar for Midnite003
-4
121
Member Avatar for viktorijakup

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

Member Avatar for DenisOxon
0
57
Member Avatar for thosecars82

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 …

Member Avatar for DenisOxon
0
176
Member Avatar for DIPY

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 …

Member Avatar for sknake
0
140
Member Avatar for phil750

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

Member Avatar for phil750
0
101
Member Avatar for gunnarflax

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 …

Member Avatar for gunnarflax
0
149
Member Avatar for Krstevski

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

Member Avatar for Krstevski
0
101
Member Avatar for OffbeatPatriot

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 …

Member Avatar for Ancient Dragon
0
146
Member Avatar for jigglywiggly

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 …

Member Avatar for Agni
0
160
Member Avatar for phil750

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 …

Member Avatar for phil750
0
116
Member Avatar for dreamzgaurav

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.

Member Avatar for jgand
0
204
Member Avatar for ruwanaru
Member Avatar for cwarn23
1
333
Member Avatar for rigidboss

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 …

Member Avatar for justice igwe
0
114
Member Avatar for theighost

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 …

Member Avatar for vaultdweller123
0
183
Member Avatar for primero

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 …

Member Avatar for primero
0
154
Member Avatar for darktangent

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 …

Member Avatar for diafol
0
85
Member Avatar for gianrocks

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 …

Member Avatar for Ranx
0
379
Member Avatar for maxicube

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

Member Avatar for almostbob
0
150
Member Avatar for kevndcks

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

Member Avatar for javaAddict
0
424
Member Avatar for teen-omar

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 …

Member Avatar for javaAddict
0
134
Member Avatar for danimal132

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 …

0
78
Member Avatar for danimal132

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 …

0
62
Member Avatar for swathichiran

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 …

0
46
Member Avatar for gerhardjl

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 …

Member Avatar for finalist
0
145
Member Avatar for vespasianvs

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

Member Avatar for vespasianvs
0
735
Member Avatar for nats01282

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 …

Member Avatar for hemgoyal_1990
0
4K
Member Avatar for xavier666

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 …

Member Avatar for xavier666
1
176

The End.