1,605 Topics

Member Avatar for
Member Avatar for Gerbilkit

I am working on a project that requires the main system, EmployeeSystem to be able to open a file with JFileChooser, and then write to that file, run a payroll system on it, and search it for a particular employee using a directory system. I am struggling right now to …

Member Avatar for ~s.o.s~
0
129
Member Avatar for rathinam86

Hi Cud anybody help me in sorting out this issue???...i have written a java code which fetches a text fils as an input & displays the output. Now i want to display the output in an existing Excel file in a desired format. import java.io.*; class hi { public static …

Member Avatar for javaAddict
0
324
Member Avatar for MylesDBaker

Hello everyone, I am having a really difficult time getting this program off of the ground. I need to use a while loop to read data from a file and then read tonnage numbers corresponding to names read in from that file. The assignment looks something like this: [I]After watching …

Member Avatar for MylesDBaker
0
179
Member Avatar for infernodeep

Hi guys I need some help from you guys... im facing a new problem with php download script when im downloading a application file, it suddenly stops and showing completed but application is not installing. the actual size is 9Mb....but it downloads sometimes 5.2Mb,6Mb,6.8,7.4Mb....it's not constantly downloading at certain size …

0
50
Member Avatar for lmastex

Hey again! ;) This time I have this program which is supposed to read some stream file called "numbers.dat" which has the numbers 1 up to 10. I get the reading, but the thing is in the for loop I want to add the numbers in circles. For example: 1 …

Member Avatar for lmastex
0
123
Member Avatar for NRaf

Hey, I'm having trouble with this piece of code. Basically, it's meant to look at a map file (which basically is a bunch of URLs paired to an ID) and then go through another file and replace each URL with it's corresponding ID. The code seems to work fine, but …

Member Avatar for Salem
0
3K
Member Avatar for The Dude

Since i have been using XP while waiting for my desk to be fixed i have using wmp10 and 1 thing i like about it is: THE ABILITY TO DISABLE ENHANCED CONTENT IN STREAMS!! (Spam ads,crap that bogs down your player) I dont think you can disable it in 9 …

Member Avatar for The Dude
0
99
Member Avatar for hirts_gal

i currently working on web based ftp system where this system will upload and retrieve file from ftp server in red hat linux 9.0. here is the php cording for the upload file:- 1.upload.html [code=php] <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <form action="upload.php" method="post" enctype="multipart/form-data" name="form1" …

Member Avatar for hirts_gal
0
2K
Member Avatar for Pado

I hate to bother you guys but I have a problem that has me stumped. When I test it on my local server it works fine, but then I uploaded the files to the web server and it doesn't work and I get the following errors: Warning: fwrite(): supplied argument …

Member Avatar for Pado
0
177
Member Avatar for priti_s

hi i am new to java i have been assigned to a work where i have to take DTD file as input & i have to generate TRN file & i have been told to write the program into different classes. From DTD file i have to make a different …

0
52
Member Avatar for technicalganesh

I am having two servers viz., Windows and Linux. A service is running in Linux to produce a text file of around 8 MB per minute. If I would like to replicate (or copy) this text file to windows server which supports .Net as soon as the file is produced. …

Member Avatar for jwenting
0
119
Member Avatar for leeasam

My task and tool bars are now gray like OLD windows and I have no sound. When I turned on my computer at noon it came up with a Windows defender application failed to intialize and the tool and task bars are gray as is most of the other stuff …

Member Avatar for crunchie
0
167
Member Avatar for pentiumpablo

Hi I was wondering if somebody could help me i am completelty stuck I want to read in triangle measurements from the command line check if the tri is square then when the user is done print out the amount of squares. the user would signfy that s/he was done …

Member Avatar for javaAddict
0
105
Member Avatar for Jake1164

I converted TGREER's C# implementation of a hacked StreamReader class to VB.NET and wanted to provide it for anybody who has run into the following issue: when using a [B]StreamReader[/B], and [B]ReadLine[/B], to process a text file, you cannot determine where you are "at" within a file. The following is …

Member Avatar for vbguru2008
0
1K
Member Avatar for AllenB

