7,373 Topics

Member Avatar for
Member Avatar for SimonSiew

I have an query output with 200+ records in it which i am displaying 100 at a time. and i am using cfFlush to display a wait message while it s loading. (which i cant figure out how to get rid of after its loaded) my question is (and i'm …

Member Avatar for arrgh
0
271
Member Avatar for tstory28

I was following some code presented by another developer and for some reason the program is not reading the txt file that I created with the csv data. What am I doing wrong? [CODE]Option Explicit On Option Strict On Imports System Imports System.IO Public Class ConverterUpdated Dim UnitConvVal As Double …

Member Avatar for hericles
0
171
Member Avatar for jacob21

Getting below error: Warning: fopen(detail.csv) [function.fopen]: failed to open stream: No such file or directory in C:\xampp\htdocs\hindi\import_file.php on line 28 Warning: fgetcsv() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\hindi\import_file.php on line 29 Column count doesn't match value count at row 1 Need suggestions [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for karthik_ppts
0
319
Member Avatar for SilentCoder

Hey guys i am new to c++ and i was practicing read/write specific line from an ini file. My File [CODE] // browser ini file // options resolution 100 300 fullscreen 1 account "silentcoder" [/CODE] My Code [Prints out the whole configuration file since my code said to do so] …

Member Avatar for m4ster_r0shi
0
11K
Member Avatar for ibakir

a browse and submit button when pick the image and submit , the image name goes to my SQL table and the image it self that the customer pick it copied to my "upload" folder :( my problem is that i only see the image name , so my issue …

Member Avatar for diafol
0
163
Member Avatar for mic_mic

hello every one , i am working on this code for a week , but i have a problem that every time i try to debug it i receive many errors i can't understand them here is my code [CODE]/* Simple program to compute the two possible roots of a …

Member Avatar for mic_mic
0
358
Member Avatar for sirlink99

I am trying to read a custom file extension When reading a string from the file it output the correct string, however when I attempt to read an int it does not output the correct int. Here is my code: [CODE] import java.awt.event.*; import java.awt.*; import java.io.BufferedReader; import java.io.FileInputStream; import …

Member Avatar for NormR1
0
276
Member Avatar for tubby123

Guys before i post my problem , lemme say that, i HAVE gone through the previous blogs/forums on daniweb, so please dont get annoyed with this topic again. But none of them answer my question My question is, "How do you write a structure to a file and retrieve data …

Member Avatar for Narue
0
2K
Member Avatar for celestial_sea

Hello guys! i really need your help. In my program, I am reading the contents of the file. File looks like this: [CODE] 1 ART ACE APE 2 BAT BOY 3 CAT COP CUP CAP CUT [/CODE] I want to store the words in an array. one array per line. …

Member Avatar for Adak
0
146
Member Avatar for Statixs

Allright! By default .avi files being opened by vlc player. But everytime when i turn on my computer, the default goes back to winamp. File association is set to vlc, but it switches back every time when i turn off my freakin laptop. Any solutions? :)

Member Avatar for MoZo1
0
114
Member Avatar for tubby123

Hey, this one is agaain from File-handling How do you replace a word in a file with another word. The algorithm should be somewhat like this 1)Read (fgets) the entire line into a buffer. Locate the word/ position of the word. 2)From that point onwards, OVERWRITE the contents in the …

Member Avatar for Adak
0
179
Member Avatar for cesione

I just started leaning c programming, and i have been doing alright, but now am stuck with a problem, I do not know how to read information from a file in c. the file contains info like; 123456789123456789123456789123456789...and so on. i have to read the file in, and then group …

Member Avatar for Ancient Dragon
0
173
Member Avatar for ana_1234

Hey, Does anyone know how to cpy from one file and redirect to another. I know I have to use the ofstream but I'm stuck. [CODE] while (!in1.eof()) // while not end of input file { in1.getline(current, 100); // read a character from input file out1.in }[/CODE] I'm stuck. I …

