1,605 Topics

Member Avatar for
Member Avatar for Rezeyra

Hey guys, I don't think this is an actual hardware issue so I posted it here...it might be, but I don't think so. I bought a nice new laptop from Compaq about 3 months ago at Best Buy. It's a Presario CQ60-214DX Notebook PC. So I tried out the microphone …

Member Avatar for HoustonIT
0
99
Member Avatar for GregBlast

Hi, I'm building a little file compression system that is supposed to allow grouping a hierarchy of multiple files and then compressing them and the contrary. For this I don't take care of the file type to keep it generic but I'm getting a problem when the file is an …

Member Avatar for GregBlast
0
105
Member Avatar for caliguy1979

Hi, I know its possible submit a form serverside without actually creating a html form. As you can see below: string url = "http://websiteToSubmitTo"; HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url); string proxy = null; string data = String.Format("parameter1={0}&parameter2={1}&parameter3={2}", parameter1, parameter2, parameter3); byte[] buffer = Encoding.UTF8.GetBytes(data); req.Method = "POST"; req.ContentType = "application/x-www-form-urlencoded"; req.ContentLength …

Member Avatar for Ramy Mahrous
1
211
Member Avatar for sfzab

I work and have to save an important file in four other locations besides a Linux HD. Instead of having to save the same file for four more times, I would like to automate the procedure through a linux script file in which the [B]first[/B] saved file on the Linux …

Member Avatar for sfzab
0
321
Member Avatar for ankit894u

[code=cplusplus]#include <iostream> #include <fstream> using namespace std; void PrintError(fstream&, char, bool&); int Conversion(fstream&, char&, bool&); int main() { fstream InFile; char Bit; int Decimal; bool BadBit = false; //Open file to read InFile.open("f:\\Binary.txt",ios::in); //Read the first bit of the number InFile.get(Bit); //continue reading all numbers till the end of file …

Member Avatar for ankit894u
0
117
Member Avatar for Peyton

Hi there, I am having a problem with the following code: [CODE]#include <iostream> #include <string> #include <fstream> using namespace std; int findRows( string line ); int main() { string line; int rows = findRows( line ); cout << "Number of rows: " << rows << endl; } int findRows( string …

Member Avatar for Peyton
0
159
Member Avatar for shalomalom

So lately I have been having certain programs I go to open state that I am not able to open them due to a certain error and it'll be like 00008300000x78 something of that nature right. Plus, the computer is running very slow (it does anyway but even worse now). …

Member Avatar for jholland1964
0
606
Member Avatar for genieuk

Hi, I got two files a php file to process and record data to a text file Now when a visitor visits a page on my website.... it records some information about them and it is sent to process.php and then process.php then records the data in a .txt file. …

Member Avatar for Josh Connerty
0
215
Member Avatar for Moe

[I][/I]Hi Everybody I am writing a socket program on a smart device. What I am trying to write is when client connect wit server, server send the file name that cllent can download. Then client must choose one file name and send that file name to server. Then the server …

Member Avatar for Acedia
0
133
Member Avatar for bryanhjkim

I am a novice trying to use MS Visual C++ to record data through COM1. The data source is a sensor streaming ASCII characters, and the sensor and the COM1 settings were both checked with hyperterminal. In the code, I set the CreateFile to open COM1 with normal attributes, and …

Member Avatar for bryanhjkim
0
221
Member Avatar for jaiprakash15

Dear Friends., Am new to the java world.. I am creating a application where i have to generate a html page from a Dynamic jsp page.. I have tried my best and i was able to create a static html page from a JSP.. But how to fill the data …

Member Avatar for jaiprakash15
0
1K
Member Avatar for ellimist14

Ok I'm going to try to be as specific as possible. Here's my input file (at least to some effect): [code] #'s searched 1 3 3100 56801 .52 87925.32 2 Mitchell 1 boudreax 2 1 4 5480 56825 .81 68939.09 0 1 5 8520 56829 .89 10892.40 3 guillott 3 …

