7,373 Topics

Member Avatar for
Member Avatar for WaltP

I (hopefully) can get the normal file displays to show in LIST mode but I see no way to get [I]Save File[/I] or [I]Open File[/I] lists out of Details mode. Any ideas?

Member Avatar for jRADD
0
183
Member Avatar for teppel

Hi all, I kind of new in C++ and my assignment require me to do some encryption on data. Found the AES file online can anyhow guide me how to use it ? Because when i compile the test.cpp it keep giving me exception not match error. And btw how …

Member Avatar for pseudorandom21
0
512
Member Avatar for bensewards

The question is: A file contains a list of names in the form: Jones, Frederick M Brennan, Claire Your program should alphabetize the list. Use the C++ string class. Also, extract names from the input stream with getline(). What i know so far: main() should declare a char array and …

Member Avatar for ravenous
0
202
Member Avatar for Asen

I generate my xml into "variable string str" by using "dataset.GetXml" and then I write the "xml which is contained in variable str" into "file.xml" by using "sFile.WriteLine(str) while 'sFile' is a stream reader" My reason for using 'writeline' instead of 'dataset.WriteXml' because I need to encrypt the 'xml stored …

Member Avatar for Asen
0
196
Member Avatar for bleedsgreen33

My professor has working with very large number. We bring them into our project through a file stream (.txt). I get the MATH behind using 3 arrays to add, subtract, and store the sum of the numbers. I get that you can do a "x-'0'" to convert the char to …

Member Avatar for bleedsgreen33
0
176
Member Avatar for shiv0013

i have written a file transfer program through multicast. i will send the file size and start transferring by dividing the file into packets. i will calculate the bytes received and compare it with the file size. in this case it works fine. but if there is any packet loss …

Member Avatar for shiv0013
0
63
Member Avatar for coervivekmca

i am having access denied error while uploading resume to server ?now wht to do ... i am sending u code .is there any requiremet to add jar file and where to put it in web directoty .ex.u can see [url]www.reeenovo.com/index.jsp[/url] plz help me..regarding the same

Member Avatar for shivarocks
0
85
Member Avatar for silentbang

I want to get the error output from compiling a C++ file using shellscript. When I pass argument to shellscript , for ex: argument is the name of the .cpp file : data.cpp, and that argument seems only be able to deal with "echo" but not with g++ as: [CODE] …

Member Avatar for silentbang
0
154
Member Avatar for boshu

