6,015 Topics

Member Avatar for
Member Avatar for mayankshri

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 …

Member Avatar for thines01
0
420
Member Avatar for Graphix

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) { …

Member Avatar for Graphix
0
2K
Member Avatar for alexbnc

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 = …

Member Avatar for alexbnc
0
335
Member Avatar for skannigan

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 + - / * …

Member Avatar for Ancient Dragon
0
212
Member Avatar for Goldfinch

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 …

Member Avatar for Goldfinch
0
966
Member Avatar for Lucaci Andrew

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, …

Member Avatar for Lucaci Andrew
0
321
Member Avatar for skannigan

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 …

Member Avatar for skannigan
0
170
Member Avatar for javaa

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 …

Member Avatar for javaa
0
142
Member Avatar for tungnk1993

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 …

Member Avatar for JamesCherrill
0
724
Member Avatar for baruchM

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. …

Member Avatar for vaultdweller123
0
175
Member Avatar for fredfletcher

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" …

Member Avatar for fredfletcher
0
236
Member Avatar for Aleksej

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 …

Member Avatar for Jx_Man
0
180
Member Avatar for TMDG

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); …

Member Avatar for WaltP
0
274
Member Avatar for marsangel

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 …

Member Avatar for DavidKroukamp
0
1K
Member Avatar for geoffy0404

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 …

Member Avatar for L7Sqr
0
153
Member Avatar for wmc1956

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 …

Member Avatar for jhnjohn3
0
322
Member Avatar for tendaimare

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 …

Member Avatar for Pgmer
0
212
Member Avatar for Warl30ck

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 …

0
105
Member Avatar for scheppy

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 …

Member Avatar for DavidKroukamp
0
306
Member Avatar for cubicbox

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 …

Member Avatar for pritaeas
0
3K
Member Avatar for sigridish

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 …

Member Avatar for sigridish
0
680
Member Avatar for gynmd

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]; …

Member Avatar for nairulhadri
0
227
Member Avatar for nairulhadri

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 …

Member Avatar for WaltP
0
226
Member Avatar for ddm

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 …

Member Avatar for WaltP
0
698
Member Avatar for Ajantis

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 …

Member Avatar for NormR1
0
314
Member Avatar for predator5047

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 …

0
57
Member Avatar for kahaj

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 …

Member Avatar for debasisdas
0
156
Member Avatar for ohblahitsme

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 …

Member Avatar for ohblahitsme
0
172
Member Avatar for rebelstar

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 …

Member Avatar for rebelstar
0
281
Member Avatar for jamie6441

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 …

Member Avatar for stultuske
0
290
Member Avatar for laklaker

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. …

Member Avatar for JamesCherrill
0
471
Member Avatar for jmace

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 …

Member Avatar for JamesCherrill
0
3K
Member Avatar for weeraa

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 …

Member Avatar for weeraa
0
239
Member Avatar for wael meto

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 …

Member Avatar for Oxiegen
0
312
Member Avatar for tony75

[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 …

Member Avatar for sun_2588
0
237
Member Avatar for jatinkhandelwal

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???

Member Avatar for Mouche
0
143
Member Avatar for jatinkhandelwal

i would like to check a size of data structure of a file in another file . how can i do so using fopen????

Member Avatar for L7Sqr
0
106
Member Avatar for Dragennd

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 …

Member Avatar for Dragennd
0
2K
Member Avatar for krishnisilva

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 …

Member Avatar for LP...
0
2K
Member Avatar for jbutardo

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 …

0
145
Member Avatar for sdimantova

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 …

Member Avatar for PraDevil
0
2K
Member Avatar for shotokanpoloto

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?!

Member Avatar for NormR1
0
244
Member Avatar for Aviplo

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 …

Member Avatar for Aviplo
0
1K
Member Avatar for DarkT

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 …

Member Avatar for DarkT
0
202
Member Avatar for manojreddy1710

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 …

Member Avatar for manojreddy1710
0
593
Member Avatar for NetJunkie

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 …

Member Avatar for Reverend Jim
0
199
Member Avatar for Newjavauser1

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 …

Member Avatar for DavidKroukamp
0
208
Member Avatar for igotaquestion

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 …

Member Avatar for DavidKroukamp
0
1K
Member Avatar for Smartflight

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); …

Member Avatar for WaltP
0
558
Member Avatar for phantuyen

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 …

Member Avatar for Wondershare
0
289

The End.