6,015 Topics
![]() | |
wat is the short key for switchin between windowss | |
Using Windows API's how can i copy to another file and Get different properties of a file (size, type, date created and more). i had done reading and writing file plz someone reply me quickly | |
Hello, I am working on a program, part of which is opening a file. As I expect the program to check if the (text) file contain certain data. That's why it would be useful if program users could enter the file to check. I've tried to do it by combining … | |
Hi, I am now writing a simple program for testing file I/O and an advanced vector class. Unfortunately I have encountered some confusing problems. My code is as following: [CODE] #include <cmath> #include <string> #include <iostream> #include <sstream> #include <fstream> using namespace std; class mVect { private: // NO PRIVATE … | |
I am trying to take a a file of fixed size and use seekp to jump to a particular spot in the file, write around 100 bytes or so but only to that part of the file while still keeping the size of the total file the same and not … | |
I was wondering if it is possible to print a file with out viewing it first by using a hyperlink on a webpage. Bacically i want users to print off a form (doc file) by clicking a link. eg: -so the hyperlink would be here: kings-head-inn.com/print/linkpage.html -and the doc file … | |
hi.. im writing a macro in Excel to copy a selected roe into a text file. i ve taken a button on a sheet and when user clicks on the button the selected row (only selected row) should b copied into a file on c: seperated with ","... ive written … | |
I am reading a .txt file line by line and when the line in the file is "Hello1", I want to Replace that Line with "Hello2" but I dont get that to work. I think I miss something out here [code] //Save this emailadress to the RouletteDataBase file String Path … | |
Hey... ok before i start i want to say that i'm not a very good programmer... and i'm new with this... and i got a project that i have to submit in 2 days so i badly need help!! ok the problem is: I'm using binary file handling, a code … | |
hi there, i do hope someone can help with my delima. yes this is homeowork but i am 80% through my program and only wish to get some guidance on my program. my program has a number of things it has to do and one the things i am having … | |
I've run into a problem when I try to download a file from a web site the dialog does not pop up saying [B]save to file[/B] instead I have to use the FireFox plugin [B]IE Tab[/B] switch the tab over to an [B]IE Tab [/B][I]and only then[/I] will the dialog … | |
Today I was copying a file from my laptop onto my USB external hard drive when the transfer froze and I had to cancel it. The file is still intact on my laptop but the unfinished copy created on my external hard drive does not seem to want to be … | |
Hey, I have a problem when I'm trying to delete an image file. I always get an error that says: IOExeption was unhandled. Acces denied because the file is beining used by another process. I do'nt know what process that could be and how to solve it. [CODE]private void comboBox3_SelectedIndexChanged(object … | |
[code=language] #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; /* The length of dst after removing duplicates */ int n=size; char *dst[n]; /* The … | |
[CODE]<?php //set where you want to store files //in this example we keep file in folder upload //$HTTP_POST_FILES['ufile']['name']; = upload file name //for example upload file name cartoon.gif . $path will be upload/cartoon.gif $path= "/home/content/a/b/a/abazoskib/html/snapit/photos/".$_FILES['ufile']['name']; if($ufile !=none) { if(copy($_FILES['ufile']['tmp_name'], $path)) { echo "Successful<BR/>"; //$HTTP_POST_FILES['ufile']['name'] = file name //$HTTP_POST_FILES['ufile']['size'] = file … | |
[code]#include<iostream> #include<fstream> using namespace std; int main() { dnode<double> *listA = new dnode<double>; dnode<double> *listB = new dnode<double>; int val1; //first set of integers int val2; //second set of integers ifstream inFile; //declares the inFile //Read in a file to build the two lists inFile.open("lnkList.in"); //Open the input file //statement … | |
Hi, Below is my code. Hopefully it is in the correct format. I would like to know how to ask the user the dir and file name of certain file formats (they are red in the code) and have the program take those answers and put them into the program, … | |
hi guys, need help urgently on extracting data from text file and compute it. i'm suppose to sum up the highest temp and divide them by 7 to get an average decimal. only display data on compiler without calculating the average sum. ok here is my code. #include <iostream> #include … | |
I am new to java and many of the nuances to this language. For my class assignment we need to finish our methods which I have already done and do not want any help with. What I need help with is reading the data from the file with in "main". … | |
Hi, The problem i'm having is that the data that i want to appear on the file doesnt apear fully. I want the full results of the program to be saved to a doc file but i only get the next number in the sequence. Here is my code # … | |
I am modifying the WDK "genprint" Print Processor example. Everything is working great, and I can compile fine, but I am running into a snag with one thing. Part of my modification knowingly triggers a print error, and Windows re-submits the print job automatically in the spool. I need to … | |
Hi all, I want to write a perl script which will parse a .cpp file to extract the member variables of a function and log them into a text file. Then I have to read this file using Tk and display the contents of the file. I have the perl … | |
Hi all, 1] I have to create one html file which uses javascript. 2] HTML page can be accessed by user and can fill the; [A] Folder path along with file name 3] There will be a button, after click on that a batch file [already present but without any … | |
Hi guys, I have spent a morning working on this. Not sure if I will ever get it right. What I want to do is read a text file and based on list of constant values split the original file in two smaleer files. One of them to contain only … | |
I am making a program that reads from a .txt file and outputs the names that are in my .txt file into an output file that the user specifies. My program compiles but then I get an error that says "int main(): Assertion `fin.is_open()' failed. Aborted" What am I doing … | |
hi I'm doing an exercise from a book, where I created a project called "Example.cs". When I wrote the code, here are the steps involve: 1. Select New Item. This causes the Add New Item dialog to be displayed. Select Code File and then change the name to Example.cs, 2.Next, … | |
I've got to make a Property To Let program that can allow the user to add, view or delete property details to and from a text file. I have done the add and view part but i am having trouble getting the delete working. I've managed to get it to … | |
hey, im having a problem getting file stored into linkedlists. the program crushes when start reading. [B]these are the structs:[/B] [code=c]typedef struct category { char categoryID[5]; char categoryName[25]; char fareType; char categoryDescription[250]; unsigned numItems; ItemTypePtr headItem; //ptr to item struct CategoryTypePtr nextCategory; } CategoryType; typedef struct item { char itemID[5]; … | |
When I try to print data to a file, I am getting an error dealing with security saying that I don't have permission to write to a file. Can anyone help me out? Here is the code //import packages import javax.swing.*; import java.awt.event.*; import java.awt.*; import java.io.*; import java.util.*; import … | |
Opening a image file gives an empty file. A .txt file can be opened. Opening the image file gives no view available. | |
Hi guys, I am trying to create an windows application. What I need to do at this stage is I am trying to read a tab delimited file and the that same tab delimited file to go to another text file on my C drive. I have written some code … | |
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 … | |
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 … |
The End.