7,373 Topics

Member Avatar for
Member Avatar for DdoubleD

My effort to retrieve favicon.ico sometimes fails even though it is found. It fails when attempting to convert the stream into a BMP or an Image using FromStream(), with the ArgumentException, or Parameter Invalid. I've tried all kinds of things to manipulate this and I guess I don't know what …

Member Avatar for DdoubleD
0
174
Member Avatar for FJones

I have been trying this for days now and I am not even sure if I am going about this right. I've got errors errors errors everywhere. What I am trying to do is write a windows app that maintains a contact book that can hold up to 20 entries. …

Member Avatar for DdoubleD
0
219
Member Avatar for vb89

I'm trying to create a validation program which entails throwing everything in a csv file that i have into array and then looping through it and doing a comparison. Here is some of my preexisting code which currently finds the name of a file that I want to do a …

Member Avatar for sknake
0
111
Member Avatar for Nogat21

Hey All, i'm doing this project in c++ consisting in reading an mp3 file and extracting the informations within it. Thing is i'm starting to be pissed by this persistent error that stops me from test the code. This error is, as far as my (limited) knowledge goes, caused by …

Member Avatar for Nogat21
0
182
Member Avatar for jko2326

This program is from the collopy book. I just had to type it in and create a text file so it would compile correctly for a class assignment which I did. But the very last record will not be shown when i compile. This is what is in the txt …

Member Avatar for jko2326
0
137
Member Avatar for SteboCSC

I'm trying to create a tcp server and tcp client using sockets. I'm new to VB and could use some help. I have the file transfer part working but, I'm running into an issue. Every time I transfer a file remotely the file size changes, leaving the file unusable. Can …

0
59
Member Avatar for mangel.murti

hi all, i have problem i am fetching meta data information of web page so that on the basis of those information i can put search option to my site.i have populate.php which fetch metadata and store relevant information in mysql. but when i am running populate.php it's giving me …

0
92
Member Avatar for agent154

I'm writing a program to convert one image type (for example, png or gif, or tif) to a jpg. What I want to do is to feed the file name into the program via the console, and it will spit out the converted image. How can I make sure that …

Member Avatar for DdoubleD
0
509
Member Avatar for lotrsimp12345

word is a private variable. MAin [code] #include <iostream> #include "FrameThePhrase.h" using namespace std; int main() { Frame_The_Phrase frame; char in; ifstream input; bool a=true; bool b=true; bool c=true; string length; while(b==true) { cout<<"to quit type 'q'\n" <<"enter 'c' to get from console\n" <<"enter 'f' to get from file\n"; cin>>in; …

Member Avatar for lotrsimp12345
0
158
Member Avatar for jitender.ind

Hi, I'm having a very strange problem. I use lampp on centOS linux. My application has a upload Script (in PHP) which uploads file to file system. after upload and moving file to correct location, uploaded files are getting deleted. I check file upload and moving of file by putting …

Member Avatar for FlashCreations
0
199
Member Avatar for sara khan

Hello..,, I have read about a function used in file handling named as "peek". If anyone knows about this function then plz tell me.....

Member Avatar for VernonDozier
0
217
Member Avatar for smoore

Okay so when I open a file and I would like to pickle something to the file you are supposed to open the file in 'rb' (read binary) mode to load stuff from it. If you want to dump something the file is supposed to be in 'wb' (write binary) …

Member Avatar for jlm699
0
149
Member Avatar for Chris Ichikawa

Hello, everyone. Can someone explain to me on how to read a .mdf file (the SQL Server 2005 Express kind)? I have a Java IDE (JCreator) and the JDBC (SQL Server 2005 Express compatible) installed into this computer. Right now, I'm using this: [CODE]Connection c = java.sql.DriverManager.getConnection("jdbc:sqlserver://localhost\\SQLEXPRESS;DatabaseName=qsscsdb;IntegratedSecurity=True");[/CODE] to read the …

0
68
Member Avatar for ranialexander

Hi all I am facing a problem in posting some values to an asp file from an aspx. From my shopping cart project coded in aspx I have to post some values to an asp file. Code in the aspx file it is written as, [code] strParam = "mrfnbr=" + …

0
34
Member Avatar for slacke

I have lots of Drytek > Vigor 2700,2800 routers on the public net. I manage this networks and since this type of routers has Log support I write an application on my linux box to collect those logs. The routers are sending UDP datagrams to a configurable address and port. …

Member Avatar for slacke
0
211
Member Avatar for FJones

Here is the problem: Write a C# program that will read five scores, each on a separate line, from an external file named Unit09data.txt. Your program should then calculate the average of those scores and write the average, formatted to two decimal places in a different external file named output.txt. …

Member Avatar for FJones
0
161
Member Avatar for goody11

Hey, I'm trying to load a bunch of words and setting them as my text but I they aren't setting for some reason. Here is the code: [code] #include "windows.h" #include "resource.h" #include <fstream> #include <vector> #include <cstring> #include <new> using namespace std; HWND hwndGoto = NULL; HWND hwndGoto2 = …

Member Avatar for Ancient Dragon
0
105
Member Avatar for mozan

