7,373 Topics
![]() | |
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 … | |
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 … | |
Hi all, i have a problem which is i want to call function in different .cpp file.i create .h file. in main function, i include xxx.h as header file.in xxx.h i list down all the functios inside the file with extern.than in xxx.cpp i declare variable like dis e.g extern … | |
So I've got a program that takes an encrypted file and essentially decrypts it. I am now trying to modify this file. During the encrypting process, the words were scrambled by position. The location of each word is marked with a position value. I decrypted the original text, so now … | |
Hi, I wish to add the following to my web.config file: [code] <appSettings> <add key="networkDrive" value="C:\test"/> </appSettings> [/code] But everytime I add it i get the following error: [code] Sections must only appear once per config file [/code] I looked in the file to see if it appeared more than … | |
-------------------------------------------------------------------------------- Hey all. I'm a newbie at C++ and hope that you guys can guide me along. I recently got assigned a project and is needed to code it in C++, which I have almost zero experience with, so bear with me. =) I need to delete 3 log files … | |
Write a program to compare two text files. The names of the files are to be supplied as command line arguments. The program should write a message to the screen indicating that the files are exactly the same or that there are differences. If the files differ, the program should … | |
I am trying to read a data file with this format: 2 2.0 5.8 4 -3.8 1.4 2.0 5.8 3 1.0 2.0 3.0 5 2.2 3.4 4.5 -1.0 2.0 The first number is the number elements and the numbers under are the elements. I would like to read the first … | |
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 … | |
Hi all; I have problem in C. the problem is ,Here is my code [code=syntax] #include <string.h> #include <stdlib.h> #include <stdio.h> /* uni() function takes an array an thier size.and it produce an array which is include unique element */ int uni(char **arr,int size) { int unique = 0; /* … | |
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 … | |
Hey everyone! I'm having trouble with the Open File Dialog in VB.NET. It works fine because I am only returning the file path of the file selected, but for some reason the dialog box reloads every time it is clicked for the first time. For instance, the dialog opens and … | |
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, … | |
Hi All, I'm a C++ beginner, and I face the following problem: There's a .txt file that has some number written successively in the 15th line of the file. Each number (that could be a one or 2 digits number) is separated by a space from the preceding and succeeding … | |
I have a Windows 2003 server R2 Sp1 and XP SP2 workstations with Office 2000. Occasionally 2 users are able to access the same excel 2000 spreadsheet at the same time without receiving a file open notice until the second user tries to save the file. Then they receive a … | |
Hi all, ok this is quite general in a sense but there's no other approperiate forum to put this so here goes: When thinking how the langauges resolve IP when given a hostname, am I right to say that client-side languages like javascript uses the local computer's host file and … | |
Hi all, I just learned that I can edit the Windows (Vista) host file to assign IPs to domains (host) so that the local system checks the domain against the host file before going through the DNS. My question is: is there a way to redirect an IP instead for … | |
HI All, I have ollowing code to delete the image by using File.Delete(fileNamefordel + ".jpg"); function. It works fine on local server but not on uploaded server. string fileNamefordel = Server.MapPath("StdImage") + "\\" + (Session["lCandidateID"]).ToString(); if (File.Exists(fileNamefordel + ".png")) { File.Delete(fileNamefordel + ".png"); } if (File.Exists(fileNamefordel + ".gif")) { File.Delete(fileNamefordel … | |
Hi all, I am a newbie to C programming world. In my program I want to log information into a log file whose file name should be filename_date_time I am using following code to write information but need help in changing the file name from filename to filename_date_time. [CODE] #include … | |
Hi Everyone, I have got a program which takes a html file as an argument, parses it, and outputs the data to a CSV file. It does this no problem. BUT, i need it to take more than one html file, parse them and put all the data collected into … | |
Hi, Thank you for helping with this. I basically have to encrypt a file in where the user enters the file name & enters a name for the output file. The encryption is based on the password the user enters. It is a case situation, that being said, if the … | |
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 … | |
Hi I have written a ftp script in perl.It seems to work fine but for some servers it throws an error "Bad file number" while trying to close the connection.What can be the reason for this?How should I resolve it? Following is the ftp section from my code: [code]if (!$ftp->get($ftp_FileList, … | |
Hi guys, I need some help with a project...apart of it requires me to add, delete, edit and view records from a file, I have gotten the add to work so far but it will not delete records from the file, I am wondering if it has to do with … | |
Hi I'm trying to make a file upload function for pictures. So can anyone please help me to make a simple file upload function in c#? I've tried to make one, but it won't seem to work, so I've decided to start over, just with a simple file upload funktion. … | |
i am very new in java. anyone pls tell me step by step that how can i make executable jar file for my ListFile.java file .... I made a directory named "Test" where put ListFile.java & ListFile.class file. then i made a "mainClass.mf" file in same directory where having this … | |
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 + " … | |
Hi all; i have some problem with my code.. I want to read txt file which include : rectangle 0 0 1 1 orange rectangle 0 1 1 1 green rectangle 0 2 1 1 white rectangle 0 3 1 1 orange rectangle 0 4 1 1 white rectangle 0 … | |
Hi I am using eclipse.I got error.I am using g++ complier. *.o : file not recognized: File format not recognized collect2: ld returned 1 exit status Please any one help me..[B][/B] | |
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; … | |
I don't know where this question came from, but... Is there a way to start at one directory, say... C:\ . and I wanted to go into that folder, and printout a list of the folders/files in that directory, and then do the same for the rest of the folders … | |
Can anybody please help me with the code to read file names inside a zip file using VB6. I am able to open(not extract) the zip file. | |
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 … | |
I am using a compaq laptop, with multiple OS-- win xp pro and ubuntu. My laptop has recently been sabotaged. And now when I boot it and choose win xp OS, this following error message come up: "Windows could not start because the following file is missing or corrupt: \WINDOWS\SYSTEM32\CONFIG\SYSTEM … | |
here I’m going to show you a new way to hide files that is very counter-intuitive and therefore pretty safe! Using a simple trick in Windows, you can actually hide a file inside of the JPG picture file! You can actually hide any type of file inside of an image … | |
i have a file uploaded to my server the path is shown as E:\abc\def\upload\contents.doc to download it the path should be [url]http://3.212/232/abc/def/upload/contents.doc[/url] how do i go about it ? i am saving the file by using[code] o.FileFullPath = Server.MapPath(".") & "\upload\" & sFile [/code] from a script i downloaded | |
i have ubuntu 8.10 . how can share any folder from a drive such that every person in lan network computer can see that. (in xp we can just share in one right click) but how can we share in ubuntu. please would you guide me from begining. | |
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 … | |
This program is "C:\test\program.exe": [code]#include <iostream> #include <fstream> using namespace std; int main() { int choice; cout<<" Which name to embrace?\n\n"; cout<<" - 1. Fight Club\n"; cout<<" - 2. Shawshank Redemption\n"; cout<<" - 3. Italian Job\n"; cin>> choice; }[/code] There's also a .txt file there named file.txt, "C:\test\file.txt\". Inside this … | |
hiya. I'm trying to read in a text file, then split each line and output it to a listbox. However its not that easy. every 7 lines is about one subject so i need the listbox to write the data out like this. line 1, line 2, line 3, line … | |
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 … | |
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 … | |
I have a program which will write informations like gid,gname,resname,restype,etc... in a file.I wrote a function to get the starting and ending position of a particular group.Stating of a particular group (say group 12)is denoted in a file by #gid12 and the end of the group is denoted by @gid12.I … | |
I have a program which will write informations like gid,gname,resname,restype,etc... in a file.I wrote a function to get the starting and ending position of a particular group.Stating of a particular group (say group 12)is denoted in a file by #gid12 and the end of the group is denoted by @gid12.I … | |
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 … | |
Hello all, I'm a beginner in C, and I face the following problem. I have multiple data files, where in each file, there are 3 lines that are the same for each file, and then the fourth line in each file have the work "result" and then a value. What … | |
have a script which i found online,through google for uploading and resizing photos when they are uploaded. It works well,the only problem is that there are some images when i upload them they are not detected as a file,but others are uploaded well. for example image of this properties is … | |
This is urgent. I have a complied php file, the file appears to have been run through an intentional obfuscation process with something called ionCube. I need someone to de compile this file to source file ASAP. Please contact me at <SNIPPED> so I can send this file to him | |
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 … | |
Hello everyone. I am making a clock in - out program and have a more complex issue on hand. My program asks the user for their name then sends them to the clock in/out form. In the form they press a button which then stores the TIMEOFDAY into a .txt … |
The End.