6,015 Topics

Member Avatar for
Member Avatar for staneja

I have one doubt about WAR file........ Like i am creating a project with mysql databse and deploying it through WAR file My question is if i want to deploy it on some other machine then i am copying war file there in webapps folder.........but do you think it war …

0
59
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
220
Member Avatar for Ravenous Wolf

can anyone tell me if it is possible to open and read or write to files by using javascript? basically what i would need is something like random access files and to use them in javascript in the same way that i can in any programming language. or is there …

Member Avatar for stymiee
0
47
Member Avatar for itekchandru

I am currently developing audio player project in vb6. i have downloaded a dll file named "WinampPluginWrapper.dll" i make this dll file methods inherit from vb class. But i try to execute the file i got error that " WinampPluginWrapper.dll" not found. Then i Placed this dll file available to …

Member Avatar for debasisdas
0
532
Member Avatar for locsin

I try to open excel file in visual basic 6. Somebody gave me this code to open excel file. But when i create a my new form and type this code. An error occured for this code Private Sub Form_Load() Dim x_app As Excel.Application Dim x_wbk As Excel.Workbook Dim x_wsh …

Member Avatar for kb.net
0
332
Member Avatar for mishrap

While I am Downloading ,One Dialogbox will open.When user will be saving file name...that time I want to restrict user to change the file name ..I have written code below for downloading file. Dim fs As System.IO.FileStream = Nothing fs = File.Open(Server.MapPath("TextFiles/Branch/" + filenam + ".txt"), System.IO.FileMode.Open) Dim btFile(fs.Length) As …

0
86
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
170
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
72
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
196
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
95
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
153
Member Avatar for jricklefs

I'm currently building a Queue Systems for processing Customer Information. These file are processed as they are received and I am trying to build a queue to hold the file names for sequential processing. I tried building one with the QUEUE Class but was unable to get it to update …

Member Avatar for binoj_daniel
0
112
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
64
Member Avatar for azriel

Recently I posted about having issues w/my Vista laptop that wasn't recieving microsoft updates and Win Defender wasn't working - after lots of attemps I eventually reformated and installed Vista and original software and pretty quickly discovered in Spybot system startup a blank entry stating: Current filename: Database status: Not …

Member Avatar for gerbil
0
218
Member Avatar for DontknowIT

hey everyone i am new to the site and as the name suggest dont know much about computers so please if anyone have the time please help I was dealing with a torjan horse generic6 with AVG and have deleted a file called efffge.dll. originally when the my pc was …

Member Avatar for gerbil
0
196
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
98
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
88
Member Avatar for Sohail288

Well, I did the "Please read before post" procedure, but AVG wouldn't le tme save the report, I had all those adwares, Purity, Zeno, Softomate, well theyre in quarantine now, and here's my HJT file. Thanks in advance! Logfile of HijackThis v1.99.1 Scan saved at 2:29:57 AM, on 8/21/2007 Platform: …

Member Avatar for gerbil
0
180
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 iamthwee
0
155
Member Avatar for shaqnolysis

Firstly i would like to say Hello to everyOne.Am a Computer Science Student and Am new in Java Programming.My first program is to write a program that will read a file and display the sum of all values. ....wanted to use BufferedReader to read the file and store the values …

Member Avatar for masijade
0
97
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
77
Member Avatar for zswong

Hi, I am new in Perl and need abit of help on the usage of file handler. I was trying to write a line into a file with file handler ID "oFile2_$macro", but it does NOT work with the following Error : String found where operator expected at /home/wongz/bin/pt/grab_clock_group.new.pl line …

Member Avatar for KevinADC
0
125
Member Avatar for jaepi

Hello there, I have here a program that reads a txt file taking each word in three columns separated by a comma and storing it to a vector. It has a filter that whenever it sees a comma, it seperates the word from each other. My problem is, whenever I …

Member Avatar for jaepi
0
128
Member Avatar for NAHR_ELGANNAH

hi all, i have a list of some files on the server. i want to let the user choose a file from the list then click a button to open read-only version from this file without showing the popup message that ask user to Open, Save or Cancel. this is …

Member Avatar for NAHR_ELGANNAH
0
150
Member Avatar for bergy_nj

