7,373 Topics
![]() | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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] … | |
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 … | |
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" … ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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> … | |
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 … | |
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; } … | |
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; … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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")) … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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.) … | |
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 … | |
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 … | |
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 … | |
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? … | |
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 . … ![]() | |
[CODE] File file = new File(args[0]);[/CODE] what this line of code actually mean? | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … ![]() |
The End.