7,373 Topics
![]() | |
Hi im writing a function in a program that lets the user delete a specific record in a file, the user is also able to recover this record. The easiest way i found is when the record is deleted, the record will be set to deleted using bool. Then in … | |
Hi everyone I have a project that I have created in Netbeans. I would like to deploy it as a JAR file, so i have "build"'ed it and I have a jar which runs nicely in the /dist folder. Problem is, the program in question requires reading from and writing … | |
Hello every one, I am trying to login to Facebook in a programmatic way. i.e. I want to send user name and password within an http request and response. The problem I faced : Cookies are not enabled on your browser. Please adjust this in your security preferences before continuing. … | |
To find xml code from excel (My site Rank First in Google) Here i have found new way to develop xml file from excel. step 1: open MS Excel 2007 or any version Refer Fig. Copy1.jpg in attachment First create root tag and child tag refer fig. copy2.jpg step 2: … | |
Creating keyword relevant file names not only improves SEO but also helps to improve your pages in topic relevant manner. You need to create folder names with relevant keywords as well as file names. You can see well optimized file name sites ranked higher than series of numbers or meaningless … | |
[B] hi all, i am trying to open a file with application using java. i faced many problems while processing it. 1. Using Runtime.getruntime.exec(); i faced the problem. i can open a file with application in the local system(server) where i have written the program. while by using the ip … | |
[I]:icon_question: WE ARE GIVEN A TASK TO CREATE A SOFTWARE THAT CAN SHARE FILES BETWEEN TWO COMPUTERS WITHOUT USING LAN (INTERNET CONNECTION) BUT THE PRESENCE OF HARDWARE DEVICES CAN BE USED LIKE CABLE, RS232, USB TO USB OR CAN BE BLUETOOTH TO BLUETOOTH FILE SHARING. WE SEARCHED ABOUT FILE SHARING … | |
Hello DaniWeb, This is my first real assignment and am having problem with it. The program must accept a userID and pass from user. The program must also read the userID and pass from file and if it matches the one on file, the program must display success message. The … | |
Hi, i'm making a simple texteditor from VB6, and i use Visual C++ as my back end. i call a function where in I will read another text file and put it in a structure. this is the function: void loadR() { ifstream file; file.open("C:/CaseStudy/CaseStudy/Rsrvd.txt",ios::in); for (i=0; i<44; i++) { … | |
hello friend i have a text file name url.txt contain lots of url, one url in a line. now i want to get the content of each an every page which are open on the basis of those urls, here is my code: [ICODE] using System; using System.IO; using System.Net; … | |
I am adding a feature to my application that allows users to backup an entire SQL database, as well as include application settings with that backup file. My dilemma is choosing a good file extension to use. The over-used .bkp type could cause conflicts in systems that have applications that … | |
Hello Daniweb, In 3D space I have generated a path which jumps between points in a grid of 100x100x100. When simulating movement through this path, I tried making a bezier curve of the points in the path, but the results were not good enough. I googled a lot, and the … | |
Hello everyone, I have an assignment that I am working on for a class at my school. I have to write a program that will open a .txt file and read/copy the code to a string. This is probably really easy, but I guess my knowledge thus far is a … | |
Hi. I've seen this same question in another thread, but I'm actually trying to figure out how to make this work and I keep getting hung up. Here is what I'm trying to do: You are developing a database of measured meteorological data for use in weather and climate research. … | |
Hello to all, I did not know how to entitle this post,since it is more of a logical problem,but it's connected to the writing of my objects to a file. So, my server expects connections from multiple clients. The clients vote for the candidates offered to them by a menu, … | |
Hi, I'm a newbie to C++ so please be patient. I have to create program that outputs a simple moire pattern or a graph of y-values from a .csv file depending on which one is called. The code below is what I have before main and is where I am … | |
Hi! I've spent 4 hours trying to read the data from file to ArrayList and then to JTable, but still cannot solve one problem. I have the following class UserDataRow, where the data about a user is described. [CODE] public class UserDataRow { public String regnumber; public String firstname; public … | |
Hi Everyone! I have a problem with reading data from the txt file into the 2d array. In general, the above code is workable. The only thing that doesn't work is: userdata[row][j] = tokens[j]; The problem is that my array "userdata" gets values "null". However, if I replace this code … | |
I need to write a program in C that decrypts a 12 character message in the file encrypted.txt however whenever I try to open this file it comes up as null. I'm confused, I've tried different methods, the only thing I can think of is I don't have the file, … | |
Hi there...... I have received a domain from a customer which is showing me very strange things..... When I tried to login via FTP it showed me empty directory.... The server is apache and when I try to login via cpanel it gives me this error "Not Found The requested … | |
I'm having problems with the code below, it compiles but no matter what I do it doesn't open the .csv file that I want it to. The file name is passed into this funtion then it must read the values in and then print them out, simple, yet I cant … | |
First of all hello to everyone, this is my first thread!! Second, i face a problem with a website i am trying to create! I wanna use a font i downloaded by myself but noone gonna have it! So what should i inlude in my Css or Html code in … | |
I have written this code for page hits cout its working perfectly ok on my pc but when i uploaded it on my site it show error any body help me in this issue [CODE]<?php $cnt = "hits.txt"; $h = @fopen($cnt, 'r') or die("can't open file"); $x=@fread($h,10); $h1 = @fopen($cnt, … | |
OK, so I want to thank all of you that helped me with my little problems within the past few days,I have almost come to the end of this project thanks to your suggestions. Now the thing is, I used ObjectInputStream & ObjectOutputStream to write down whole objects to a … | |
Hello, I have a class that pulls account numbers from valid_accounts.txt and is supposed to take each number and put it into an array. In my driver program, I should be able to call the method of the class that pulls the information and populate it into my array created … | |
For those that want to directly execute a .class file in a command prompt window. Here is a way: Create the following batch file. Use the Windows Explorer Tools to add a commandline for the .class file: C:\BatchFiles\ExecClass.bat "%1" Give it a name like: Execute class file The batch file … | |
Hello, i done syncml project...in nokia(all models) ,samsung its work fine...but in sony ericson w395 ,i got error like file error,cannot install...how to figure out this ..please let me know its urgent..plssssssssss | |
Hi I am very new to jsp. i have an XML file stored in a txt file. I am reading that XML file using Java and placing XML content into text area in a jsp page. my requirement is, when i read the XML file into jsp page text area, … | |
[FONT=Arial Black]hai![/FONT] (1)I have problem in deleting a record from a file. I was told that the only way to delete a record from a file is to copy the file to another temporary file and then copy the records to the same file again by skipping the record that … | |
Hi, Can anybody tell me that how can i open file and write it in winform C++? i have googled alot and searched msdn but could not find appropriate help. I also tried using fstream's objects but they were declared unidentified on winform. what can i just do? what stream … | |
How do I open a .mim file? Recently, I sent an email from work to my home. The file was a Microsoft Word document. The file was sent through Internet Explorer. After downloading the file there was a prifex of .mim I only have Stuffit Deluxe from Aladdin Systems and … | |
Hi, i'm new about PHP, and i try to insert the PHP Upload script in the php mail, but somehow i don't get it to work! :) [B]this actually goes to header:[/B] [CODE]<?php if(isset($_POST['submit'])) { $errors = array(); $allowed_filetypes = array('.pdf','.zip','.rar'); $max_filesize = 52428800; $upload_path = './uploads_SS/'; $filename = $_FILES['userfile']['name']; … | |
To make a long story short here is the situation I'm in right now: I have one thread downloading a file from the web to a local file. I need the other thread to get the local file's current size AS its downloading. So, what would you guys recommend to … | |
Dear All, "Access to the path 'D:\WEBDATA\tncpsa.in\db\img_dist\xstest.jpg' is denied." this is the error i am getting when i am deleting the 'xstest.jpg' but if i upload new image then delete is possible. I got full permission for the folder still i am getting the error to delete old file.... Thanks … | |
Hello, it's been a while since I took my last programming class, and I must say I don't know how to do the following. I want to create a program that pulls data from a txt file and then lists that data. The data is simply C++ variable names, reserved … | |
Hi aLL I have got problen in uploading photo in profile. when i checked coding i found ! here is where i found this sign [B]// UPLOAD PHOTO if( $task == "upload" ) { $user->user_photo_upload("photo"); $is_error = $user->is_error; if( [COLOR="red"]![/COLOR]$is_error ) [/B] [B][B] // UPLOAD PHOTO if( $task == "upload" … | |
Mingw shows [code] ----- CurlT ( MAIN GCC DEBUG DEBUG_FULL BLITZ WIN32 ) curl.cpp C:\MyApps\CurlT\curl.cpp: In function 'void* getfile(std::string, char*)': C:\MyApps\CurlT\curl.cpp:39: warning: cannot pass objects of non-POD type 'struct std::string' through '...'; call will abort at runtime C:\MyApps\CurlT\curl.cpp: In function 'int main()': C:\MyApps\CurlT\curl.cpp:57: warning: deprecated conversion from string constant to … | |
Does anyone know how one would go about creating a "custom" file type? (Such as Macromedia Flash's .swf.. or quicktime's .mov) Also.. once I have created a custom file type... how would I make sure that my file is always associated with a given icon (that I will create).. and … | |
I wanted to share my little xml transformer tool that gets xml and xsl input visually and outputs the transformation in a third textbox again visually. i will attach the project so anyone can use it on the fly. i kind of combined the two code snippets from the following … | |
I am writing some data to a file using FileWriter and BufferedWriter. I want that while writing in the file if somebody else wants to open the file in MS Excel, it should open only in read only mode Here is a snippet of my FileWriter and BufferedWriter [CODE] while(true) … | |
So here's my situation: I have a matrix with numbers that have 3 decimal point precision and potentially any amount of numbers before the decimal point. The matrix is printed on a file in the following format. Matrix has x rows and y columns: 1.333 2.666 4.222 3.999 5.547 4.318 … | |
[COLOR="Red"]I have a problem when i am writing a content into a files as a binary format.I noticed, that it writes the content two times into the file. Here is the code.[/COLOR] [CODE] #include<iostream> #include<string> #include<fstream> using namespace std; class store { protected: char pass[50]; public: fstream file; store(); ~store(); … | |
Here is what I have to do. 1)Read integers from a file 2)If it cannot be opened, display an error message and exit the program. 3) Otherwise, read an integer from the file (there is guaranteed to be at least 1). 4) If that count is 0, display an error … | |
Hi, We have Find free Semi Automatic Submission Tool. This free semi Automatic Submission Tool Useful for Generate more Back link. www submitterbot com I Hope This Tool Helpful For You All. <snip> Thanks & Regards. | |
Hi all I have the following script 99.9% working for uploading a single image to a database - Storing the file in a folder and placing a link to the file in the database - The only problem im having now is when the image is uploaded the extension of … | |
hello all i'm using cUrl and mysql in PHP but new to c++ for connecting to remote mysql database and run query what i need? should i install mysql connector? where are mysql libraries? may i download a large file for example 400 mb in c++ using cUrl ? i … | |
I have a problem when i am writing into files in a binary format.I have noticed that, it writes two times into the file. Here i have attached the code. [CODE] #include<iostream> #include<fstream> #include<string> using namespace std; class bank { protected: char receive[20]; public: } int main() { fstream file; … | |
Hi, still very new to the C Language and just needed some Clearing up and some help please. Im writing a program where i have to read from a file that says the name of a person and 6 "lottery" numbers in this format. [ Mike Kobalt 12 15 34 … | |
Hi, I have this program that part of it is hard coded. Instead of hard coding it, I need to do a file read instead. Meaning, the hard coded part must be changed to reading the info I need from a txt file. May I know how to do that? … | |
Hi all, I have been on this now for two weeks. Very much a neewbie. Despite following Googles own instructions to the letter I just can't get the analytics cookie working on the following page: [CODE]<?php $filename = {name}; $filesize = filesize($filename); $filetype = substr($filename, -3, 3); switch($filetype) { case … |
The End.