6,015 Topics

Member Avatar for
Member Avatar for ravinderkadiyan

in html body <form method="get" action="MovieTiming.jsp"> <table cellspacing="0" cellpadding="0" border="2" style="width:50%; height: 400px;" bgcolor="pink"> <tr style="height:4px;"> <td id="Date" colspan="5"> Please input date (yyyymmdd)<input name="Date" type="text" size="8" maxlength="8" value="<%=date%>"></input> <button type="submit" value="Submit">Get Movies List</button> </td> <td> <button onclick=fileWrite();>save file</button> <input type="file" id="loc" name="loc" >[/B]</input> </td> </tr> <tr bgcolor="white"> <td id="output" colspan="10" …

Member Avatar for DangerDev
0
251
Member Avatar for pbosek

My VB code has macros which imports a tab seperated text file selected by user into a standard excel template(work sheet). The import to excel is done by query tables. When the text file is chosen thru dialog box and resp commnad button is pressed, the handler opens the excel …

0
66
Member Avatar for ozzie10101

This is probably a basic question I have put another hard drive into my computer, is there a program that is available for me to only move certain files over too the new hdd, rather than clone the lot or copy and paste into the hdd many thanks to anyone …

Member Avatar for mechbas
0
261
Member Avatar for new_2_java

Hi all, I want to read a properties file from the same directory as my program, e.g. my program is in C:\WorkSpage\Myprogram.java and I have a properties file called index.properties how can I read the file, without specifying a path? I have tried the following but it doesn't read the …

Member Avatar for new_2_java
0
152
Member Avatar for gus898
Member Avatar for Salem
0
55
Member Avatar for gcardonav

I have this simple program. I created a file called input.txt containing a list of names and I want to read from it. I have two versions of the program. The first one only gives me the first letter in the file and nothing else. The second one does not …

Member Avatar for Duoas
0
127
Member Avatar for kamathmahendra

Hello All, I have very basic knowledge of C and I'm trying to write a program to read a single line from an ASCII data file which has following format " 1337936.4550 6070317.1261 1427876.7852 APPROX POSITION XYZ" The problem is the position of line is not fixed. Its different in …

Member Avatar for Aia
0
221
Member Avatar for jimmy.rocks1

hi I am trying to write into a file which already has something in it. like for example i have x y z in the file and if i want to put k after x,y and z like x y z k. my code goes this way [code=c++] int main …

Member Avatar for vijayan121
0
108
Member Avatar for kux

ok, i have a question say i have a class that wraps all file accesing functions ( basicly opening, reading and closing ) all these file handling functions throw a FileException exception i have a try block in that i open, read and close my file using the above mentioned …

Member Avatar for kux
0
109
Member Avatar for Mohandsa

i have acode that upload file from client to web server but i need to insert the file name into DB (mysql) to get it in download list............HOW? this is jsp code <%@ page contentType="text/html;charset=windows-1252"%> <% response.setContentType("text/html"); response.setHeader("Cache-control","no-cache"); String err = ""; String lastFileName = ""; String contentType = request.getContentType(); …

Member Avatar for masijade
0
2K
Member Avatar for Thew

Hi, I need to resolve this problem: Is there any way, how to replace currently runned application with a new version? Like through uninstallation, when uninstall.exe is removed by itself. I have dialog with AutoUpdate in my application. It's small application so I don't want to make another autoupdate.exe file. …

Member Avatar for Thew
0
124
Member Avatar for ankita_ribose

Q:The genome of an organism is inscribed in DNA, or in some viruses RNA. The portion of the genome that codes for a protein or an RNA is referred to as a gene. Those genes that code for proteins are composed of tri-nucleotide units called codons, each coding for a …

0
60
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
111
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
30
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
33
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
115
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
82
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 fatihpiristine
0
142
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
137
Member Avatar for complete

Getting a C# program with a manifest file to run in the debugger ---------------------------------------------------------------- How do I declare a manifest file in the Visual Studio IDE for C# so that I can debug the resulting code? I have been able to add the manifest file, to the exe after I …

0
82
Member Avatar for complete

Getting a C# program with a manifest file to run in the debugger ---------------------------------------------------------------- Does anyone know how to declare Manifest Files in the Visual Studio IDE for C#? I tried the first in the "How to embed a manifest in an assembly: let me count the ways..." ([url]http://blogs.msdn.com/cheller/archive/2006/08/24/how-to-embed-a-manifest-in-an-assembly-let-me-count-the-ways.aspx[/url]) link …

0
53
Member Avatar for RohitSahni

Hi all, The scenario is like this: i have one file which contains some particular paths, now my aim is to make changes in this file so that i can change the path in that file.. eg: file1.txt: ABC -p /home/user/a/b/v23.9/library -l /home/user/a/b/ABC/v23.9 test.exe DEF -r v23.9 /c/d/f -p /home/user/a/b/v23.9/library …

Member Avatar for masijade
0
152
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
71
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
59
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
375
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
78
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
133
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
60
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
94
Member Avatar for magikman

Hello, I am trying to write something to edit a sendmail aliases file via the web. The script should have a drop down menu with the different pager numbers in it. When someone picks their number out of the list, the script should replace one entry in the aliases file. …

Member Avatar for KevinADC
0
201
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
102
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
480
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
129
Member Avatar for akshitha
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
124
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
163
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
141
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
680
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
109
Member Avatar for kehar

Hi, I have completed my project in all respect but I would like to include all table and report of Access and Crystal Report respectively in my VB 6 project SETUP FILE. So. pl help me to include such file while creating SETUP file. If there is no way than …

Member Avatar for hkdani
0
157
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
133
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
140
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
915
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
90
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
123
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
107
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
165
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
102
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
152
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
96

The End.