4,718 Topics

Member Avatar for
Member Avatar for Aashath

I have implement a desktop lookup mechanism . Indexing and retrival works fine. But when a file is updated , created or deleted i would like to get the notifaction so that i can update my index . Is there any C++ code availabe for FileSystemWatcher ( which is in …

Member Avatar for vijayan121
0
180
Member Avatar for loushou

So finally after a little waking up i fixed my write to a file in raw binary problem. Now I am trying to load the same data from the file i created. Here is the code I came up with. [CODE]#include <fstream> #include ".\vertexs.h" using namespace std; int LoadVerts(char *s_fName, …

Member Avatar for Duoas
0
120
Member Avatar for zafzal

can any one tell wat r de technique used to search a file in other node using bluetooth file sharing in mobile phone (how the searching technique or methodology used)

Member Avatar for jwenting
0
33
Member Avatar for vatzcar

Whenever I'm trying to start bind following error is showing (in webmin): [CODE]Failed to start BIND : Starting named: Error in named configuration: /etc/named.conf:3: change directory to '/var/named/chroot/var/named' failed: file not found /etc/named.conf:3: parsing failed [FAILED][/CODE] and my bind configuration is: [CODE]options { pid-file "/var/named/chroot/var/run/named/named.pid"; directory "/var/named/chroot/var/named"; auth-nxdomain no; /* …

0
39
Member Avatar for j.arevathi

Hello all, I have got a file that has the informations like this is in a tab delimited form. Chromosom_id fstart fstop Count 1 105 1 14.5 1 105 1 14.5 1 105 1 14.5 1 813 797 4 I would like to get the fstart and fstop and use …

Member Avatar for j.arevathi
0
132
Member Avatar for sarabhjeet

Actually i need to save the file's name in file menu history whenever we close the application from filemenu's exit button.Whenever i close the application from windows close button the entry is coming to file menu but when i close from file menu exit it should make an entry to …

Member Avatar for sarabhjeet
0
97
Member Avatar for kenchiro

Please help me file name and folder name when upload by by browser Folder and file name it does not array .. A B C-Z or 1-9 ..please help me to fix this problem... Really thanks the cause is when i moved to new hosting it happen like this problem …

Member Avatar for Member #210412
0
146
Member Avatar for toolmanx

I'm running AMD, XP Service Pack 1 Compiling with a .cpp extension using Borland Bcc32 I'm trying to teach myself how to use File Mapping. This is just the pertinent parts of my program. Any file can be used for lpstrFile. I'm presently using a .txt file for testing, but …

Member Avatar for toolmanx
0
147
Member Avatar for kristinoh

I want to automate the file transfer from a remote site to my pc over a WAN. Can anyone please suggest an industry standard secure file transfer tool for a windows environment? I am looking for an industry accepted, more secure than traditional FTP. Thanks!

Member Avatar for wapper12
0
115
Member Avatar for rajarp

Hi all, My directory structure is as follows [B]home /md/DEV/SCRIPTS/DAILY[/B] and [B]home/md/DEV/MIS/LANDING[/B] so this command [B]find home/md/DEV/MIS/LANDING -name MIS_Customer_\*[/B] is giving me the desired output [B]/home/md/DEV/MIS/LANDING/MIS_Customer_20080114.txt.[/B] since i dont want to hardcode the path ie)home/md/DEV i opt for relative path like [B]find ../../MIS/LANDING -name MIS_Customer_\*.[/B](since all myall my scripts are …

Member Avatar for masijade
0
107
Member Avatar for smilyswapna10

Hi, i did uploading a file with using <input type=file> but is it possible to upload file without using<input type=file> i am using PHP as server side language Thanks, swapna

Member Avatar for MidiMagic
0
81
Member Avatar for smilyswapna10

hi, i did uploading a file with using <input type=file> but is it possible to upload file without using<input type=file> i am using PHP as server side language Thanks, swap.

Member Avatar for digital-ether
0
63
Member Avatar for rajatC

hi! i want to change the icon of an exe file. And the file will be moved from computer so the icon must be embedded in the exe file...is there any way?? the exe file is a daily use application so i want to give it an icon which shows …

Member Avatar for Duoas
0
421
Member Avatar for handy7390

I am getting ready to implement a new Server 2003 (with upgrade to 2007/08) and want to have the Server or some software monitor odd activity. Such as an employee copying an entire jobs directory (3GB directory and contains everything about any particular job). This would hint to working on …

Member Avatar for DimaYasny
0
97
Member Avatar for Karkaroff

In the following code, the object is not being written into file in line 30 [ICODE]stfile.write((char*)this,sizeof(item));[/ICODE] When line 26 :[ICODE]stfile.read((char*)&ob,sizeof(item));[/ICODE] is hidden the object is written into the file. Please help!!! [CODE=C++] fstream stfile; class item { int code; char name[25]; int price; int qty; public: int getcode() { return …

Member Avatar for Karkaroff
0
147
Member Avatar for karlis.gertmani

Hi! I have an external hard drive and I was converting the file system from FAT32 to NTFS on it. That operation completed, sort of, but it came up with some odd message I cannot recollect, at the end of the process and now I cannot see the files on …

Member Avatar for reyark
0
69
Member Avatar for dotNetDummi

Hi experts, I have a problem with downloading file. Okay, my project is setup in IIS (pointing to the folder in my desktop) and my users are able to login, upload a file into the folder. However, they are not able to download the file (except me). How can I …

Member Avatar for dotNetDummi
0
101
Member Avatar for zuki

I am writing a C program to search for some keyword in a text file The following is the product, but how can I change the char *string[] = { "apple", "orange", "banana", }; to become input from file? (That means there will be one file storing keyword and the …

Member Avatar for timnfxr
0
116
Member Avatar for hashinclude

Hello, i need help on how to search for a sentence inside a txt file after opening it and then applying a condition if that sentence was found. im a beginner so i don't know how. basically i have written a program that uses system("command>file.txt") to start a command line …

Member Avatar for hashinclude
0
506
Member Avatar for Dsiembab

Good Morning, I am thinking of letting users upload files to my website. I already have a php script to allow this which will be the back-end of a flash GUI. I have made the .swf which would allow the browser to find files with only the specified file-types for …

Member Avatar for Dsiembab
0
148
Member Avatar for akshitha
Member Avatar for kv79
0
109
Member Avatar for StrikerX11

Hi, I've been trying to code a simple file sharing system in python by using Discovery server -indexer- model Server: [CODE]#!bin/python import socket import sys import os import threading from utils import serialize, deserialize, PeerInfo class NotSupportedCommand(Exception): pass class DiscoveryServer(object): '''Indexer...''' def __init__(self, port, maxPeers=5): self.port=port addr=('', self.port) self.maxPeers=maxPeers self.supportedCommands=["/register", …

Member Avatar for StrikerX11
0
142
Member Avatar for Canea

I am building my first website using a company which offers hosting services and ready css templates. I am learning the basics searching on the net and through books for newbies. Asked for help to the company customer assistance and the answer was again: ‘cannot assist you on this’. This …

Member Avatar for MidiMagic
0
175
Member Avatar for morrison

[QUOTE=Ancient Dragon;267023]You cannot write directly to an *.xls file and expect Excel to read it because *.xls files are not plain text files -- they contain a lot of formatting information that is readable only by Excel program. The easiest way to do it is to creates *.csv files which …

Member Avatar for sneekula
0
155
Member Avatar for atrusmre

How would I replace the text in a file with c#. I can write to the file, but if I write to the file a second time it appends the new data to the old rather than replace it. Here is a copy of what I'm using [code] fsFile = …

Member Avatar for DenisOxon
0
171
Member Avatar for bobei89

Please help me... after the execution of the program. It write the new information to it. However, the .txt file do not display the new information properly. (The index number stick with the name...). It is a half work program. Please help me solve this problem or else i cannot …

Member Avatar for bobei89
0
776
Member Avatar for hisoka

my windows 2000 pro has corrupt its ntoskrnl.exe, and i run recovery console hoping to fix my prob... but when i reboot, the error says "i/o disk error please ctrl alt del".... i already tried to slave my windows 2000 pro in other working computer but theres an error "drive …

Member Avatar for hughv
0
181
Member Avatar for BalaKrish

Hi All, I have to handle text files of larger sizes ranges from 10GB and more which are exported from some application softwares. The text files contains the required information scattered throughout the file. I need to gather all those information in a particular format to do further analysis. Say …

Member Avatar for BalaKrish
0
125
Member Avatar for laseredd

I have created a small program in Python that asks you if you have done something, and then logs the date, question(s) and answer(s) to a file. I thought of writing a program like this while walking to the toilet and twenty minutes later I had finished the program. I …

Member Avatar for laseredd
0
146
Member Avatar for carobee

hi, i wanted some help in File handling in C. consider i have one File like a.txt a.txt [Marks] Physics = 60 Chemistry = 80 ;Prac(25) Maths = 98 [Grade] Neatness = B Attention = A ;A+(9.5) Now suppose i have to insert new values in this file for the …

Member Avatar for ssharish2005
0
151
Member Avatar for jobs

I have a config file which includes how many files I need to create. So my program reads the config file and will create those files. Where I am stuck is I do not know before hand how many File pointers I need. I get to know quantity of files …

Member Avatar for Jishnu
0
937
Member Avatar for cheers4beer

I want to store data that will be read from and written to by two executable files. This data file will be used to store settings that are common to both executables. To keep the user from inadvertantly modifying the data file, I would like to limit its write access. …

Member Avatar for cheers4beer
0
107
Member Avatar for hellokitty88

I am reading a text file from an input file. The problem is that when I cout the text to the screen not all of the original text file is showing. The text file is large, but I was wondering if there was any way I could possibly display all …

Member Avatar for Jishnu
0
144
Member Avatar for ENG ISE student

So I'm supposed to copy the word "computer" or "computers" from the text of one file and past the word each time to the new file. It compiles but it doesnt run right. Any input would be great. [CODE]#include <iostream> #include <fstream> #include <cstring> using namespace std; int main() { …

Member Avatar for Ancient Dragon
0
124
Member Avatar for Nbkrooney

I am looking to make a small program that will cut down the repetetive need to insert BB tags in to achievements lists on a site I work for. So far I have got the algorithm sucessfully reading the first line of the file, and outputting it using cout. The …

Member Avatar for Lerner
0
171
Member Avatar for curbsideprawfet

i cant seem to get any image to work in 'preview.' whenever i try to open a picture(mainly .jpg), it says “Couldn't open the file. It may be corrupt or a file format that Preview doesn't recognize.

Member Avatar for twistedrich
0
106
Member Avatar for jobs

I need to create a program and have it create a lock file so that only one instance of the program can be run at any one time. I came across this code: [CODE=c] for (tries = 0; tries != maxtries; ++tries) { fd = open("/tmp/some.lock.file", O_WRONLY|O_CREAT|O_EXCL, 0644); if (fd …

Member Avatar for Duoas
0
178
Member Avatar for Cyb3rAssasin

Hi I need help with a project im working on im wondering if there is a way to include a file in a program. Im making a prank program that hides in the background and plays a funny wav file. Is there a way to include the wav file in …

Member Avatar for Cyb3rAssasin
0
117
Member Avatar for msaenz

Greeting I have a program take in a file and lets you add stuff to it after I add some words to it i want to count all the words in the file... I am having trouble with that ...here is my code so far. I looked up stuff online …

Member Avatar for trudge
0
127
Member Avatar for tonyaim83

Hi.. I Want to delete all files in a directory :- I tried DeleteFile(".\\ProcFiles\\*.*"); RemoveDirectory(".\\ProcFiles"); But i m not able to delete all files in a directory . I don't have any subfolder in the directory. Kindly help

Member Avatar for tonyaim83
0
242
Member Avatar for im_desperate

Hey i have to write a program that will prompt the user to write sentences and those sentences will be written until the user type "stop". i though of doing such a thing but its not doing what i want because i want each input to be on a new …

Member Avatar for im_desperate
0
151
Member Avatar for ibeast

hi well i have a program that can print wav data in a text file. Is it possible to make a wav file with the available data from the text file and play it in VB. Playing the file isn't that difficult, but i m still scratching my brains as …

Member Avatar for hkdani
0
193
Member Avatar for hidash_in

hi all, in the below code is used to open a file with its corresponding application.the file with application is opening but the data is corrupted. pls help to open the file without data corruption. advance thanks <% // fname is the file name String filePath=savefile; File f = new …

Member Avatar for masijade
0
457
Member Avatar for planktonfist

I'm wiring a program where I have a file with city, state, population size laid out as follows; 24 El Paso, TX 577415 Indianapolis, IN 783612 Detroit, MI 925051 Fort Worth, TX 567516 Los Angeles, CA 3798981 Washington, DC 570898 etc... with 24 being the number of elements in the …

Member Avatar for planktonfist
0
142
Member Avatar for doublex

hi there, i try to map a file in memory, in linux, using mmap, so that what i write in memory will be written in the file as well. the piece of code looks like this [code=c] fd = open(argv[1], O_RDWR); if (fd == -1) { error_message(__FILE__, __LINE__, "'open' failed …

Member Avatar for doublex
0
141
Member Avatar for ilikecheese

I have an output in one format that I need to basically read line by line and reformat into another file. I was originally going to try do this in Java, but Java does not have a lot of good classes for text processing. Here is an example of my …

Member Avatar for radoulov
0
122
Member Avatar for HailttRedskins

I got the coding for uploading files to my website throug a simple browse option off a page. I choose the file upload size to be 150mb, but it wont allow anything under 10mb it seems. I am real good friends with my host, he told me something like, it …

Member Avatar for Dsiembab
0
179
Member Avatar for klrdn

I copied qbasic.exe and qbasic.hlp (no way to tell the version ?) from my Dos 6 Install floppy into a folder. Qbasic.exe executes ok either from within or outside the folder, but can't access its help file. I used the qbasic options 'help path' tab to enter the correct path …

Member Avatar for klrdn
1
536
Member Avatar for cs_tx_usa

How could we implement the code if I want to read a grayscale image file into two dimensional byte array? Since we don't always know the number of rows and columns binary file has beforehand, how can I read that into 2-D array? A grayscale image is single band image …

Member Avatar for Member #46692
0
255
Member Avatar for tootypegs

Hi, basically i want to parse an image of a small FAT SD memory card that i have aqquired to display its directory structure. Ive tried scowering the web for some information or resources to study but i cn't find anything. Does anyone know of any info available to allow …

Member Avatar for tootypegs
0
102

The End.