Hello, I am trying to allow my program to accept multiple transaction records. I have created a file creator (CreateData) to populate two text files (oldmast.txt, trans.txt). CreateData will need to be run to create these two files. I have also created a file matching class (FileMatch) to process and …

0
65
Member Avatar for c#loser

hi i have trouble understand system.io . i read through the msdn, but ....still dun undertsnd how to use i know it can use to write and read from a text file using stream writer or reader the read code is like this but i cant understand [code=csharp] StreamReader reader=new …

Member Avatar for puneetkay
0
114
Member Avatar for aditya_amb

I want to delete the text file output.txt ,but I get error message. File cannot be deleted used by another process. Can you please help me..I tried close nad flush commands for filestream and stream readers..but did not help.. Here is my code. [code=vbnet] Dim chkstr As String chkstr = …

0
65
Member Avatar for tyserman5674

Hi All, I am having problems with reading input from a sequetail file and I can't figure out what is wrong. Can someone please help me out, I don't know if I am even doing it right, very new at this. The code below is how I generated my .txt …

Member Avatar for raul15791
0
161
Member Avatar for cricketislife

Hello All: Yesterday, I believe, some malware/spyware somehow got into my computer. Windows keeps poping up some messages in ballons showing warnings that "windows has detected spyware" on my system. My desktop wallpaper also changed automatically displaying similar messages. I realized that these messages are not genuine windows messages so …

Member Avatar for jholland1964
0
211
Member Avatar for dmanw100

I was wondering if anyone was familiar with reading data from a file into your program. I tried using the file stream the same way cout is used but it doesnt seem to work properly. Would the getline(); function work? If so, how would that be implemented? [CODE]#include <iostream> #include …

Member Avatar for dmanw100
0
137
Member Avatar for knight fyre

I'm trying to step-up a simple servlet that processes a get action from a form. When I click on the submit button I get the message. [QUOTE] [B]HTTP Status 404 - /jhtp6/welcome1[/B] [B]type [/B]Status report [B]message[/B] /jhtp6/welcome1 [B]description[/B] The requested resource (/jhtp6/welcome1) is not available. [B]Apache Tomcat/5.0.25[/B] [/QUOTE] I also …

Member Avatar for mariamAbed
0
157
Member Avatar for tcollins17

Hello, and thank you for any help that you provide. I am not sure what the problem is, but I will post all the information that the introduction thread says to provide. I would say that there is a virus/spyware infecting my explorer.exe file. Whenever I go on msn, and …

Member Avatar for tcollins17
0
2K
Member Avatar for Achmat

Hi guys, I've been fiddling with Perl for the past 2months and still I have difficulty with it, I've read 3books already but I'm kinda in the deep end cause I'm in a working environment. I'm currently working on this: [CODE]#!/usr/bin/perl print "Content-type: text/html\n\n"; #all variables starting with 'i' are …

Member Avatar for jephthah
0
282
Member Avatar for jrtjrt

I have been using doctest for a while and just recently started using the logging module. Each works fine separately, but they don't seem to play nice together. It looks like doctest hijacks sys.stdout to do its thing. My logger prints to the screen if not in batch and to …

Member Avatar for jrtjrt
0
445
Member Avatar for coolest_avi007

i want to create subdirectory on the server.But unable to create there. ---------------------------------------------------------------------------------------------------------------------------------------------------- Shared Sub main2(ByVal zipdir, ByVal systemname) 'FTP creadentials' Dim servertemp As String = "ftp://hydhtc25116" Dim username As String = "hydhtc25116\root" Dim password As String = "infy@123" Dim host As String = servertemp 'Renaming the zip file as …

0
61
Member Avatar for gdrori

Hello, I've got an annoying adaware that after I neutralaized it it came back again My HijackThis Log: Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 9:56:11 AM, on 8/21/2008 Platform: Windows XP SP3 (WinNT 5.01.2600) MSIE: Internet Explorer v7.00 (7.00.6000.16705) Boot mode: Normal Running processes: C:\WINDOWS\System32\smss.exe C:\WINDOWS\system32\winlogon.exe C:\WINDOWS\system32\services.exe …