Member Avatar for ellimist14
0
98
Member Avatar for pczafer

hi eveyone i need to edit person name or Appointmendescription but not date or time in my program. i can write all the records to the file and can read from the file. and need to edit the file now. can anyone help???? thanks.. [CODE] void writeAppointmenRecords( ) { int …

Member Avatar for Sky Diploma
0
100
Member Avatar for zoner7

Alright. This is a pretty simple program. The program simply reads a simulated DRM (basically an encrypted plain text file) file that was encrypted using RC4. It then reads a plain text file that contains the exact same plain text that the DRM file would decrypt too. (This is assuming, …

Member Avatar for jephthah
0
172
Member Avatar for KaneShade

I'm getting a RunDLL error on startup that says as follows: Error loading C:\Windows\Qqafeco.dll The Specified module could not be found. After I close the notification box, my computer seems to be running ok, but goes through extremely slow periods where it sometimes takes text I write 10-15 seconds to …

0
55
Member Avatar for neutralfox

Hello guys, I want to know if its possible to use the same socket to transfer two things at the same time. [code] // set up input stream for objects input = new BufferedReader(new InputStreamReader(clientsoc.getInputStream())); // set up output stream for objects output = new PrintWriter(new OutputStreamWriter(clientsoc.getOutputStream())); output.println(nickName + " …

Member Avatar for neutralfox
0
175
Member Avatar for myselfantara

Hello Everyone, I am a new member in the forum. I had a question regarding a code. The code is not able to open the input file. Any help is appreciated. thanks Here is the code, [ICODE] #include <iostream> #include <fstream> #include <cstring> #include <cstdlib> #include <iomanip> using namespace std; …

Member Avatar for tux4life
1
217
Member Avatar for dessolator

Hi, I'm trying to read certain values from a text file and store them in a variable/string so that I can populate a combobox with the values. I have my read stream etc, but I'm unsure about how I would pick out certain data from the text file that I …

Member Avatar for Acedia
0
134
Member Avatar for dekaya

once I have assigned a file name to a stream object, and no longer have direct access to that file name but I do have access to the stream object is there a way to extract the file name from it? It has to know it because subsequent operations read/write …

Member Avatar for dekaya
0
2K
Member Avatar for ashafaaiz

Hi, How can i upload a text file using move_upload_file() in php because it returns error like Warning: move_uploaded_file(/thenewcareers.com/httpdocs/newcareers/demo/jobseeker/resumes/email.txt) [function.move-uploaded-file]: failed to open stream: No such file or directory in D:\inetpub\vhosts\thenewcareers.com\httpdocs\newcareers\demo\jobseeker\upload.php on line 19 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\Windows\Temp\php99A0.tmp' to '/thenewcareers.com/httpdocs/newcareers/demo/jobseeker/resumes/email.txt' in D:\inetpub\vhosts\thenewcareers.com\httpdocs\newcareers\demo\jobseeker\upload.php on line 19 if anyone …

Member Avatar for cwarn23
0
181
Member Avatar for senoftheshire

Hello, I need some help removing these trojans because my antivirus doesn't even know they're there. I've read through your stickied posts, so I think the first step is to post my HJT log. Hopefully, I can get rid of all 3 in one shot (and any other you might …

Member Avatar for crunchie
0
167
Member Avatar for chaz0910

I have two forms. First form has 5 buttons, when all 5 buttons are clicked they should display another form, however depending on which button is clicked different text and images are displayed through a select case statement. However I am not sure what links this to the first form …

Member Avatar for martonx
0
93
Member Avatar for tgreer

Hi. I'm having some difficulty with a project that involves working with very large binary files. These are PCL files, where the decimal character "12" represents a Form Feed, but only if it's not embedded within a string of binary data. In other words, I'm looking for decimal "12", then …

Member Avatar for bpazhoor
1
1K
Member Avatar for jt8

Hello, Several days back, I posted a message on this forum in relation to a software security issue. I had hoped to get some feedback on a potential solution, but it seems that perhaps my post was a bit too broad in its scope. I have since come up with …

Member Avatar for GrimJack
0
117
Member Avatar for nattsurf123

I'm trying to decode a flatencoded pdf stream. I get the exception: Index was outside the bounds of the array. I don't understand because I have tried to be really exact. I Would appreciate your help on this. Here is the code I'm using. ASCIIEncoding encoding = new System.Text.ASCIIEncoding(); byte[] …

0
78
Member Avatar for cpsc1892

I'm studying for one of my exam's and this is my first c++ class and my professor gave one of these questions for our study guide... and I'm having trouble with it. And since our final is open book and open notes he's not giving us the answers, and i've …

Member Avatar for cpsc1892
0
2K
Member Avatar for f.ben.isaac

[CODE] const char* findThisMsgInMem = "Hello World! Everyone is Happy"; if(memcmp(&dataInMem[i], findThisMsgInMem, defaultMsgSize) == 0) { memcpy(&dataInMem[i], newMsg, strlen(newMsg)); //more code here }[/CODE] This is first time for me trying to use malloc, and realloc. Please see the coding example for illustration purposes. Don't worry of this lengthy question, most …

Member Avatar for f.ben.isaac
0
509
Member Avatar for arvin2006

hi everyone, i have successfully saved the image file to DB by this code: Private Sub cmdSave_Click() Dim picsm As ADODB.Stream Set picsm = New ADODB.Stream picsm.Type = adTypeBinary picsm.Open picsm.LoadFromFile filepath With rs .AddNew .Fields("Last") = txtLast.Text .Fields("First") = txtFirst .Fields("Pic") = picsm.Read .Update MsgBox "Successful" End With picsm.Close …

Member Avatar for debasisdas
0
161
Member Avatar for mastermosley
Member Avatar for sabian4k

Hey guys i need help. I need to write a program that computes all of the following statistics for a file and outputs the statistics to both the screen and to another file: the total number of occurrences of characters in the file, the total number of nonwhitespace characters in …

Member Avatar for sabian4k
0
301
Member Avatar for dan0

I'm trying to put together code that can upload multiple files to a server via HTTP. So far, I've put together code that can send one file at at time via HTTP. When I send more than one file at a time the first file is processed but then the …

0
47
Member Avatar for fox64

I've been wracking my brain over the last week. I have project due soon, but I'm having a lot of trouble with certain aspects of pointers in class instances. My project is to re-design the String class library by remaking basic functions. I was given a header file and told …

Member Avatar for fox64
1
93
Member Avatar for ppraj

I use process class to execute a program. The redirect standard input,out and error are set to true. So once the standard output is complete , I write the stream using ReadToEnd method of the stream. However I like to also populate a text file with data read from the …

0
56
Member Avatar for Talguy

I going to create a central file server to store all my media files (music, HD video, etc.). This server will be accessed by multiple HTPC around the house. I plan on all the PCs and the router to support gigabit ethernet. What I would like input on is how …

Member Avatar for Talguy
0
86
Member Avatar for valsaraj

HI, My website has an import csv feature. how can I identify that user uploaded a csv file. when I make uploaded csv file from two different systems it shown two separate types like 'application/download' and 'application/octet-stream'. It is confusing. Is there any idea to validate a csv file. file …

0
59
Member Avatar for tasneemnikhat

hey ol, i dnt hav much time left to solve des Q's.. can u plz guide me solving des... Fundamental Exercise /* class design, dynamic memory allocation and operator overloading */ 1. Write a program to implement Matrix class. • Implement addition and multiplication operation • row and col of …

Member Avatar for tasneemnikhat
0
121
Member Avatar for dwlamb_001

I have written an application to do the following [list] [*]upload a txt file to the server [*]move it from the temporary directory to a more permanent one [*]parse the test file line by line and do some processes [*]create and write the result to a new text file [/list] …

Member Avatar for dwlamb_001
0
108
Member Avatar for javascript_help

Problem: Upload all the file in a folder to Server using JavaScript / web service I was trying to upload all the files from the specified folder from the client machine to the server. At the client side, I used JavaScript to read the entire file from client machine While …

0
73
Member Avatar for ellimist14

ok this is a really basic question but I just can't seem to wrap my head around it. The basic syntax of how to open a file and check it and whatnot makes sense to me. But how the compiler reads from the file doesn't. For example if I have …

Member Avatar for siddhant3s
0
126
Member Avatar for loveforfire33

Hi guys, im yet again having a problem with a task! im struggling to get my head around stream reader. ive managed to grasp the basics how to read and write to .txt files when entrys are a new line in the .txt file ( i.e the .txt file layout …

Member Avatar for sknake
0
67
Member Avatar for localp

[code=syntax] package testone; import java.io.*; public class fileread { private String[] a = new String[100]; String x; String sh; public void read(){ try { // Open the file that is the first // command line parameter FileInputStream fstream = new FileInputStream("test.txt"); // Get the object of DataInputStream DataInputStream in = …

Member Avatar for stephen84s
0
98
Member Avatar for Argo54325

Ok, something very wrong is going on with my program. When i run it the numbers it is giving me are sometimes right but are also wrong. H (the first letter in the word) is both = to 0 and 1 (wtf?). Any ways below i'll show you want i …

Member Avatar for VernonDozier
0
1K
Member Avatar for Argo54325

Ok so i made a decoder for this that gets the letters from the numbers that this encoder gets. Problem is that i think the numbers its giving me are wrong and i can't seem to figure out whats causing the problem. Help please! :( [CODE=C++]#define _CRT_RAND_S #include <iostream> #include …

Member Avatar for Argo54325
0
107
Member Avatar for Argo54325

When i runt he code and try to get the size of the 2 files something goes wrong with the msgIn file. I'm using the same method for both files and the bookIn will work but msgIn just returns 0 as if it never ran. this is the method that …

Member Avatar for Salem
0
139
Member Avatar for Argo54325

I'm trying to get a char back from the bookFile.txt but, when i run the program it returns nothing. I'm not sure if .get() if the right thing to be using. When i run this code i get the random number and the first letter of the msgFile.txt returned correctly. …

Member Avatar for nucleon
0
186
Member Avatar for ssreevidya.m

Hi, I have a need to insert images to the database. I tried it using the following code: [code]if ((file1.PostedFile != null) && (file1.PostedFile.ContentLength > 0)) { // Get the filename. byte[] fileData = null; string fn = System.IO.Path.GetFileName(file1.PostedFile.FileName); try { // Access the file stream and begin the upload. …

Member Avatar for ssreevidya.m
0
139
Member Avatar for SHWOO

This function is supposed to open a file stream and copy the text into an integer array to be used for a map key. Here is the contents of the file. I am getting the decimal value stored in the array and I just cannot figure out how to correct …

Member Avatar for WaltP
0
79
Member Avatar for Georges5

Hi all, I have written a C++ code that reads data (as double) from a huge binary file with size 2.5 GB, then process the data and write it to another binary file. What is really strange, the code works fine and smooth in Borland C Builder 6, but since …

Member Avatar for Georges5
0
250
Member Avatar for deepalici0us

I am using Microsoft Visual C++ to write a program, i am trying to As records secretary for Cougar High School, you have been asked by the principal to prepare a report on the grades of some of the school's top athletes. Specifically, you must print each of the athlete's …

Member Avatar for vmanes
0
267
Member Avatar for jpp10

I have the following code, which reads from the .csv file and simply displays the output as whatever is being read from the .csv file...(which is test1.csv in the test1.zip attached with this post) //class to read CSV file : import java.io.DataInputStream; import java.io.FileInputStream; import java.io.IOException; public class readCSV { …

Member Avatar for jpp10
0
182

The End.