1,154 Topics
![]() | |
Hello Friends, I have developed a windows application using C#, its installed on [code]C:/program files/application folder/application.exe[/code] I have not used Data base so i have used files (CSV/TXT) for storing data, there is many types of files generated by application and some application setting variables are also stored in a … | |
what is the use of [code]unix-stream("path/to/file");[/code] I can't seem to find it anywhere. | |
I want to be able to launch a program using the system command that is located in the same directory as my program, is there an easy way to do this, without having use the getpath function and store it under a variable? Thanks | |
Hi, I need wrote a script which can go to particular site and download all the wallpaper or images available there. Can any one suggest me how to start with that. I never wrote python prog before but i know python. If anyone cn give me the direction it will … | |
This article assumes you have already done the following: 1. Built, activated, and optimized your website. 2. Done all your on-page SEO 3. Verified it and listed it with Google, Bing, and Yahoo, including your sitemap. 4. Listed your site with social media sites such as Twitter, Facebook, and LinkedIn … | |
i have these two separate files: html form: [CODE]<form name="form" action="1.jsp" method="post"> <b>File Upload:</b> <input type=file name="seqFile"> <input type=submit name="submit" value="submit" > </form> [/CODE] and JSP file 1.jsp: [CODE]<%@ page language="java" import="java.io.*" errorPage="" %> <% if(request.getParameter("seqFile")!=null){ //"C:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/ROOT/test/seq.txt" String file = request.getParameter("seqFile"); FileReader testRead; testRead = new … | |
Hi all, The project I am currently working on is an Address Book which works off a csv (specification takes the mick as a database would be so much easier), the method to write the lines of information into the CSV is in the class DataLayer and takes a String: … | |
I open the Ubuntu Software Center and I search for Scribus. It shows three options and I choose one. A blank window appears. The window should, instead, give me the option to download what I chose. I am a total noob and I apologize in advance. Thanks! | |
Hello, Working on my final project for a Java Class and have become stumped on the final leg of the code. We are supposed to create a program to add a record, remove a record, display a record, and list all records. The records must be written to a file. … | |
Hi All! I got a problem with one of my files where I can't upload a file to my database. I want to save the path in the db but it gives me an error and says the "Filename cannot be empty". In my .html [CODE] Upload a profile picture(50px … ![]() | |
I have an iPhone 3g. I use the Notes app, and the Voice Memos app. I'd like to transfer the notes I have written, and memos I have recorded, to the Mac. Can this be done? The iPhone is synced (and therefore backed up) daily, so there must be backup … | |
i have to count three districts 1, 2, 3 whom said no and whom said yes, which i had saved it in notepad the three districts. i have to use the while loop. i was trying ifstream iFile; inFile.open("vote.dat") while(district1 == yes) { cout <<"the district 1 said yes: "; … | |
Hello, I need my web users to send an uploaded file along with their registration data. The form will be sent via email while at the same time, the uploaded file will be stored in a folder on my server. Take a look at the code please: [CODE] <?php if(isset($_POST['email'])) … | |
I would like to know how to use a list contain with file names returned from a function to search a directory based on that list then copy the matching files to another directory. Following is what I would like to accomplish in logical order. 1. Existing Function getPromptList() return … | |
Im having a hard time figuring out what is wrong with my program. I need to write a program that looks up a phone number in a file containing a list of names and phone numbers. The user is to input the first name and last name to look up, … ![]() | |
Hii All, i'm newbie in this forum and in php i got a problems, i was developing simple website i had 3 tables in there table request, table upload, and table feedback which in id_request is foreign key in table upload and table feedback 1. how to update the id_request … ![]() | |
From where can I download sql plus 8.0? Please help as I have to submit the project tomorrow..:scared: | |
-upload.php- [CODE]<table width="500" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"> <tr> <form action="rename.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <td> <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF"> <tr> <td><strong>Single File Upload </strong></td> </tr> <tr> <td>Select file <input name="ufile" type="file" id="ufile" size="50" /></td> </tr> <tr> <td align="center"><input type="submit" name="Submit" value="Upload" /></td> </tr> </table> </td> </form> </tr> … | |
[CODE] #include<stdio.h> #include<conio.h> #include<malloc.h> int main() { int i=0,j=0,n=0; char *a,**b; a=(char *)malloc(sizeof(char)*50); printf("Enter your text\n"); gets(a); while(a[i]!='\0') { *(b+n)=(char *)malloc(sizeof(char)*20); //error for(j=0;a[i]!=' ';i++,j++) { *(*(b+n)+j)=*(a+i); } i++; n++; } printf("Words in given text are \n"); for(i=0;i<n;i++) { puts(*(b+i)); printf("\n"); } printf("Possibile combinations are \n\n"); for(i=0;i<n;i++) { for(j=0;j<n;j++) { if(j!=i) … | |
Dear all, I have created a webpage and a SQL database runs in the background. When user enters options in the query page of my webpage, they get some tables with results. I want to provide an option to the user to download the results in tab-separated, tabular (excel) and … | |
![]() | Hello, I am currently allowing users to upload videos via php $_FILES[][] and then converting them using ffmpeg. I am wondering if there is a more efficient way to do this than using php. I have read that ajax might be useful (that's what vimeo uses). Could anyone point me … |
Learned about hook functions [URL="http://www.daniweb.com/software-development/python/threads/383164/1650339#post1650339"]for a thread[/URL] having problem with bad user input from the documentation. This is result which skips bad inputs. | |
What is wrong with this code in IE, rest of the browsers its working fine, but when it comes to IE, it gives an error popup, Access is denied. Can some one help please. [CODE] var IE = false; if (navigator.appName == "Microsoft Internet Explorer"){IE = true} if (!IE){document.captureEvents(Event.MOUSEMOVE)} document.onmousemove … | |
Hi, I want a Jquery based Ajax solution for Uploading, Cropping and Saving Images... I have been trying to find it for 3 4 days but I am only finding tutorials and solutions with postbacks when cropping images. Please help. thanks | |
![]() | New user to Daniweb in the hope i can get some help cus my brain is fried. Im relitively a n00b at php but i can handle the basics, working with images is beyond me at the moment but im learning. I have the below code, which works. it uploads … ![]() |
A few days ago I found that I was no longer able to use application functions that access (browse) the system file directory...such as the OPEN buttons...the SAVE AS function....downloading or uploading files...etc. Any ideas? Windows Vista Home Premium - 64bit - SP2 | |
0 down vote favorite share [fb] share [tw] share [in] i am working on a tiny tiny app that just uploads a file to the ftp server, i have reviewed my code but am quite unable to locate the problem, here is the code, [CODE=C]#include "stdafx.h" using namespace System; #include … | |
Please help me on this file upload. [CODE] <form id="form_2" action="files_upload.php" method="post" enctype="multipart/form-data"> <input type="hidden" name="MAX_FILE_SIZE" value="50000000"> File:<input type="file" name="file" class="input" maxlength="350"" /><br /> <input type="submit" name="submit" value="Upload File"> </form> [/CODE] [CODE]<?php if(isset($_POST['submit']) && $_FILES['file']['size'] > 0) { $fileName = $_FILES['file']['name']; $tmpName = $_FILES['file']['tmp_name']; $fileSize = $_FILES['file']['size']; $fileType = $_FILES['file']['type']; … | |
ok i have a perl script [CODE]use strict; use warnings; open(my $in, ">>", "log.txt") or die "cant open log.txt $!" ; my @files = <*>; foreach my $file (@files){ print $in $file . "\n"; } close $in or die "$in $!";[/CODE] it gets the filenames that are in the same … | |
Hi! I got this image uploading script that will upload the user's choosen picture, and save it in the user's folder with the users nickname. Now, when i got the picture uploaded i want to resize it to 3 exact sizes (3 versions of the image). 240x250 and 2 other … |
The End.