1,605 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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" … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 = … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … Information Security adobe apple audio cdn client-server file-stream flash http-protocol microsoft-access microsoft-office microsoft-windows multimedia open-source operating-system os-x software-architecture tcp-udp user-interface video video-card virus-malware visual-basic web-browser web-server window-manager windows-server windows-virus | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
![]() | 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 … ![]() |
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 … | |
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 … | |
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 … | |
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 … | |
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); … | |
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 … | |
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 = … | |
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> … | |
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 … | |
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. | |
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/" ' … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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? |
The End.