6,015 Topics
![]() | |
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" … | |
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 … | |
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 … | |
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 … | |
I would like to convert DMG files to ISO. Can anyone help. I use a MacBook | |
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 … | |
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 … | |
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 … | |
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 … | |
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(); … | |
![]() | 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. … ![]() |
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 … | |
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, … | |
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) | |
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; /* … | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
c program to move the contents of one file to another | |
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", … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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() { … | |
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 … | |
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. | |
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 … | |
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 … |
The End.