i have a file sharing script. here is its demo and ther is also zip file of 3 MB in latest uploade [url]http://xtrafile.com/xu/[/url] i want some change in this script i want more then two pages should be displayed to download file one vil only give file information include a …

0
59
Member Avatar for v2v3

Hi, I'm trying to execute a script and I get the following php error: [CODE] Warning: require(/var/wkscript/www/admin/inc/config.inc.php) [function.require]: failed to open stream: No such file or directory in /var/wkscript/www/school/phphomework/admin/RunFirst.php on line 16 Fatal error: require() [function.require]: Failed opening required '/var/wkscript/www/admin/inc/config.inc.php' (include_path='.:/usr/lib/php') in /var/wkscript/www/school/phphomework/admin/RunFirst.php on line 16[/CODE] What could be the …

Member Avatar for ShawnCplus
0
67
Member Avatar for spalax

Hi, i'm trying to read a simple email file from a folder in my computer. I find this code but, it's not working. i didn't understand theses lines: what should i write for mail.host? what should i write for "mail.transport.protocol", "smtp"? props.put("mail.host", "smtp.gmail.com"); props.put("mail.transport.protocol", "smtp"); [CODE] import java.util.*; import java.io.*; …

Member Avatar for spalax
0
3K
Member Avatar for Lfmoncur

Hi, I have a problem with a program that shows the contents of a file, but when it process the data to figure out the sum, max, min and average, that values are wrong. Any ideas? Thanks Liam [code]// CO1401 Reassessment 2008/9 //Liam Moncur BSc Computer Networking #include <iostream> #include …

Member Avatar for Salem
0
121
Member Avatar for sophie_kiu

question 1 : I know that c++ could write/ read excel file by changing it into csv format. however, if the content of a cell has a "," inside, then we may have problem when we are reading it as the content may be split into two parts. So how …

Member Avatar for Frederick2
0
577
Member Avatar for TolucaDiablo

Hello Everyone, I'm new to flash and actionscript 3. I just purchased a flash file that is driven by as3. I don't know how to embed it to my webstore's main page. Any help would be greatly appreciated. Here is the description of the files I received with my purchase: …

Member Avatar for rajarajan2017
-1
247
Member Avatar for dalj

I'm working on a simple program to analyse some data and I'm having trouble making multiple passes over my file. I've been trying to do something along the lines of for(n=0;n<Nmax;n++){ while (! inFile.eof() ){ crap done here; }; }; however it won't do more than one pass over the …

Member Avatar for dalj
0
85
Member Avatar for umair125
Member Avatar for Nathan Campos

Hello, I'm learning C++ and i want to know how i can develop a program that reads a file like a database, but the program don't know how many lines or columns the file have, and the file is like this: [CODE]"Name Test" "1901" "email@test.com" "John Google" "6673" "john@test.com"[/CODE] And …

Member Avatar for Nathan Campos
0
101
Member Avatar for majestic0110

Hi all, I hope you are well. I am in the process of building a small Java application that reads data in from a unicode text file (.txt) and processes it into a jTextArea. The trouble I am having is that the unicode file contains some Greek characters, most of …

Member Avatar for majestic0110
0
232
Member Avatar for eagle143143

I can type any address is address bar and go there but when I type the facebook address IE shuts down... here is the hijack this info: Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 7:44:59 AM, on 6/21/2009 Platform: Windows XP SP3 (WinNT 5.01.2600) MSIE: Internet Explorer v7.00 …

Member Avatar for lolohobo
0
226
Member Avatar for KimJack

Hi, I really hope that someone can give me a little advice. I am working on a program that reads a text file formatted as follows: Bike, Schwinn, 45.00 Car, Mercedes, 98,000 ... I am writing a program that will read this text file and write each item in a …

Member Avatar for KirkPatrick
0
124
Member Avatar for etm9413

Hi, I am new to this Forum and I hope my question is not out of scope. The following 4 lines of C# code allow me output specific fields from my XML to an HTML file (result.html). The code works fine when I have an XML file (sample1.xml) and an …

Member Avatar for etm9413
0
152
Member Avatar for nrobidoux

I'm trying to figure out how to attach a class with pure virtual <</>> operators to other classes for the purpose of saving/loading the application state. So I started off with: [CODE]class IWriteable { public: IWriteable(): pCls(NULL) {} IWriteable(void *p): pCls(p) {} virtual ostream& operator << (const void * &p) …

Member Avatar for nrobidoux
0
132
Member Avatar for love_dude1984

hi, im building an app where im tryin to upload an image to my database through file upload dialog box. my problem is, when i select a file thru the Fileupload dialog and save the path to a string variable n try to save it, the app takes the connectionstring …

Member Avatar for kvprajapati
0
110
Member Avatar for kylephillipsftw

I've read through a couple of threads about this virus, as I myself somehow just got it, and most of them have varied solutions. So I decided to create my own thread about mine. McAfee fails to quarantine or remove it, of course. I ran HijackThis, here are the results: …

Member Avatar for jholland1964
0
262
Member Avatar for Defaye

