7,373 Topics

Member Avatar for
Member Avatar for mangopearapples

Hey people, How could I make it so when I right click and file and click 'Open With..' and choose my program so it loads the file? I already know how to load the file from when the program is already running and you click 'load' ect... [B]But,[/B] I tried …

Member Avatar for mangopearapples
0
178
Member Avatar for sreekiranws

Hello I need some help as to the limitations or flexibility of header files. I have written a code that updates a base folder when it is compared to its newer version. I have hit on a roadblock though. If a new file is added to the folder, the program …

Member Avatar for WaltP
0
215
Member Avatar for Dionysus

Hi I was hoping if anyone could help me figure out what im doing wrong. I wanted to delete a specific line in a text file using fputs...I dont know why it isn't writing on the textfile in other cases it only writes in the end of the file..' heres …

Member Avatar for James Lloyd
0
999
Member Avatar for peachy0685

Hi, I'm developing a website using .NET 3.5 and I'm having problems with the asyncfileupload control. The problem occurs when you upload a file, and then try upload the same file again. On the second upload, none of the clientside nor serverside methods fire. Everything works fine if you upload …

Member Avatar for sharana
0
692
Member Avatar for StWa

Hi, I have the following situation; I made a website where I can manage the pages. One option, where I add more pages, is giving me problems. When working on my localhost everything works perfectly, and the generated file is being processed correctly. Online however is results in a very …

Member Avatar for urtrivedi
0
114
Member Avatar for senthilamp4

Hi Experts, Here i am trying to create a script for Auto Back up script to Back up files. files are taking a back up with help of archive zip module along with mentioned the date in corresponding Folder name. Here i am create one xml file for daily updation. …

Member Avatar for k_manimuthu
0
236
Member Avatar for heals1ic

While logged into my sbs 2008 using the domain administrator account I keep getting this error when changing folder security to folders and children. [CODE]error applying security An error occurred while applying security information to: c:\folder\file.doc access denied[/CODE] All of the files and subfolders in this folder have full permissions …

Member Avatar for ComputerCharmer
0
885
Member Avatar for Phinocio

I am making a text based game for my programming class, and am working on the saving system at the moment, however, when I run the save method, it overwrites the file, but doesn't insert the new data, it leaves the file blank. Here is the whole save class. [code]package …

Member Avatar for jon.kiparsky
0
151
Member Avatar for Ancient Dragon

I get this error for every thread I click in the c++ forum. C forum seems to be ok.

Member Avatar for Dani
0
39
Member Avatar for liran

Hello I want to put an advanced file uploader, for uploading a few files at once, and also for big files. The support for big files is critical, so if a user wants to upload 2GB file, and it get stuck in the middle, it can continue from the same …

0
103
Member Avatar for Oddone