Member Avatar for crunchie
0
276
Member Avatar for Beetlebum

Ok. Last night I was clicked a link to an archived page on a forum that I moderate on and there was some kind of nasty trojan on there. I pulled the plug on my it connection but have now got some major issues. These include task manager being disabled, …

Member Avatar for crunchie
0
219
Member Avatar for cmlhpear

hello friends, i looked over [B]mrwin[/B]'s solved problem... and i tried to somewhat copy the process but.. i realized, i had no idea what i was looking for... i downloaded malwarebytes, like [B]mrwin [/B]was told to.. ================ i received a message from malwarebytes that said: C:\WINDOWS\Fonts\Crack.exe C:\WINDOWS\Fonts\\csrss.exe C:\WINDOWS\Fonts\\dllhost.exe C:\WINDOWS\Fonts\\ctfmon.exe C:\System …

Member Avatar for Cyber Punk
0
141
Member Avatar for MattEvans

I have a few ( slightly related ) questions about binary i/o in C++, I can't seem to find full answers to these anywhere.. - Is there any way to tell if an i/ostream passed to a function has been opened in binary or text mode? - If not, are …

Member Avatar for MattEvans
0
192
Member Avatar for Dukane

I'm trying to process a text file saved in the directory below where the PHP script is running. First, it lists all of the files in the directory, skipping over . and .. Finally, it attempts to get a file handle for each file one at a time and then …

Member Avatar for Dukane
0
1K
Member Avatar for Ccrobinson001

I have a program due shortly and I can't get this to work. I have many errors that show up and can't figure them out. Can I get some help to get me on the correct path. [code=c++] // This program shows a structure with two nested structure members. #include …

Member Avatar for Ccrobinson001
0
4K
Member Avatar for QuantNeeds

Hello, Finally I am down to the last issue with my program: text file writing and reading. My file has a function whose ofstream object does work and produces a text file for printing called "print". This function is the printTextFile(fstream &readFromFile ) function. But initially it is supposed to …

Member Avatar for Ancient Dragon
0
321
Member Avatar for dudegio

Hello guys! I am working with an PHP page that will generate an excel file. The flow is all transaction made should be generated in an excel file. Also if there is another transation, the new information will be appended in the same excel file. I have work on this …

Member Avatar for buddylee17
0
280
Member Avatar for Bill Purkins

New to VB 2008, I was discouraged to Google results that said, "printing is not easy in VB," and found only baffling examples I could not understand until I found and tweaked this simple example. Here is how to create a simple "Hello, world." to the printer. First, on the …

Member Avatar for leveena
0
197
Member Avatar for Hannahlv

Hi, everyone! I thought I posted the code first, it's better. This is the code of the program I've worked with : [CODE] #include "liveMedia.hh" #include "BasicUsageEnvironment.hh" #include <stdio.h> UsageEnvironment* env; Boolean reuseFirstSource = False; Boolean iFramesOnly = False; static void announceStream(RTSPServer* rtspServer, ServerMediaSession* sms, char const* streamName, char* inputFileName); …

Member Avatar for Hannahlv
0
232
Member Avatar for theimben

I have a file, which is not hosted on my site, which I need to stream through an FLV player which I made on flash. But the problem is that the file I need to stream is not named 'file.flv' it is named 'file.rar'. However it is an flv file …

Member Avatar for nav33n
0
171
Member Avatar for KillerOfDN

Hi, I am stuck on some code I have to upload a file to my FTP server. I keep getting an error: The remote name could not be resolved: 'ftp.mywebsite.com' [code] ' set up request... Dim clsRequest As System.Net.FtpWebRequest = _ DirectCast(System.Net.WebRequest.Create("ftp://ftp.mywebsite.com/test.txt"), System.Net.FtpWebRequest) clsRequest.Credentials = New System.Net.NetworkCredential("username", "password") clsRequest.Method = …

0
63
Member Avatar for C_isoundu