Hi.. im currently writing a program in python to parse a log file.. this log file is expected to be very big - (70MB - 250MB ) in size.. in the file there's this whole bunch lines of internet activity.. i supposed to parse each line and extract some information.. …

Member Avatar for jrcagle
0
348
Member Avatar for satya.vijai

Hi, I have a text file which looks in the following format =====c:\text.txt ====== AAAA BBBB ... ... ================== I have to read each line of the text file into a buffer, and print it, which I did in the following way. [code] #include "stdafx.h" #include "stdio.h" #include "string.h" #define …

Member Avatar for vijayan121
0
170
Member Avatar for kgbalaji1980
Member Avatar for Ancient Dragon
0
120
Member Avatar for staneja

I ahve created a directory Structure Sumit -> WEB-INF -> src -> classes and i putted Servlet file in src , compiled class file in classes folder and created Web.xml file in WEB-INF folder after that i craeted a war file ( I am not sure it should be inside …

Member Avatar for staneja
0
124
Member Avatar for noman

Hi, i am a new comer in PHP and i have to upload a file in my php web form. I have read some tutorials in which they mentioned that when we go to upload a file in php it saves by default in a temporary directory and after that …

Member Avatar for cereal
0
151
Member Avatar for rosemary

[COLOR="Red"][U][I]hi, every body..[/COLOR] [COLOR="Green"]I have two program I couldn’t solve them So, can any body help me. please!![/I][/U][/COLOR] 1-Write a program that accepts a character and count number of occurrences in a file. The file should have some text, and the program count how many times the inputted character repeated …

Member Avatar for vijayan121
0
335
Member Avatar for SpitJock

Hi All, I'm trying to knock together a bit of a program for picking through the contents of %windir%/CSC in the hope of being able to recover somewhat from disaters suffered by users when Oflline File sync goes wrong It appears that all windows does is strip filenames and extensions …

0
26
Member Avatar for jerryseinfeld

Hi....... I have a complicated homework...... I have a data which is csv file. I have to take this data from csv file and do sum calculations on these data's elements. But my problem is I cant take data from csv file to do this... I can take data from …

Member Avatar for vijayan121
0
497
Member Avatar for sasindagi

how to create new folder for each user who uploads .doc,.txt,.png,.jpg into web server. user may select his own type of uploads file depending upon file extension new folder must be created. eg: user wish to upload a .doc file then i want to create dynamically [url]http://localhost/test/user1/doc/xyz.doc[/url] test- name of …

Member Avatar for sasindagi
0
75
Member Avatar for Earth Wyrm

Hi, as is about to become entirely apparent, I'm a newbie programmer and I'm having some problems with what should be simple operations. I'm having some trouble writing to file and no matter what method I use I can't seem to get it to work as I hope it to. …

Member Avatar for Earth Wyrm
0
167
Member Avatar for tscpb

I am completing the coding of a utility that reads data from a database and writes the returnset to a text file. The writing to the .txt file is performed by the client. The text file can range in size from 1 line to 20 million lines. When a file …

0
66
Member Avatar for RobLamb

Hi Everyone. Still have had no joy on my last post but here is another. I am uploading an image to a blob field in MySql DB. Again, on my local machine its fine...however, on the server it does not get added to the field. All other information is added....eg …

Member Avatar for ashneet
0
85
Member Avatar for Ramya03

hi all, I want to get one doc file as input and i should convert tat to txt file as output, Similarly for pdf to doc,doc to pdf...I want code for these file conersion in vb .........Pls reply if u know the relevant code....:?: Urgently Needed.Thanks in advance. Reply to: …

0
49
Member Avatar for sonirajesh

i am having trouble with uploading, when i upload big size file like >2M it hang the browser and show blank screen and file does not get upload. upload_max_filesize is set 8M also added set_time_limit(0); in my script But same thing on local network works file, seems problem in more …

Member Avatar for dr4g
0
56
Member Avatar for mawarzinnirah

Here a problem where i have a process where user want some data file(textfile.txt) from somehere for example from D:\smart\rs334455.txt. After user have that file, user can choose whether he want to save the file or display it as a text file. Could anyone in here give me some example …

Member Avatar for satish.paluvai
0
304
Member Avatar for nalinibh

Deal all,my prob:how can i pass data in a file after reading the file in C. i want to encrypt data of this file after reading the file.i know i cn use f commands to read data but want to pass the data later in second part of my program.sorry …

Member Avatar for danysabin
0
108
Member Avatar for samirs79

Hello everyone! Below is a sample flat file (sampleflatfile.dat) i have on UNIX: [COLOR=#000000]AMPS,2324,Subscriber,Unknown,SingleDay,20070413,20070413,[/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]ALPEnt,4516,AllMember,Unknown,DateRange,20070411,20070419,[/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]AGLT,2156,Summary,Unknown,[/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]DUPP,2536,Yes,Unknown,[/COLOR] each line above represents a report to be generated...therefore, the content of the sample flat file above means we need 4 reports (because there are 4 line)... the file above …

Member Avatar for vishu.awate
0
122
Member Avatar for rajpalbajwa

Would some kindly take a look at my Log file and let me know what all to disable: Logfile of HijackThis v1.99.1 Scan saved at 3:04:07 PM, on 7/3/2007 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v7.00 (7.00.6000.16473) Running processes: C:\WINDOWS\System32\smss.exe C:\WINDOWS\system32\winlogon.exe C:\WINDOWS\system32\services.exe C:\WINDOWS\system32\lsass.exe C:\WINDOWS\system32\ibmpmsvc.exe C:\WINDOWS\system32\Ati2evxx.exe C:\WINDOWS\system32\svchost.exe C:\WINDOWS\System32\svchost.exe …

0
51
Member Avatar for john1725

Hello, I am looking for a software developer to develop a utility which is accessible on the web. There is a program called Gentle Program which you can download from [url]http://www.doremifasoft.com/gentlepiano.html[/url]. This reads a proprietary file format file ending in .lmz which allows you to read the sheet music. I …

Member Avatar for iamthwee
0
82
Member Avatar for dudegio

Have a nice day to everyone! Pls help me on how am i going to configure my document root and drives for the fact that i encounter this errors: pls... pls... pls... `Warning: mkdir() failed (No such file or directory) in C:\websites\pjs3\BillingRegularDetailedSave.php on line 1928` `Warning: fopen("/PJS/2007-06-29/000002.txt", "a") - No …

Member Avatar for php_daemon
0
254
Member Avatar for devesh9392

hi this is devesh, i have a perl cgi script that downloads files from other site. but i got this weired problem that the script stops responding after downloading exactly 100 files (any browser IE or Firefox). i am running this script from windows 2003 server with IIS 6.0 any …

Member Avatar for devesh9392
0
147
Member Avatar for danysabin

Hey, I'm looking for some help on setting up a win2k3 server. I'll be living in a frat. house next year and me and friend wanna hook up wireless and a server for files to share over the internal network in the house. I have an old windows box with …

Member Avatar for danysabin
0
105
Member Avatar for Es Sayen

Hello All, i want to add a word/text file in database(MS-Access), for this i am using datatype ole object for that particular column. i am using a text box to catch the file name and the complete path of the file and putting the value of textbox in that table …

Member Avatar for Es Sayen
0
135
Member Avatar for Chris147

Hi All, I'm trying to connect to a Web Service from VB 2005 and keep getting the same error: System.IO.FileNotFoundException occurred Message="The download of the specified resource has failed. " Source="msxml3.dll" StackTrace: at MSXML.XMLHTTPRequestClass.send(Object varBody) at WindowsApplication1.frmLogon.cmdOK_Click(Object sender, EventArgs e) in C:\Documents and Settings\Dev\My Documents\Visual Studio 2005\Projects\SOAP_Logon\SOAP_Logon\frmLogon.vb:line 90 Can anyone …

Member Avatar for Chris147
0
98
Member Avatar for EnderX

I've been working on a program designed to allow the end user to offer data corrections back to my company. (That is, they send us the originals, we process those and store it in a database, and this program is supposed to allow them to search the DB and send …

Member Avatar for EnderX
0
168
Member Avatar for aparnesh

I am using some common Javascript functions I wrote that are required in several pages. I would prefer to have the functions in a single .js file and link to this file from the required web pages. How do I link to such a file ? I tried the same …

Member Avatar for aparnesh
0
196

The End.