Okay, so I am trying to write a program which uses the Myers-Briggs personality test to turn this: Snoopy AABAAAAAAAAAAAABAAAABAAAAAAAAAAAABAAAABAAABABABAABAAAAAABAAAAAABAAAAAA Charlie Brown AAABBAABBABBBAABAAAABABABBAAAABABBBBABBBABAABABAABABAAABABAAABBAABABBB Linus AABBAABBBBBABAABBBBABABBABAAAABABBABABBAABAABABAABABBBBBBBAAAAAAABBBBB Lucy BABBAAABBBBAAABAAAAAABBBAABAAAAABBBAAABAAAAABABAAAABAABBBBAAABBAABABBB Peppermint Patty BBBBAAABBBBABBBAAAAAABBBAABAAAAABBBAAABAAAAABABAAAABAABBBBAAABBAABABBB Into this: Snoopy: 6A-4B 17A-3B 18A-2B 18A-2B [40%, 15%, 10%, 10%] = ISTJ Charlie Brown: 7A-3B 11A-9B 9A-11B 10A-10B [30%, …

Member Avatar for Oddone
0
307
Member Avatar for skips

Hello. What i'm trying to do is simple and I know that I could just get the answer offline. However, I wanted to finish this one myself, so if someone could fix what I believe to be a small error I would appreciate it. I am simply trying to read …

Member Avatar for skips
0
151
Member Avatar for feoperro

Hi, I'm trying to somehow download all pictures on a website FIRST before anything else happens... the problem I'm experiencing is that when a user comes to the site - none of the images are loading, sometimes they show, sometimes they don't... I believe that if the client downloads all …

Member Avatar for samarudge
0
129
Member Avatar for kodera

I am working on an assignment that calls upon a text file to read numbers line by line. If line 1 number is 1, it looks at line 2 number (ex, line 2 = 13), and uses OneNumber class file to do various methods (such as prime or not prime). …

Member Avatar for kodera
0
298
Member Avatar for RenanLazarotto

Hey guys! There is some way to open a file and fill it with randon information until it reach a determined value? Like a dumb file (; Thanks!

Member Avatar for RenanLazarotto
0
758
Member Avatar for jlivvers

Hi, I have inherited a project from a colleague and have an intersting problem. The project attempts to deserialize a type 'Client' into a new 'Client'. [CODE] Client mainClient = null; using ( stream = File.Open(resourceFilePath, FileMode.Open)) { BinaryFormatter bin = new BinaryFormatter(); mainClient = (Client)bin.Deserialize(stream); } [/CODE] this throws …

Member Avatar for kvprajapati
0
128
Member Avatar for rjbrjb777

hello all, following is the code that fetches required columns from r.csv and makes a new file. now i want to ignore first line of r.csv while fetching defined column . what should be done? [CODE] #include <stdio.h> #include <stdlib.h> int main() { FILE *in, *out; char ch; char *rdf,*wdf; …

Member Avatar for rjbrjb777
0
2K
Member Avatar for Howdydoody

Hey guys i could use some clarification as to how this is done. Most if not all examples i have seen have the class written above the main in the same cpp file. My professor says we should have it in a different file so it can be reused by …

Member Avatar for Howdydoody
0
113
Member Avatar for Soup!

Hello, I'm new with C and I've almost finished this little program but something is wrong. The program reads in a list of names from the file names.txt that I put right in C:, and prints the list to an out file called trans.txt (which it creates on its own) …

Member Avatar for jnawrocki
1
207
Member Avatar for masterjiraya

this is the whole code where in I got a problem [CODE=php] <?php //get the value of the selected radio value from webpage1.html $n=$_POST['company']; $dbhost="localhost"; $dbuser="root"; $dbpass=""; $dbname; ?> <html><head><title>web page1</title></head><body> <?php // logical selection for $n if($n==1){ echo"You selected Company <font color=red>bhagis portal</font> <br>"; $dbname="bhagis_portal"; } elseif($n==2){ echo"You selected …

Member Avatar for urtrivedi
0
66
Member Avatar for Arjun_Sarankulu

There are nearly 150-200 char in the line from a file which i am reading but while writing to another file i want to make it 1000 chars padding spaces after few char from a file which i am reading. Can any one help me for the same

Member Avatar for Momerath
0
106
Member Avatar for vijiglad

[CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>Validate Image</TITLE> <META NAME="Author" CONTENT="Bit Repository"> <META NAME="Keywords" CONTENT="validate, extensions, file, javascript"> <META NAME="Description" CONTENT="A JavaScript Extension Validator for Images"> <SCRIPT LANGUAGE="JavaScript"> <!-- function validate() { var extensions = new Array("jpg","jpeg","gif","png","bmp"); var image_file = document.form.image_file.value; var image_length = document.form.image_file.value.length; var pos …

Member Avatar for vijiglad
-1
2K
Member Avatar for Neversleepin

Hello, i would to import the last modified txt file from a directory (c:\Folder) using a macro in Excel. I have a folder which is incremented everyday by a new txt file. The goal is to import the last txt file added in the direrctory. I've already created a an …

0
94
Member Avatar for TheFueley

I'm having trouble figuring out how to use exceptions to check if a file stream was created successfully. I know I can use if statements, but how do I do this using try/catch statements? It compiles successfully but it gives me an error when I supply a non-existent filename as …

Member Avatar for TheFueley
0
8K
Member Avatar for tracydo

Hi I need help with the while loop and read from a file to find monthly mortgage payment from the input of Principle, Interest & Term in years. I know I may did something that doesn't make sense here, please take a look and let me know. Thank you in …

Member Avatar for ztini
0
222
Member Avatar for ChristinaS

Hello and HELP!!!! I'm in CSC250. I'm writing a prog that needs to do the following: 1- read files from the directory, avoiding sub-directories (along w/ _chdir) 2- read the contents of the file (as binary) 3- extract info from the files 4- modify the file name to reflect info …

Member Avatar for WolfPack
0
458
Member Avatar for JohnDove

I'd like to use data from a text flat-file in my VB app. I have a data dictionary that describes the content of the flat-file. The challenge is that the flat-file structure may change in future (with an associated change in the data dictionary). Not frequently but every 6 months …

0
55
Member Avatar for narendera22

Hi My one applicaton using sqlldr utility to load data in database from flat text file. Now there are change in table name. I open this .ctl file in text pad and made changes but its not working. I am providing flat file name and other file name as a …

Member Avatar for Momerath
0
157
Member Avatar for asdttk

Hello,everyone!I am very new to posting so please bear with me. I had a notebook pc with all of our itunes music downloaded to it. No I did not back it up. My hard drive fried yesterday. How can I upload the music from my son's ipod and my ipad …

Member Avatar for stechmagnet
0
287
Member Avatar for sj5536

hi i have to read tif File using java file has 3 pages and take first two page of that file and create new tif file with different name can u suggest me how should i start

Member Avatar for peter_budo
0
309
Member Avatar for Lirans

Hi I have 2 pcs running Win 7 and connected with a switch. I also have another pc with XP (connected through a router to the switch mentioned). File sharing used to work fine, until not long ago when i tried sharing another drive on the network (from a Win …

Member Avatar for 333Geek
0
168
Member Avatar for arjunpk

hi all.... i want to create a menu like the one in the image attached...... can you guys please tell me what is the name of that particular style of file open diaog.... i'm sure the code for this is available easily.... but i'm just not able to do a …

Member Avatar for ddanbe
0
98
Member Avatar for LuciaPwNs

So here is cliff notes of my assignment: -Use Inheritence -Person(lname, fname, address) inherited by employee(rate, hours) What I would like to do: -Find how long my arrays have to be(depends on file length) -open file -go to function retrieve lastname from file -go to another function retrieve firstname ...etc …

Member Avatar for prvnkmr194
0
193
Member Avatar for CMAUK

Hi guys, ran into a small problem, i can read & write anything i want to a text file as well as append to the end of the line but I cant seem to figure out how to edit a specific line. Lets say in the text file i have: …

Member Avatar for jon.kiparsky
0
3K
Member Avatar for f.damati

Hello everyone, I wrote a c program in order to write 5 students records (name, ID and average) to a file. Now the difficult step is to firstly to find the highest average among students. Have anyone any clue how I can do this? Thank you

Member Avatar for WaltP
0
94
Member Avatar for CityThrille

Good day. How can I get the path from a Resource File(Resources.resx) just like a file path in Windows in VB.NET? Example, I imported a picture to my resource file, and want to use the picture while my form is loading, and want to use the path from Resources.resx file. …

0
65
Member Avatar for chakebubu

I have a motion detection code that creates a processor for my webcam bu then I want to transmit this video stream also. I am trying to use the VideoTransmit code provided by sun. Can I be able to modify it to use the same processor as my Motion detection …

0
125
Member Avatar for mundee

My Windows 2000 computer detected a severe virus and I was afraid that my entire computer would crash so I panicked and stupidly deleted the entire administrative user account without thinking about my files nor backing them up. I was more concerned with my installed expensive software being affected. Now …

Member Avatar for jaydeee
0
181
Member Avatar for lochnessmonster

any suggestions on this custom array class?(it compiles and works properly) [CODE]// Sequential_Sort.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <fstream> #include <Windows.h> #include <WinBase.h> /** * Class: Array * * Custom Array class used to read input from a file * …

Member Avatar for griswolf
0
439
Member Avatar for Chellam2

A practice exercise requires the creation of a text file with 4 lines of info for cars, VIN, model, manufacturer, and year repeated over and over for different vehicles. This I do with StreamWriter and have a simple multiline text file as follows: 111111 Echo Toyota 2005 222222 Accord Honda …

Member Avatar for jonsca
0
221
Member Avatar for shacur

can i get some help sending the attachment pls cause i think something from my code is missind and that's why can't send attachment. [CODE] <?php $ip = $_POST['ip']; $httpref = $_POST['httpref']; $httpagent = $_POST['httpagent']; $visitor = $_POST['visitor']; $visitormail = $_POST['visitormail']; $message = $_POST['message']; $attn = $_POST['attn']; $subject = $_POST['subject']; …

Member Avatar for diafol
0
154
Member Avatar for manjarivatsa

Dear all, I have a .exe file of a hydrology model(in FORTRAN) and I need to supply an input file to it using < redirection operator and later store results in a file.It is required to do it through Java platform.Eagerly waiting for relevant replies.

Member Avatar for masijade
0
49
Member Avatar for Alice1990

what is wrong with the ifstream and ofstream? I had try again and again and the info shown run to infinity. :( I tried a lot of times ady, will be glad if anyone can help, thank you :) Sorry if its looks messy, still learning all the way. [CODE] …

Member Avatar for Ancient Dragon
0
185
Member Avatar for Jhon E

Hello everyone, I have a text file which has some values structured as below -------------------------------------- 1 2 3 4 -------------------------------------- Then i made a PHP file which can receive checkbox values (always receive 2,3 & 4) from another HTML file as below [CODE]if($_POST['Button']){ $check = $_POST['$boxname']; foreach($check as $chk ){ …

Member Avatar for Jhon E
0
182
Member Avatar for CMAUK

Hi, im fairly new to Java, learning as I go on. I have gotten to the stage that I need to read specific lines from a text file that has already been created. Lets say my text document has 30 lines, and I only want to read what is in …

Member Avatar for Ezzaral
0
465
Member Avatar for moose333

Hi Need help reading data from a file after a specific point. I need to read the data from this file into a richtextbox after the [HRData] header. This is the contents of the file I'm reading from. [CODE][Params] Version=106 Monitor=34 SMode=111111100 Date=20100926 StartTime=08:45:59.0 Length=00:33:36.6 Interval=1 Upper1=0 Lower1=0 Upper2=0 Lower2=0 …

Member Avatar for Mitja Bonca
0
167
Member Avatar for Arjun_Sarankulu

I have develop an utility for my company in which there is two file format If i browse file which is eg->ACE.T004 It gives following error [B]Error:Index and Length must refer to the location within the string Parameter name : Length[/B] Following is my code [code] using System; using System.Collections.Generic; …

Member Avatar for Momerath
0
106
Member Avatar for cousinoer5

I thought this program was as good as done, turns out, it's more broken than I thought! Right now I'm in a panic, since it's due tomorrow, and I have a few big problems with it. Problem 1: I need to either open an existing file, or a new one …

Member Avatar for cousinoer5
0
218
Member Avatar for dyla123

Hi i am wondering could anyone help me understand a file upload code. I am currently working on a website like mediafire, raipidshare and the rest of them. I have taken down codes of all sorts and some i got to work but had errors. I don't understand as i …

Member Avatar for diafol
-1
304
Member Avatar for grebote

So I've only been programming for a few weeks, and I thought that I'd learn how to program by converting a rather complicated baseball board game to a program. I'm writing a preliminary program that stores player information from a card into a random access file. My Struct holds the …

Member Avatar for grebote
0
222

The End.