7,373 Topics
![]() | |
Hello all, I am having a problem in creating an image by using createImage() method when trying to load large files. FileConnection fc = (FileConnection) Connector.open("file:///" + path + "/",Connector.READ); InputStream fis = (InputStream) fc.openInputStream(); image = Image.createImage(fis); // I got the out of memory exception here. Are there any … | |
Hi folks, I'm trying to write an XMLHandler for my epos app. The XML file (which is received by a network stream) will include multiple "operations" which may include updating the product database or opening the cash drawer etc.. My sample XML file looks like this: [CODE]<paypointXML> <op> <command>opendrawer</command> </op> … | |
I have been testing a application I made, which is a simple swing interface with a checkbox. I am using custom icons for my checkbox, for checked, checked and mouse-over, unchecked, and unchecked mouse-over. I am using the eclipse IDE. Eclipse creates your application in the workspace file, so the … | |
Im a beginner to c++ after looking over this code you will be able to tell the outfile code seems to work fine no errors but any feedback will be nice the infile code is the one i have problems with [CODE] #include<iostream> #include<string> #include<fstream> using namespace std; int main() … | |
Hello everybody, ive only been learning C for about a month so please forgive me if my code is messy or unclear! I have written a simple program which creates a text file, reads from it and then writes the output backwards to another file; it seems to work apart … | |
Hi for ever can any one help me [COLOR="Red"]only give me idea[/COLOR] of this question Write a program that reads from a file list of unsorted names and sort the names automatically and then asks the user whether he/she would like to print the names in the output screen or … | |
Dear All, I have done a project in VBasic 10.0 for our product Design. Unfortunately the program was deleted while re-installing the OS. However we have managed to retrieve the files by using File Recovery software. [U]But now the .EXE file is working but the Vb program file is corrupted.[/U] … | |
Hi Guys, I want to convert .pptx/.pptm file into .ppsm file using VB6. As like we do Save as functionality in Microsoft Office PowerPoint Application. In PowerPoint, we open .pptx/.pptm files and then save as this file in .ppsm type. Now this file converted as .ppsm type and functional as … | |
Hi, I am new to python. I am working on parsing text from a smi file . I want to extract only dialogues and want to ignore the timestamps (lines starting with <SYNC) for one case, e.g. Below is part of smi file <SAMI> <HEAD> <Title>ÁŠžñÀ» ÀûŸî ÁÖŒŒ¿ä.</Title> <Style TYPE="text/css"> … | |
Hi all, I want to run .ppsm file in slideshow window using c# in web based application without opening presentaion in powerpoint. I was given anchor link like following - <a href="CD-12 Open Value Module EMEA and Latam BlackWhite.ppsm"> Open/Save </a> When I open html page in IE8 and click … | |
Could any one you help me in resolving this issue. I want to write the content to a file line by line. I have done the following in my java class. I have to append the some content into an xml file. For this I am reading an xml file … | |
Hi, Can someone please help me. I am getting error: The process cannot access the file 'c:\reports\PaymentDetailReport.xml' because it is being used by another process. in following function. This method is suppose to be called couple of times. but at second time, it throws the error. I have even closed … | |
my code so far...... [code=cplusplus] // ProjectDevelopment.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> // This libary allows standard input and output operations. #include <string> // strings are used as tempory storage - for the input to a text based file #include <vector> … | |
Ok what i'm trying to do in this program is first create an empty binary file of size 31 records. Records includes studid & gpa. and then I insert valid record into the binary file with h(k) = key% 29..and then read this binary file sequentially and write the records … | |
i may already have asked a similar question to this but my brain is so fried with this problem. i have to read two csv files, entering the data contained into a map and a list. the first method readInTasks() works fine, reads the file and enters the data into … | |
Hi everyone, I get stuck with this homework. May be someone here can help me. I must combine two txt file, line by line. My first datafile contain 1 column, contain float numbers and the other contain many columns, also float numbers (Here i attached both the txt files). For … | |
Can anyone put a quick patch on this script I want it to send the email even if a file does not exist right now I get an error if I try to send it with no file [CODE]<%@ Page Language="C#" %> <%@ Import Namespace="System.Web.Mail" %> <%@ Import Namespace="System.IO" %> … | |
[B]What would be the best way of doing this?..... [/B] I have a text file containing a list of music songs that shows the artist, song title & song duration. So I'm writing a program that opens the text file & reads the duration of each song, adds each song … | |
hello all i am now about ready to pull my hair out and/or possibly worse! i have to read a .csv file, split the 3 elements into variables and then put two of the variables into a map. i can read the file fine, i can display the variables in … | |
hii ppl... i want to open an excel file stored in c:\ drive. i have a link in JSP file. i want to open the excel file when a user clicks on link. the problem is while running the application on server, i m not able to open the any … | |
Alright i am trying to read from a file so that it opens into the array temp_array. the idea is to have the data previously added to the file open into the array so i can search it and sort it this is giving me alot of stress it is … | |
when excecuted it gives an error 424 object required what i intend to do is download a pdf file to a location in my pc [code= vb]DoEvents If DownloadFile(ie3.locationurl, App.Path) Then MsgBox "Download Complete", _ vbOKOnly Or vbInformation, _ "Done" End If ' Download a file. Return True if we … | |
we have static ip address. i need code(vb.net) to send and receive a file from static ip. is it possible in vb.net? if it is possible, what are the basic things are required for it.How to transfer files? Please help me. thanks in advance. | |
I was tring to help my friend with his computer. I cant open the new downloaded security software, cant open Internet Exploreer, and now it says Security Center Alert Win32.Brontok? Any help would be greatly appreciated. Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 9:02:54 AM, on 5/23/2009 Platform: … | |
Hello, I am happy to find this forum. I was trying to read a file to matrix matice. The input file looks like this: 7 1 4 5 6 9 3 2 2 0 7 6 8 6 1 2 4 2 9 1 7 2 3 8 [code=c++] #include … | |
Hi This is my ldif file: dn: cn=Manager,dc=test,dc=com dc: test description: This is my Wonderful company as much text as you want to put in this line upto 32 K objectClass: top objectClass: dcObject objectClass: person objectClass: organization objectClass: inetOrgPerson #First Level Hierarchy dn: cn=Manager,ou=people,dc=test,dc=com dc: test ou: people description: … | |
I've got to write an application in C which can take an input file containing RISC instructions and then output (both to screen and an output file) the encoded version of these instructions. I will be working with the following op-classes: 0 1A 2A 2B 2C 3A 3B 3C 3D … | |
Can anyone help me fix these?Program displaying and writing symbols to my file... And also after calculating GPA , when choose function read or display all it is illustrated as null....help plz [code=cplusplus] # include <stdio.h> # include <string.h> # include <iostream> # include <fstream> #include <stdlib.h> using namespace std; … | |
I working on a personal project of mine and got stuck. The program is a simple quiz in which the user answers some questions, and their results are saved into a text file. Reading and writing to text files is easy so I don't need help with that. On my … | |
Hi, I call a vbscript file from my batch file. I need to pass a variable from this vbscript file to batch file. can anyone please let me now how to do this. batch file looks like this cmd.bat ------------ @ECHO OFF cscript "D:\samp.vbs " isql -S sername -d dbname … | |
Im trying to program a Caeser cipher that will upload a file from documents and enrypt/decrypt it. i do not know how to implement one main class containing all that and different methods in one class. i have different separate classes. can anyone pls put them together as one main … | |
[code] // s2.cpp : Defines the entry point for the console application. // Project Stage 2.cpp : Defines the entry point for the console application. /* Algorithm Menu() Choose option Create a new expense Enter the initial amount of money in bank or to add money to bank from paycheck … | |
Hello! I am rather new to c, and I am having a parsing problem. What I am trying to accomplish: I have a file filled with assignment statements such as: [CODE]var1=5 var2=80[/CODE]...etc. I want to parse through the file and then do a check to see if the variables exist … | |
I write a program in C but i have not the right to use the standard library. I want to open a file so i use an assembly procedure that i have write, open_file. Here is what i mean: At C code part:[code] int fp; int open_file(char* filename); .... fp … | |
I have to read a bin file in perl/tk. I have been able to read and open the file, but the read in file only has every other line from the original file. I am using following to open the file. my @contents; open(FILE,"example_data4.bin") or die"cant open file: $!"; @contents … | |
I try to change the icon for the application file in the debug folder. In the properties, there is no choise where you can do this but if I create a shortcut of this application file, then it is possible. Is there a method to create an icon on the … | |
Hi, I was creating a Gui for one of my classes and I hit a major bump. I am trying to take words from a text file and just display it in the text box. I know how to read files, what I don't know is how to change the … | |
I have a file format for storing text of any sort. It's a file format from a company, so I can't change it. Basically, in the beginning of the file, a series of "string starts on char#", "string length equals" values determines the "address" where a string starts and how … | |
Hi, I am trying to upload my images using my ftp folder by php code.Begining it was worked very fine.recently i shifted my domain from one server to another one server now if i am trying upload any images it storing path into database and its not uploading that image … | |
I've been working on my final paper for a class of mine, and this morning I sent it to the recycling bin and then emptied my bin! I don't know what I was thinking... I downloaded the Restoration program and I think I may have found it on there, but … | |
How to sort an xml file or a text file using gtkmm? This is the sample of the file that I want to sort. <LIST> <name> Example </name> <country> <name> Country </name> <pop> <desc> Japan </desc> <uri> 100 </uri> </pop> <pop> <desc> China </desc> <uri> 108 </uri> </pop> <pop> <desc> … | |
Alright, so i'm trying to make a type of database using file i/o where you type in a username and password and it writes it to database.txt... The issue is, i'm trying to find a correct and clean way of reading, or 'searching' for the username and password and compares … | |
hi guys im working on a project which i have almost compleated, which saves the data onto a text file (semi colon delimited ) however the second part requires me to import this file into access database by clicking a button on my projects gui, i already know how to … | |
I want to download a file from website with authentification system. Ok, maybe ill do some explanation. First of all, i open the site using webbrowser control. Then i logon, using following code: WebBrowser1.Document.DomDocument.All("uid").Value = "User" WebBrowser1.Document.DomDocument.All("pwd").Value = "Password" ButtonClick(("login"), WebBrowser1) //ButtonClick is predefined function Everything is ok, webbrowser loads … | |
i have to read input from .sql file .but that file name should be read from command line instead of cin.how to do that command? if my file t.sql ,how it would be? i tried like this but i couldnt get the output int main(int argc, char* argv[]) which file … | |
I'm having some problems with my code: [CODE] int a, b,x, c, d, cdnr ; char songname[4][3000][30]; char sok[4], avsok[30], cdtitel[4][30], r[30], i; { ifstream array2; array2.open ("array.txt"); array2 >> i; for(a=1;a<=i;a++){ array2>>cdtitel[a]; array2>>r[a]; for(b=1;b<=r[a];b++) array2>>songname[a][b]; } array2.close(); } for(a=1;a<=i;a++){ cout<<cdtitel[a]<<endl<<endl; for(b=1;b<=r[a];b++) cout<<songname[a][b]<<endl; }[/CODE] My text file: [CODE]3 AAAAAAAA 2 … | |
Hi, I've been trying to create program that can access a binary file with a vector in it without first saving it to the file. If I just try to read from the file without saving something, the vector will have information in it but when I output it to … | |
[code=language] #include <string.h> #include <stdlib.h> #include <stdio.h> /* uni() function takes an array an thier size.and it produce an array which is include unique element */ int uni(char *arr[],int size) { int unique = 0; /* The length of dst after removing duplicates */ int n=size; char *dst[n]; /* The … | |
Hello, I have a program that splits up a single .txt file into separate files (one per sales rep). The original text file has a layout that used to be printed on wide tractor feed paper. I am saving these output files as .doc's. My only problem is that, when … | |
my problem is about checking the subject related to the user a text file structure as below: username_1 password subject_1 subject_2 subject_ n username_2 password subject_1 subject_2 subject_ n username_3 password subject_1 subject_2 subject_ n . . . username_m password subject_1 subject_2 subject_ n in my problem the user will … |
The End.