Member Avatar for Narue
0
346
Member Avatar for AndreRet

I have followed every step in the My Sql forum posted - [URL="http://dev.mysql.com/tech-resources/articles/vb-blob-handling.html."]http://dev.mysql.com/tech-resources/articles/vb-blob-handling.html.[/URL] I have no problem in saving the picture file to MySql. The problem arises in retrieving the picture. I am using code as follow: - [CODE]Private Sub DataLoadPicture() On Error GoTo ErrFailed Dim cnPhoto As New ADODB.Connection …

Member Avatar for GTA_doum
0
322
Member Avatar for leo1937ca

I am using the EXAMPLE Code in the attached code example to copy a CSV file into a 2d array. The Code came with a CSV Data Example with the Filename of "Test.CSV". As the code indicates the Dimensions are handled by the Ubound parameter and the ReDim option. The …

Member Avatar for Reverend Jim
0
170
Member Avatar for wickedBlast

Hello community! My first post here. (might probably have been under c#.. filename.asp.cs) I have a web AD management project undergoing as I am currently at testing.. the interface *yay* Extent of the project; pulling a list of employees managed by Mr X. Edit specific fields. I'm building my interface …

Member Avatar for wickedBlast
0
276
Member Avatar for ana_1234

Hey I am trying to look into a text file and compare the single input by their hexadecimal digits. I am comparing two .txt documents, everything is the same but my computer keeps reading them as different. I checked the hex version of these documents and I realized that that …

Member Avatar for ana_1234
0
254
Member Avatar for sdr001

Hello, I am almost done with writing the program below. My problem is when I go to get the next line in the file, the first line works great. I am writing it in autoit and I heard it is similar to Basic so hopefully someone could help. I am …

0
92
Member Avatar for Behseini

Hi Guys, This looks a little bit silly question but I really have problem with unzipping the oracle Oracle Database 11g Release 2 downloaded files. I am trying to install oracle on my Windows Vista and according to the Oracle download webpage : [CODE]Directions 1. All files are in the …

Member Avatar for debasisdas
0
147
Member Avatar for mchin131

I have a program where it reads 2 files, one of them containing a file with customer number (int), customer name (string) and balance (double). There are 7 lines, but my program would only read the first line 7 times. This program is confusing me as to why they won't …

Member Avatar for NathanOliver
0
156
Member Avatar for tubby123

hi , getw() is used to read the next INTEGER from a filestream right ? Assume ------- My text document has the following 12 i am an 3 4 intern 5 67 Expected output --------------- Then , i expected that, on running getw() inside a while loop, it would print …

Member Avatar for rubberman
0
126
Member Avatar for EricIskhakov

Hello. I have a FileUpload control in my app, and a user chooses a file that sits on mapped network drives. now i don't want the files to actully download i only want the path to it for a link. my question is how do i get the real path …

0
117
Member Avatar for airerdem

Hi, I assigned the name of the file to string vector. I mean when I print the vector, it seems like cout<< files[0]; It prints file.txt and I want to open the file by using vector. I tried ifstream file ("files[0]"); and ifstream file (files[0]); but they did not work. …

Member Avatar for airerdem
0
94
Member Avatar for geekme

I created a test.php file in the required /var/www folder but how do I edit the file ?It says it's only a read only file.Using chmod +rwx <filename> says 'no such file'...Please help .

Member Avatar for geekme
0
137
Member Avatar for ctsmith84

I am creating an application using Microsoft.Office.Interop framework (C#) for Excel. And the issue that I am trying to figure out is whether or not I can somehow attach an existing excel file with a format template to the application? In other words, is there a way to use a …

Member Avatar for jfarrugia
0
112
Member Avatar for Rewired

After I am done installing this script I get this error: [QUOTE]????????????????????????? ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????x???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????‡??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????Ç?????????????????????????????????????????? Warning: require_once(ROOT_PATH/modules/system/models/system.class.php) [function.require-once]: failed to open stream: No such file or directory in /home/name/public_html/index.php on line 17 Fatal error: require_once() [function.require]: Failed opening required 'ROOT_PATH/modules/system/models/system.class.php' (include_path='.:/usr/lib/php') in /home/mane/public_html/index.php on line 17[/QUOTE] Here is the files requested above: …

Member Avatar for MrDJK
0
250
Member Avatar for corby

hey i am making a game and i wanted to see it as an exe file so i took the java code, creater a jar file, and then created a exe file. When the program runs on my computer it works fine, all the images load since they are on …

Member Avatar for NormR1
0
165
Member Avatar for binaryhackerman

Forgive me if this has been answered, I searched and couldn't find anything. I have several servers running on my LAN that i want to be able to access via host name instead of IP and port number (e.x. ted instead of 173.166.39.161:5000 for my ted 5000 energy monitor) because …

Member Avatar for binaryhackerman
0
269
Member Avatar for joy12

If we do the directory submission, bookmarking submissions on the same IP address websites, then is it effects to current rankings or not. Is it spaming ? Please discuss your views here. Thanks in advance.

Member Avatar for sandra500
0
194
Member Avatar for zooby

I have the following template that I am using to upload files into AMAZON S3. I'll display the template right here: [CODE]<cftry> <!---ACCESS KEY ID = SECRET ACCESS ID = BUCKET NAME = cic-audio FILE NAME = amazon_s3_test.txt---> <cfparam name="URL.step" default="view"> <cfoutput> <cfif URL.step eq "view"> <cfscript> // IMPORTANT: Set …

Member Avatar for matricol
0
270
Member Avatar for STP_Captain_Slo

Hi I have been looking all day trying to find a way to do this. I need to run a Batch file which is held on a server, the file path begins with a IP Address which DOS doesn't like. So i found the pushd command which assigns a temp …

Member Avatar for adam_k
0
286
Member Avatar for 080346

hello everybody i want to learn that how online file converters works and also want to implement it please provide me good references for it. i shall be thankful to you

Member Avatar for matricol
0
90
Member Avatar for DavidB

I am planning to change the web host of one of my web sites, and the site has a webmail service (similar to Hotmail, etc.). I recall that when I first set it up, I had to edit the MX record in the DNS file. Before I change the web …

Member Avatar for matricol
0
193
Member Avatar for WildBamaBoy

The program that uses this function is receiving files of multiple types and sizes from another PC. It has been working well but when the files' size exceeds about 100MB I run out of memory. I need to modify the receiving code so that it saves the incomplete file to …

Member Avatar for oredigger
0
156
Member Avatar for king03

Hi there guys I am looking for a way on how I can increment an object from a structure which is an integer type. the string types I have Increment well but the int types do not. it says int[int] is invalid for array subscript. The red font on my …

Member Avatar for WaltP
0
119
Member Avatar for premier213

i am problem with line 3462 ?! :@ [CODE]<?php function trigger_db_error($obj) { global $CFG; $error_arr = debug_backtrace(); $subject = 'Report bug - Sql error - {site_url}'; $content = '<u><b>Url :</b></u> {current_url} <u><b>Error File :</b></u> {file} <u><b>Error Line No :</b></u> {line} <u><b>Error Description:</b></u> {error}'; $frmobj = new FormHandler(); if(isset($CFG['site']['current_url'])) $frmobj->setEmailTemplateValue('current_url', $CFG['site']['current_url']); …

Member Avatar for diafol
-2
781
Member Avatar for king03

Guys I need help. When I am already done inputting the needed information, when it comes to outputting file stream to a notepad it stops and says "program.exe has stopped working. windows is checking for a solution" and there is a loading bar. please help i don't know what I …

Member Avatar for Arbus
0
169
Member Avatar for coervivekmca

i have stuck in a small prob but this is big for me.... i need to upload emp image with emp imformation ...txtvalue should be saved in data base and image should be save in directory ....having path name in db. i dnt knw how to use enctype=mutlpart [code] <%@page …

0
75
Member Avatar for daniweb187

Hello all, In JSP / HTML, I want to restrict the size of file being uploaded. [I]<input type="file" name="myfile"/>[/I] If the user trying to upload a file size bigger than some value say 5MB, i want to give mesage to the user. I don't want to wait till the file …

Member Avatar for daniweb187
0
100
Member Avatar for Jaklins

My php code for upload is supposed to filter out images with file extentions different than the ones below and bigger than 5 Mb. It's a normal post fileField form in html that runs this php script. It works like a charm on Firefox and Chrome, but for some reason …

Member Avatar for Jaklins
0
704
Member Avatar for masterofpuppets

Hi all, I am writing a server in Java and I have an issue which I've been working on for days now and I can't seem to find a solution. I want to upload files to the server using an HTML form. I can read the whole POST request and …

Member Avatar for masterofpuppets
0
225
Member Avatar for nibalan

I am writing a script in perl for my project. I have given a snippet of the files below start.pl contains: system("/ws/nibalan/submain.pl"); submain.pl contains: system("/ws/nibalan/submanual.pl") open(INPUT, ">/users/$login/input"); - - some writing into input file submanual.pl contains: open(INPUT, "/users/$login/input"); open(MANUALANS, ">/users/$login/manualans.pl"); - - some writing into manualans.pl file While trying to …

Member Avatar for roswell1329
0
210
Member Avatar for altarek

Hello at update form i have upload file and i want if it have value does not change I used this code to upload at insert form [CODE]$lfile = basename( $_FILES['file']['name']) ; $target_path = "files/"; $target_path = $target_path . basename( $_FILES['file']['name']); if(move_uploaded_file($_FILES['file']['tmp_name'], $target_path)) { echo"file uploaded" } else{ echo "There …

Member Avatar for nivibala
0
125
Member Avatar for airbourne

I am writing a simple shell script to automate a simple backup of a website and it's database. This is the working code: [CODE]#!/bin/bash # creates a backup of the mysql & webdata for a specific website. TODAY=`date +%A` # these variables cannot contain any spaces and must be modified …

Member Avatar for L7Sqr
0
722
Member Avatar for Xcelled194

I need to retrieve a HTML file from an external site ([url]http://example.com/page.html[/url]) and parse it. Parsing it is fine, however I can't seem to find a way to retrieve the file given this: [LIST] [*]Cannot use cURL [*]Must work on PHP 4.3.9+ [*]Must retrieve the file as a HTTP request …

Member Avatar for migcosta
0
627
Member Avatar for bleedi

Hey, I'm working on a project where we have to stream files from a server app to clients. I have it all working nicely, but we have a special client type that cannot save files to HDD, not even temporarily. I can get the byte stream from server to this …

Member Avatar for CsharpChico
0
738
Member Avatar for novice20

Hi all... I am trying to upload 4 files on a local disk, onto a remote ftp server. All of them are in the same folder(in local machine). I am using the storbinary function of ftplib. Following are the file sizes: 1-- 70 KB 2-- 60 KB 3-- 73 KB …

Member Avatar for novice20
0
118
Member Avatar for jacklegs

I need to access my browser cache specifically, the cache in Camino browser and Opera browser. I need the commands to get the cache, or any other method to obtain the cache. Thanking you in advance, I remain Mike Levinson

Member Avatar for jingda
0
435
Member Avatar for deva.v

Hi, I am creating a text file using a save file dialog and copying the path to the text box which file is used to write from vb.net. when i try to write i get an error "The process cannot access the file '....fileName.txt' because it is being used by …

Member Avatar for sandeepparekh9
0
911
Member Avatar for WildBamaBoy

If you look at a bunch of files with the Details view, file types known to Windows have a greater description of the file in the Type column. For example, .exe is an Application, .txt is a Text Document, and .cpp is C++ Source. If they are not known, Windows …

Member Avatar for WildBamaBoy
0
96

The End.