Ok I need help with this structure its now been split into header and main, I have added a function which runs after adding a new customer which is for writing it to a txt file, the program builds fine but once it gets to the part where it needs …

Member Avatar for Hiroshe
0
152
Member Avatar for arvindikchari

Hello I have a ticket helpdesk script that I am converting to make it completely skinnable. For this, there is a file called header.php which includes the link to a css file. The code is below [code] <link rel="stylesheet" href="<?php print $GLOBALS["URL"];?>/templates/gothica/aquarius.css" type="text/css" /> [/code] I want that the path …

Member Avatar for diafol
0
154
Member Avatar for Smoking Bros

Hi everyone! I'm totally new at C++ but quite good at Java. I know the syntax basics and that kind of stuff in C++ but when it comes to using .h files in my .ccp programs I'm totally on bare bottom. I use Dev-C++ 4.9.9.2 to compile my C++ programming. …

Member Avatar for mrnutty
0
509
Member Avatar for ishamputra

im having difficulties, pls advise... 1) filtering my FileUpload to only .txt file 2) read .txt file and bind to gridview, the text file contains e.g. 1234; 9584; 2384; i want to bind it to my gridview which have just one column Please Advise...with c# codes. thanks

Member Avatar for kvprajapati
0
311
Member Avatar for penguin22

i need help trying to open an .exe file then opening a file in said exe program i.e i wanna open a file in flash after opening flash. so far i can open the exe file with no problem but from there I'm stuck. this is what i have [code] …

Member Avatar for sravan953
0
146
Member Avatar for arunplr

Hai , For that last two hours i have been troubling with a problem. I want to get the modified date of a text file. i wrote a sample program , worked fine. But when i attached this program as a function to my actual application , it shows the …

0
46
Member Avatar for wesduncan

Okay first post here, and I'm running into a problem. What I would like to do is read in files and have the user enter in the measurement they're looking for. This is what I have so far. [code=c]// switch.cpp : Defines the entry point for the console application. // …

Member Avatar for WaltP
0
98
Member Avatar for goody11

Ok, I've tried literally over 100 things and still can't figure this out. I want to add strings that I've loaded from a text file to a list box. Here is my coding: [code=cplusplus] vector<string> spnV; //this is a global variable BOOL LoadTextFileToEdit(LPCTSTR pszFileName) { ifstream inStream(pszFileName); if(!(inStream.is_open())) { MessageBox(NULL, …

Member Avatar for goody11
0
699
Member Avatar for akindo

Hi guys, I am trying to use the Python logging API to log only to a file. The code below logs to only a file if I have it at the beginning of my class, right beneath the "class ..." line. If, however, I put it inside a method, it …

Member Avatar for akindo
0
3K
Member Avatar for Shaitan00

I'm having an odd problem writing some template classes and placing the implementation in a separate .CPP file - specifically I keep getting the following errors: Error 1 error C2143: syntax error : missing ';' before 'List<T>::begin' Error 2 error C4430: missing type specifier - int assumed. Note: C++ does …

Member Avatar for Tom Gunn
0
357
Member Avatar for spalax

Hi all, i'm trying to get a specific line in a text from a text file. In fact i want to read just the eight first line from my text file. It's only return the four first line. why? here is my code but, there is Format problem. [CODE]import java.io.*; …

Member Avatar for sneaker
0
289
Member Avatar for 68thorby68

After many frustrating hours and web searching I cannot figure out why the move_uploaded_file is appending the names of already already created files to the name of new files. As you will be able to tell from my code I an pretty new to PHP. However, I have a pretty …

Member Avatar for 68thorby68
0
235
Member Avatar for agent154

I'm trying to figure out why the regexp "[A-Za-z0-9\-]+\.jpg|jpeg|gif|png" only seems to find "gif" when I run it on the source of an html file.. For example: I have the following code [code=c#] string URL = "http://www.google.ca"; string re = @"[A-Za-z0-9\-]+\.jpg|jpeg|gif|png"; WebClient wc = new WebClient(); Stream data = wc.OpenRead(URL); …

Member Avatar for agent154
0
131
Member Avatar for Poab9200

Aside from many projects I'm working on to learn more about general programming and this language it self. I was wondering how do programmers create "program specific files". Examples: Microsoft Word has .doc type files. Adobe Acrobat Reader has .pdf files. Photoshop has .psd files. On a current project I'm …

Member Avatar for Poab9200
0
125
Member Avatar for spursfc

Hi, I wrote a program to read from one file and then process data and out put to another file, it all works okay but what I am wondering is that my source file will have a different name all the time, but it will always be the same file …

Member Avatar for SeeTheLite
0
92
Member Avatar for shahbaz5144842

hi all there ! I have problem with java file object that when ever i want to delete a file from the server i have check whether its exist or not for this i get fileObject.getAbsolute path but it return me wrong path but i get path from db a …

Member Avatar for shahbaz5144842
0
283
Member Avatar for guyod

Hi, i was wondering what would be the best way of reading a single line from a text file? For example, i have a file that contains the following data: dog cat bird deer How can i read the 3rd line of the file? I was thinking that i would …

Member Avatar for ~s.o.s~
0
115

The End.