Hello, I've got this kind of problem, where I want to change a word inside of a text file. apparently, I can use the char to change the character, however, it can't changes any word or sentence, so can any one help me out. much appreciated. [CODE]#include <iostream> #include <fstream> …

Member Avatar for William Hemsworth
0
104
Member Avatar for C++masterinneed

i need to find a way to print the number of arguments --- example ---- ./a02 er t r child process : counts four argument ---- what the output is now ---- er ; t;r; and problem 2) how can i make a call to reader for every character----instead of …

Member Avatar for Ancient Dragon
0
100
Member Avatar for CoolGamer48

What's the difference exactly between opening a file stream in the default text mode and opening it in binary mode? The cplusplus.com article on file i/o mentioned a few things, but I really didn't get the gist of it. Could someone explain it? Thanks.

Member Avatar for hacker9801
0
452
Member Avatar for ChrisJ

Can you tell me which part of this code is the Input Box(browse box field) and the Submit Button, please? Thank you. [CODE]<%@ Language=VBScript %> <% option explicit Response.Expires = -1 Server.ScriptTimeout = 600 %> <!-- #include file="aspupload.asp" --> <% ' **************************************************** Dim uploadsDirVar uploadsDirVar = "C:/Documents and Settings/TAinput/" ' …

Member Avatar for Lorand24
0
150
Member Avatar for viju

Dear All, I have just discovered some spyware/virus on my computer and need your help to remove it. Please guide how to remove the dirt. As of now I have been receiving alerts from my AVG free virus protection program when some of these exe file start. The HiJackThis scan …

Member Avatar for kandrei
0
87
Member Avatar for ChrisJ

I'm using FreeASPupload script and it works successfully. I'd like to get some guidance on how to modify to add a second Browse Box and second Submit Button, so these uploaded files can go to a second directory destination. Thanks. I believe this is the script page (of two) that …

0
62
Member Avatar for himsymcpp

hi friends, I am working with file IO in C++, but there are some serious issues i am facing: 1) Initially I create some files(4 files), if they dont exists. 2) Then I read one file entirely i.e each record within the file, there are 30000 such records - 1 …

Member Avatar for himsymcpp
0
267
Member Avatar for k2k

hi, i had a few unix questions that I am not sure about the answers. if anybody can give a try... that would be great. 1. In sed, when you do pattern matching, the largest pattern is always matched first, left to right. True or False 2. The command tr …

Member Avatar for masijade
1
533
Member Avatar for tiggerk33

Hello, I have been searching everywhere to find out how I can save a picture from a PictureBox into SQL. Someone told me the best way to do it, is to convert it to a binary file and save it like that. This is what I have, it probably makes …

Member Avatar for tiggerk33
0
978
Member Avatar for jpillera

I have an Oracle 10g application, built using Oracle PL/SQL Toolkits and PSPs, using an Oracle database with an HTML front-end (hosted by an Apache web server). When using the WPG_DOCLOAD package to add attachments to the database, the mime type for ".msg" files end up being application/octet-stream rather than …

0
54
Member Avatar for ibe123

Below is my problem... Here is my code... [code=cplusplus] #include<iostream> #include<iomanip> //allows me to use setflags/showpoint and set precision #include <stdlib.h> //for exit(1) #include <fstream> # include <stdlib.h> # include <cstdlib> using namespace std; int main() { double s1, s2, s3; ifstream inf; inf.open ("C:\\CS201HWASSGN6INPUTFILE.txt", ios::in); ifstream infile("C:\\CS201HWASSGN6INPUTFILE.txt", ios::in); //Input …

Member Avatar for Jishnu
0
186
Member Avatar for jesseb07

hello, been googling this for a while and can't come up with anything good, so hopefully this won't be so easy to answer that it makes me look lazy. I'm writing an application for linux (gcc compiler) that calls various system and custom commands from inside my own program, nothing …

Member Avatar for jesseb07
0
157
Member Avatar for henpecked1

When I'm opening a file, is it the file that is text or binary or is it the stream that can be text or binary? Also, when I close a file is that when the stream object is destroyed?

Member Avatar for Ancient Dragon
0
128

The End.