6,015 Topics
![]() | |
Hi i am open a word file 2007(.doc file) in a rich text box through open dialog box. It works fine but images and bullets are not shown in a rich text box. i want to open open word file with images and bullets in a rich text box. I … | |
Hi everyone, I'm currently working on a cross-platform project to copy data from the computer onto a USB drive quickly. [B]Main problem: EOF in the middle of the file[/B] It's going good so far, but I stumbled across a problem in my copy_file function: [CODE]int copy_file(char *source_path, char *destination_path) { … | |
![]() | I want to get the information downloaded from a file (a BMP image) into a char array. I have this function [CODE] #define _countof(x) (sizeof(x) / sizeof(x[0])) char* DownloadBytes(char* szUrl) { HINTERNET hOpen = NULL; HINTERNET hFile = NULL; char* data = (char*)""; DWORD dataSize = 0; DWORD dwBytesRead = … ![]() |
Hi, just a quick question. if i have an input file with 6 lines of data. for example(ingnore the numbers 1 to 6, they indicate the file number and is not part of the file physically) 1. Peter 3 / + - * 2. Dahne 8 + - / * … | |
Hi, I'm trying to read a file, line by line, into an arrayList, assigning a different line to each element and ensure that: 1. It's actually happening (which is the reason for the println statements) 2. that the scope of the arrayList with the string elements filled in is sufficient … | |
So, even thou I have searched throughout the forums, I couldn't get a clear answer, maybe perhaps I'm a noob @ Python. As a beginner, I don't know much about Python, and it's frustrating to search the net and not find the actual answer. So, I'm working on this project, … | |
Hi, i want to write from one file to another. i managed to get the file to write but not in the way i expected it too, there is more to the program but for now i just need to know how can i mirror one file... My input file … | |
Hello Every one ... My proplem started before a month and can't get any answer for it .. when i create a java program and need to make it an excutable file .. after done with program that contain's picture's and sound file's I converted it from .java to .jar … | |
Hi all, I'm having an "assignment" in which one criterion is : - Inserting data into an ordered sequential file without reading the entire file into RAM I don't know how to this. Could you show me how to write methods/API/code in Java, anything is fine with me. Just to … | |
I have a directory named action at the same level as my basic script. I want to include a file called Upload which is in the action directory in my script. I keep getting errors saying the script can't find my file, but my script looks identical to the book. … | |
Hello, I have done my best in trying to find a way to be able to do the following... I have a text file (data.txt) that I would like to add some info at the beginning of the file (prepend I believe, not append). From what I have gathered, "append" … | |
Hello guys. I'am trying to make my search program, so that i can load a text file and search it. I used this code for browsing and opening [CODE] Dim streamer As IO.StreamReader Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click OpenFileDialog1.ShowDialog() TextBox1.Text = OpenFileDialog1.FileName streamer … | |
I am wondering how to read a file in c... this requires some more background information before you give me something useless What I have so far: [CODE]#include <stdio.h> int main(void) { FILE *fpr,*fpw; char C; int I; fpr = fopen("cwM.dat","r"); fpw = fopen("echocwM.dat","w"); while (C != EOF) { fscanf(fpr,"%c",&C); … | |
Hi Guys! I nee d your help! I created a java program and build it and already have my jar file. What I want to know is how can I have an autorun file where the jar file automatically run. I already used this line of codes. [CODE] [autorun] open=myjava.jar … | |
Hello I have something for my scripting class I am assigned to do, I can not figure out who to do these set of instructions, I beleive i am supposed to use the tr command, he has 'cut file | tr ":" " " ' on the board. i am … | |
I'm in serious need of help getting a sound driver installed on my mother-in-law's computer! I had to reinstall Windows XP and after I did, the sound did not work. I have downloaded Intel Chipset Device Software and installed it and it says "Setup is complete." Then nothing happens and … | |
i wanted to know how to deploy a simple program that is coonected to a access database.I have tried it many times but when I try to install it says that some file is mising. How can I do it so that I dont have to copy the database from … | |
So I made a script to upload a file : [CODE]<html> <body> <form enctype="multipart/form-data" method="post"> <input type="hidden" name="MAX_FILE_SIZE" value="1000000" /> Choose a file to upload: <input name="uploaded_file" type="file" /> <input type="submit" value="Upload" /> </form> <?php include 'global.php'; //Check that we have a file if((!empty($_FILES["uploaded_file"])) && ($_FILES['uploaded_file']['error'] == 0)) { //Check … | |
I know that .bat isnt java, but I dont know were else to place this thread So ive finished my program, has sounds, images and other junk all in a folder on my desktop. as soon as you open the folder you can see the file program.java and also folders … | |
Hi everyone, I'm now nearly finished with my project which tells us to write a PASCAL program for entering the information of the employees. However, I came across a BIG problem is that I've got no idea on how to edit records in the text files or delete unwanted data … | |
hi everybody! i already know how to save in excel using openfiledialog. but what i want to happen is that when i save another file, i want it to be saved in my existing file but in a different sheet. can you guys help me? this is my code for … | |
i'm studying file processing. when i execute the second code that Reading Data from a Sequential Access File something goes wrong with it. i couldn't find what is wrong. is there anyone who can help me? [CODE] /*creating a sequential file*/ #include<stdio.h> int main() { int account; char name [30]; … | |
When i try to input this data: 11 jack 90 22 mike 99 the result will be on the attachment. [CODE]/*Create a sequential file*/ /*"w" is a made for creating a file for writing*/ /*if the file already exists, it will discard the current contents*/ /*%s stands for string is … | |
Write a program to accomplish the following tasks: 1. Generate arbitrary number of random integer numbers between [0-100] 2. Save or load the numbers from/to a text file based on user option 3. Search the generated list for an arbitrary number entered by a user 4. Use Linear and Binary … | |
![]() | Hello :) I am creating a simple client/server file sharing application which I run on same computer. Mine. :) I wish to make the client be able to get a certain file by letting user type "get filename" in the console. When they do, and the server responds, the server … |
I want to write a Tcp file transfer program , the problem is that when i send the file size and file name the client doesn't receive the as two separate packages but as a package witch contains both the file name , size and the file content. This is … | |
Hello all, I have a .zip file which is stored within a BLOB file. Using SQL Developer, how can I extract the .zip file from the BLOB in order to either open the file or store it on my local drive? I've never dealt with Zip files in BLOBS prior … | |
Hello. I've been working on this program that reads input from the user and attempts to put it in a file called profile.txt I've got it to work (I checked this by making it output the file to the terminal), and from what I can tell, it does create the … | |
Hello, I have a C file and .h file which i can easily compile on a 64 bit linux platform.( Through eclipse IDE. In the compiler option, i enable -std=c99. Now, with the same file, i want to compile it on c++ compiler. So i add extern c to the … | |
Hello, I'm a beginner at Java and trying to get to know programming and one day work my way up developing android apps. Well I was trying make this program that would read in data from a txt file like this: [img]http://i42.tinypic.com/2vvkokj.png[/img] I wanted the firstname, lastname, id# and dob … | |
Hi everyone! Here's my problem. I created a random guesser game (A school project) and then my instructor said they want them to put a hall of fame on the game. But... The problem is how do i put a hall of fame? If its saving 1 line per file. … | |
When I try to output an ASCII value to a file, it sometimes writes the wrong value. Example: [CODE] import java.io.BufferedReader; import java.io.File; import java.io.FileOutputStream; import java.io.FileReader; import java.io.PrintWriter; public class test { public static void main(String args[]){ //Supposed to: writeFile("./test.txt"); //write ASCII 147 readFile("./test.txt"); //read ASCII 147 } public … | |
I know how to attach image file to an exe. we can do it using picture box or image tool and picture property of it. now i want to know is there any method to attach mp3 file to an exe? we can use application path method. but in that … | |
Now i am tring to make a data set by creating it in separte DLL file(using VB net) the code i used in this dll fle aready workong in my form but i tried to use it by this diffrent way ,,,but no way this is the code of the … | |
[B]Hiding .exe file inside JPEG using python3[/B] Hi I would like to hide calc.exe inside the jpg and when I click to my JPEG I would like the calc.exe will execute. My python script do this 1.hide calc.exe file inside jpeg. 2.run calc.exe when I open my jpeg. [B]I will … | |
hey i want to access a variable value in another file .(without usage of extern and separate header file) . can i do it using fscanf ?? if so then how??? ![]() | |
i would like to check a size of data structure of a file in another file . how can i do so using fopen???? | |
Hello all, zoidmaster here. I have a question regarding Visual Basic and deleting lines of text from files. I'm trying to make a piece of software to manage customers who walk into a store. I got most of it written already but the problem I'm running into is deleting some … | |
hi, I am using SQL client as the database and VS 2008 standard to bild my project. i need to browse for a file and upload it to the SQL database. how can I do this ?? I have the code to browse for the file and insert to the … | |
Hi, I just have this program that needs to create a downloadable template for the excel file that will be used later in my program, now I have this templates in my server and I think that i'll just import this file first and then put it in the data … | |
My program performs a search on a specific directory and returns a list of files with specific criteria. I want the user to be able to select an item in the list and click a button and have that file open...is this possible? The first column of my list gives … | |
Hi! My project has two text file:input and output java.util.NoSuchElementException: No line foundread exception Exception in thread "main" java.lang.NullPointerException at java.io.Writer.write(Writer.java:140) at nfa2dfa.NfaToDfa.OutputFile(NfaToDfa.java:217) at nfa2dfa.Main.main(Main.java:30) I don't know what they mean?! | |
Hi Can any one tell my how can i download a file from MySql through dropdownlist What i'm trying to do is i created a dropdownlist and shows all the file name in that dropdownlist now i want user to be able to download that file when they select any … | |
Hi everyone. I'd like to ak for your help with a messed up partition (probably corrupted table as I understand it). I don't have much experience when it comes to this. Here's my problem: I have a probably corrupted disk and I wanted to create a partition avoiding the bad … | |
I have to parse different fields of PAT table in this file... the file looks like this in hex editor... 47 40 00 10 00 00 B0 0D 00 00 C3 00 00 00 01 E0 21 63 0D 38 1E ...... ....... my code is [CODE] /*parse1.c*/ [B][COLOR="Green"] #include … | |
Hello DaniWeb, it has been a while since I have asked a question here so I thought now would be a great time to do so. I am creating an application that loops through the file names of a specific directory, in this case, the System32 folder. I want the … | |
Hi I'm new to java and I have written a simple Program and everything and set up a Path variable And then I tried to compile it by changing the cd and using javac Then it asks whether javac.exe can make changes to the computer. I tapped yes and then … | |
I am working on this for hours..Your help is highly appreciated. The client will send 32 integers to the server. These 32 integers will be read from a file called DataInput.txt that is the same directory as the source of the client. I am trying to implement this delivery using … | |
![]() | We have been assigned to make a program for a bank using data file handling, as our project. I am having some trouble at this point... the last object written in the file is printed twice and I've no clue as to why. Case for display: [CODE]file.open("Records.dat", ios::in | ios::binary); … |
yahoo offline installation takes less time to install yahoo onlinewhen you download on yahoo.com.And moreover, each time you want to reinstall yahoo you will notneed to download them Features yahoo messenger 11 Easily find or invite friends from other services to come chat with you Now you can chat with … |
The End.