Hi all, Once again I would like to seek your help. I got one file (test.hrh) with a number of flags. Some falgs are defined (#define), some not (#undef). I got another file which a flag list which should be added to the file if not there, and if exists …

Member Avatar for k_manimuthu
0
1K
Member Avatar for paullanesra

Hi, I am having a problem with my file upload. I have a folder with my fileform.html and upload_file.php and a folder "upload" where my uploaded file stored. This is the body of my fileform.php: [CODE]<form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file" /> <br /> <input type="submit" …

Member Avatar for diafol
0
172
Member Avatar for EyePudding

I need lots of help here. I have a list of computers in a text file and I want to remotely query those computers (using reg query) and then have three different outputs to a text file depending on the result...for example: 1. If the registry key exists, output to …

Member Avatar for RDSchaefer
0
108
Member Avatar for caswimmer2011

Hi, I have a program that uses JButtons (under ActionEvent e) and the user clicks a button and it brings up the appropriate text file associated with that name. I have the files on a flash drive but every time i transfer the files to different computer and want to …

Member Avatar for caswimmer2011
0
156
Member Avatar for ans2007kumar

I need help i got a text file(txt) with values separated with comma like this "0C060000","SKILL_CH_WATER_CURE_C_05","Force Cure - Condiion",1000,2100,63,359 "0D060000","SKILL_CH_WATER_CURE_C_06","Force Cure - Condiion",1000,2100,63,398 "0E060000","SKILL_CH_WATER_HEAL_A_02","Heal - Medical Hand",1000,3000,424,85 array list box list Box no where txtbox, txtbox, no where i want to get each data and display in the list box …

Member Avatar for croker10
0
169
Member Avatar for realoneomer

Hello, I need help to write an output of perl script in a excel file on daily basis. I want to maintain a sheet of excel file like history data that file would contain the history output of all last runs. Although i have used perl formatting to write data …

Member Avatar for d5e5
0
586
Member Avatar for beejay321

I was wondering whats the simplest way to count and sort the elements of each array when using a set like [CODE]char list[40][30];[/CODE] theyre being brought in from a text file that would simply look something like this apples bannanas oranges grapes i would need to count each element, sort …

Member Avatar for pseudorandom21
0
178
Member Avatar for archana amith

Hi, I have a table in Oracle. Here is the table. [CODE] SQL> select * from test; SDI NAME ---------- --------------- 123 Tapas 345 PradEEp 567 Jagadish 789 Giri [/CODE] I want write this data into a CSV file. I tried this but i am not able to redirect or …

Member Avatar for debasisdas
0
116
Member Avatar for cpp_learn

Hi, I need to do the following: 1. read the text file with names and surnames 2. convert each char to int than add them 3. the number must keep adding each other until it is under 10 This is what I have so far ====================================================================== #include <iostream> #include <fstream> …

Member Avatar for jonsca
0
568
Member Avatar for front_&_center

i found this code to upload a file into a sql database using the asp.net fileupload object (or vb) i found it here [url]http://forums.asp.net/p/1480079/3451771.aspx[/url] i think it works, but i am a learning noob and have a question...where does my dbase info go in the code? [CODE] 1. If FleUpload.HasFile …

Member Avatar for Netcode
0
563
Member Avatar for srilekha nikky

Hi I want to create upload file and i want to read the same file which is uploaded in c#.net I wrote a code like this can u please check it. [code]private void btnUpload_Click(object sender, EventArgs e) { if (openFileDialog2.ShowDialog() == DialogResult.OK) { filename = openFileDialog2.FileName; txtUpload.Text = filename; } …

Member Avatar for srilekha nikky
0
270
Member Avatar for xZombeast

I made my IO exception and everything to copy a file to an existing spot and then overwrite it. I programmed the IO fine, but I get the error saying 'File in use' [CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; …

Member Avatar for rohand
0
133
Member Avatar for scorpio222

hi. i am trying to create an aspx page where i can directly upload a file from the client to the server without user intervention. I would like to do something like when the user specifies the file path in the url, that particular file must be uploaded to the …

Member Avatar for scorpio222
0
848
Member Avatar for Acute

When we send ajax request to some php file via post, we get the variables in php file from $_POST['varName'], and then send response as a text or html or JSON or whatever with echo or print. So, what if a lot of such ajax requests come simultaneously? what server …

Member Avatar for pritaeas
0
103
Member Avatar for shiningstar100

hello can someone please advise as to how can i insert tab after every word while inputting it in a file? i have to read all the lines in a file. the file has tables. there are random spaces between the words. Output is to put this table to another …

Member Avatar for richieking
0
82
Member Avatar for RenanLazarotto

Hey guys! Two questions: how can I completely wipe a file from disk with vb.net? I found a code in C#, converted it to VB.net online but didn't understand a letter. I was thinking on a wiper like CCleaner has, but for a selected files only. And, how can I …

Member Avatar for RenanLazarotto
0
573
Member Avatar for bluetoot

Hello good ITz This is my last resort,I've checked threads but saw no answer to my question,I blieve you good people will help me out This are my existing forms, i want to add a multiple file upload system to it for each user that signs up as shown below …

Member Avatar for smantscheff
-1
178
Member Avatar for prgrmmngaccnt

I have a txfile.txt file which has the following data: 3 2716 16253 7721 35149 972 2614 I am trying to read the first integer into a variable using this code: [code=c] #include <stdio.h> #include <stdlib.h> int main() { int num_cust[1]; int result; FILE *fp; if( (fp = fopen("tsfile.txt", "r")) …

Member Avatar for prgrmmngaccnt
0
162
Member Avatar for iamthesgt

Okay, we had an assignment in computer class that I have been working on for awhile but what I've got so far isn't working. It seems that it may be a compiler issue, but since I can't get to a linux compiler (what the program will be evaluated on), and …

Member Avatar for iamthesgt
0
173
Member Avatar for pritesh2010

How to recover data from .ibd file if innodb is corrupted I have one test database and many table with the extension of .frm and .idb file. from frm file i got strucure of database but how to restore data from individiual file of .idb file.

Member Avatar for mwasif
0
481
Member Avatar for Buppy

Hi, I have a file index.php with script on a link, which opens new window with myfile.php, using JS window.open method. The page itself is based on PHP. What i need to do is to prevent direct access to that JS popup window file. For example, if i press a …

Member Avatar for Buppy
0
231
Member Avatar for paramveer

HEllo Everybody..... feels nice to be part of daniweb..community..joined only today...... i am quite ignorant of XML.....but now i have to develop a c/c++ program which reads a XML file......stored on LAN.....retreives the content of the file...and do necesarry manipulation with the retreived data......actually the xml file contains the name …

Member Avatar for giskumar
0
3K
Member Avatar for 5ophie2012

For my assignment, I have to read a text file one character at a time and display it in the console. Here's my code for this: [CODE]class TEXT { static StreamReader reader; static void Main() { int ch, characters = 0; // file that is being read in and displayed …

Member Avatar for 5ophie2012
0
180
Member Avatar for triumphost

Hi Everyone, Im using visual studio 2010 windows form application. I created a windows form application to add and remove files to a directory on the click of the button1. The problem is that when I put it on a different computer, it can never find those files.. Its supposed …

Member Avatar for triumphost
0
189
Member Avatar for madtorahtut

Greetings everyone, I was looking for some help in creating a seemingly simply backup script. I have two servers, laid out in the same format: Server A: the directories contain all the iterations of a certain type of file Server B: the directories contain only the most recent file. The …

Member Avatar for JeoSaurus
0
149
Member Avatar for GDICommander

Hello! I need help to construct a regular expression in Python that will help me get the file name of a include directive in C++. I think that regular expressions are a good way to solve this problem, but I'm open to new ideas. Consider these following includes: [CODE] #include …

Member Avatar for GDICommander
0
315
Member Avatar for hanslim77

Other than the usual [CODE]AudioInputStream stream = AudioSystem.getAudioInputStream(ClassLoader.getSystemClassLoader().getResource("____.wav")); DataLine.Info info = new DataLine.Info(Clip.class, stream.getFormat()); Clip clip = (Clip) AudioSystem.getLine(info); clip.open(stream); clip.start();[/CODE] Since the buffer limit is 2mb for an UNCOMPRESSED wav file so... it's pretty obvious how crappy that is... and that's about all I found on the net since …

Member Avatar for stultuske
0
323
Member Avatar for 5ophie2012

Once again, I'm having trouble on my next assignment for class. This is what I have to do: Read and process a text file one character at a time: 1.) output the file to the screen one character at a time (as a char) as the file is read. 2.) …

Member Avatar for Ketsuekiame
0
2K
Member Avatar for singhabsk

Good morning all, i have a text file contains following data..... sec TID ATTRIBUTE 69013 1-3039-1 REGISTER 69013 1-3039-1 100 69013 1-3039-1 401 69013 1-3039-2 REGISTER 69013 1-3039-2 100 69013 2-3039-1 REGISTER 69013 3-3039-1 REGISTER 69013 4-3039-1 REGISTER 69013 1-3039-2 200 69013 2-3039-1 100 69013 2-3039-1 401 .................. .................. 69023 …

Member Avatar for singhabsk
0
171
Member Avatar for lisako

Hello everybody! I’m new to C++. Need some help. I am trying to prompt the user to enter the file name. File itself includes list of 5 emails. After user enters the file name, program should check the list of emails and output all emails that have wrong email format …

Member Avatar for jonsca
0
325
Member Avatar for mmmerlin

Hi, I'm writing a scientific application that has to store a large (1GB to 500GB+) amount of data on a hard drive, and then, once written, read it back sequentially to process it. The amount of data for a particular experiment is known in advance, exact to the byte. When …

Member Avatar for mmmerlin
0
519
Member Avatar for biancaW

I have this question. could anyone help me how to write C++ code for it: A bank account starts out with $10,000. Interest is compounded monthly at 6% per year (0.5% per month). Every month, $500 is withdrawn to meet college expenses. After how many years is the account depleted? …

Member Avatar for jonsca
0
2K
Member Avatar for mrexp21

Hello , I would like to modify this script a bit . It is a video upload script for my site . The php content contains all the neccessary fields and upload via browse files only . I would like to make it another optional such as remote/url upload . …

Member Avatar for diafol
0
262
Member Avatar for stephy1
Member Avatar for stephy1
0
375
Member Avatar for Allen 0108

I am working thru the Wrox book: [U]Beginning Programming[/U], and need some advice on getting a simple program to compile. I have Vista and use the free Borland C++ compiler. After entering in a simple C++ code, I was not able to get it to compile. When I attempted to …

Member Avatar for smTaqi
0
3K
Member Avatar for vivek4020

[B]Hi Guys. I am working on my mini project(Intel 8085 Simulator) I am faced with a huge problem How do i store the instruction set?? What i am doing currently is i have made a structure[/B] [CODE]<Serializable()> _ Public Structure inTab Dim iName As String Dim iLen As Integer Dim …

Member Avatar for pr@+#!
0
124
Member Avatar for sj5536

hi, i have to read value from text file. but the problem is that text file is in the following formate vlaue1 valu2 valu3 vlaue4 value no value7 no value no = there is no value between column i have to take those value from text file and put in …

0
62
Member Avatar for ytrewq1

Hi, I have generated an array of random numbers and I'm trying to then write this array to a .txt file but the code I have written doesn't seem to do this correctly. Any help on this would be great. Here is what I have so far: import numpy as …

Member Avatar for snippsat
0
22K
Member Avatar for uchiha203

Hi guys, I just want to ask some help I added a Download Button in every row of my Gridview. Its function is to download the Binary File of the corresponding row. Whenever i run it it gives me the error "Object reference not set to an instance of an …

Member Avatar for uchiha203
0
173
Member Avatar for gvarma123

Hi, I have a file from which I want to extract values under a particular column and store them in an array This is the file. Could anyone help me to get to read the values under the column k1. fitk2 Date: 2005-08-26 15:37:10 Study: temp2 Data file: k2tis.dft Plasma …

Member Avatar for MALINI JAGDALE
0
9K
Member Avatar for lolo1313

I am going to be burning DVD's that contain education modules for teachers. The file folders have to be in a specific order, and I can't arrange them as I need them to be seen. Every time I arrange them by topic, the move to another arrangement such as by …

Member Avatar for gerbil
0
102
Member Avatar for abhityagi85

Hi I have seen that the download softwares download a single file in multiple threads/parts/connections. I am wondering that how a single file is downloaded like this and whats the logic behind this? We can download multiple differnt files in multipple threads but how single file in many threads to …

Member Avatar for Giridaran
0
59

The End.