6,015 Topics

Member Avatar for
Member Avatar for Yorkiebar14

Hello, I have been using StreamWriters for a long and time and it has always worked but now I seem to be getting an Access Denied error while trying to save to the current users Desktop... Dim savePath As String = "C:\Users\Josh\Desktop\EpiPhone\029.csv" Using sw As New StreamWriter(savePath) '...Rest of code... …

Member Avatar for Jamblaster
0
792
Member Avatar for robert.knighton.79

I tried using a solution to a very similar question here but it doesnt work for large files like the one I'm using. http://www.daniweb.com/software-development/vbnet/threads/320160/visual-basic-reading-text-file-into-array The code from that question: Dim OpenAnswerFile As New OpenFileDialog Dim strFileName() As String '// String Array. Dim tempStr As String = "" '// temp String …

Member Avatar for Reverend Jim
0
4K
Member Avatar for boni_go

Hi, I try to copy tree by shutil.copytree(). While the function run, I get some Exception "File name too long". The path+fike name are realy long, and the exception as I understand is from the OS not Python. Do you have any solution? * I can not change the directory …

Member Avatar for edenrol
0
1K
Member Avatar for furalise

Hi What is the difference between using the **fstream** library to read a file....and using something like a procedure below using the FILE* object? There seems to be two ways to read a file? Thanks /* FEOF example */ #include <stdio.h> int main() { FILE * pFile; char buffer [100]; …

Member Avatar for furalise
0
845
Member Avatar for Nebil

Hi all, I was just using iexpress to wrap up my vb.net project just to make it .exe file. It went fine but when i launched the .exe it's telling me that the database doesn't exist in the file. I put my database file in \bin\debug folder.Now it's telling me …

Member Avatar for ReyJEnriquez
0
96
Member Avatar for great_learner

Hi guys, I am completely new to objective c. I am trying to compile a very basic program of "hello world", but the problem is that gcc compiler can't figure out where my header files are. I wrote on cygwin bash shell: [CODE =c]$ gcc -lobjc hello.m -o hello[/CODE] and …

Member Avatar for spark_1
0
247
Member Avatar for saurav2007

While creating a database..Is the data transfered directly from the user-input into the database or transfered to a buffer and final transfer from buffer to database is done..? Plz answer it..

Member Avatar for deceptikon
0
97
Member Avatar for Tewhano

Thanks to Muschops and Schol-R-LEA I finally got my program working. However I decided to change my file format and replace the underlines with spaces and separate the data with a comma. I open the file and use getline to grab the data but I have an error that reads: …

Member Avatar for Tewhano
0
3K
Member Avatar for perlbegginer02

Hello, I am new begginer to perl programming and I need help with a program. I have a text file that is based on the Gettysburg Address. I need to do the following: read the file, print out the file to the screen, sort the words in alphabetical order, print …

Member Avatar for 2teez
0
166
Member Avatar for amitash

Hi, I want to write a VBA macro in Word that open an Excel file, save that Excel file to another file (to another name), and then clear all content of the original Excel file. How to do that? Thanks!

Member Avatar for Dieter123
0
499
Member Avatar for nyler01

Please help me in creating a multiple file upload and then process it in ajax so that it can view into the page before the form is submitted this is my form <form name="create_memo" method="post" ENCTYPE="multipart/form-data"> <input id = "memofile" type="file" name="img[]" onchange="uploader();" multiple /> <input type="submit"> </form> <div id="memoupload"> …

Member Avatar for diafol
0
937
Member Avatar for edotman

Hi Guys I am creating a site and i want users to be able to upload videos to a folder on a server, using SQL to store the path of the video and the name. I have created this Code. And it does upload all the details, but does not …

Member Avatar for diafol
0
934
Member Avatar for Hanyouslayer

What I'm attempting to do is read a text document to pass in variables into an arraylist of shape objects that I will use to create shapes. I don't need any help with the actual drawing of the shapes, working with the arraylist, or the initial scanning setup. I thought …

Member Avatar for Hanyouslayer
0
816
Member Avatar for curt.owens.5

I have an assignment due at 8:00PM. I've had a ton of work to do this week and haven't really got to learn the topic before the assignment. I'm just trying to get the points for the assignment and learn the stuff after its due. Problem: You are to create …

Member Avatar for Ancient Dragon
0
152
Member Avatar for drsnet41

I'm trying to pass a .txt file as a paramater into my java program. The line that reads in the file is: Scanner in = new Scanner(System.in); My program is titled SetTest and the file I'm trying to read is Ted.txt. If I go to a Windows 7 command prompt …

Member Avatar for sepp2k
0
12K
Member Avatar for sankubha

i have a java file to send mail and a jar file javax.mail.jar...... how to import jar file inside java file

Member Avatar for stultuske
0
68
Member Avatar for amrita111

I need to have a application in which files are uploaded on the server in asp.net . I want those files to get renamed automatically on the server on a certain date.How to proceed with this in asp.net. Kindly help

Member Avatar for JorgeM
0
134
Member Avatar for sriramkarthick

My problem is "How to upload the image, while uploading store the filename with the extension in the database and while retrieving the image filename should be taken from the database and file should be taken from corresponding folder" ?

Member Avatar for 203428
0
264
Member Avatar for Nitin Daphale

Hi all, I have installed SAP Crystal report for Visual Studio 2010 successfully on PC(.NET4.0, Windows Vista, Visual Studio Ultimate 2010). Now When I am going to add rpt file in my existing project, It automatically create .mht file and not .rpt file, that .mht file containing instructions and link …

Member Avatar for santhosh_iyer
0
562
Member Avatar for tirumalai

I have used treeview control in Vb 2010 and I need to upload files in the corresponding products How should I do it and what is the source code for the same.

Member Avatar for tirumalai
0
123
Member Avatar for mutago

I logged into my control panel and i discovered that my directory permissions was set as follows /home /access_log = 750 /etc =750 /mail = 750 /public_htm = 750 /public_ftp = 750 /tmp = 755 /www = 750 Can I set it all to 640. can someone tell me the …

Member Avatar for LastMitch
0
151
Member Avatar for mutago

uploading web file outside doc-root issues I uploaded my file oustside the root directory while leaving only index.php in the public_html here is my directory structure /home/user /myweb_application ----> my uploaded files /access_log /etc /mail /public_htm /public_ftp /tmp /www Here is how i configured it 1: inside /public_html I have …

Member Avatar for hag++
0
291
Member Avatar for Monium

I would like to upload multiple images to my server using this code: <html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <input id="picture_01" name="userfile['01']" tabindex="auto" type="file"> <input id="picture_02" name="userfile['02']" tabindex="auto" type="file"> <input id="picture_03" name="userfile['03']" tabindex="auto" type="file"> <input id="picture_04" name="userfile['04']" tabindex="auto" type="file"> <input id="picture_05" name="userfile['05']" tabindex="auto" type="file"> <input id="picture_06" name="userfile['06']" tabindex="auto" type="file"> <input …

Member Avatar for urtrivedi
0
693
Member Avatar for Xakzi

Hello peeps! I need some help to decrypt my text file and make it able to read in my program.. What I have programmed so far is to read the encrypted file, create a new file, decrypt it and read the newly created file.. I need to decrypt the encrypted …

Member Avatar for Ancient Dragon
0
464
Member Avatar for JayGeePee

Alright I'll try to be as clear as possible. I'm currently doing tutorials online because I'm learning php. I'm stuck on an issue I'm not really sure of. I'm currently coding on my local machine and think it may have something to do with that, but I'm not sure. Here …

Member Avatar for paulkd
0
202
Member Avatar for sujskiez

For some reason my java program can't find my textfile if i use file.next to display contents of the file but if use file.readLine it finds and shows the contencts of the filebut not the way i want for example: I want actual output like this: 1: Humps Black Eyed …

Member Avatar for stultuske
0
354
Member Avatar for williampalme

I need some urgent help in the Python programming project. In this project I am implementing the file system which provides the capability to store and retrieve data on the virtual drive. The virtual drive is represented by an ordinary file on the computer. This will create the file on …

Member Avatar for TrustyTony
0
290
Member Avatar for sabarinadh.ch

Here i am uploading data through a form which contains some input fields and one image. But i want to upload multiple images here instead of one image. I am attaching my php code here to upload the data and single image. Can anyone edit this code to add mutliple …

Member Avatar for diafol
0
794
Member Avatar for mechbas

file sharing has not worked since April. worked for several months w/o much issue before that. Been all over net to find answer, no go. computers see one another, (usually) but still no sharing. people that made the router was willing to help right up to the time I noted …

Member Avatar for uttkarshsing
0
474
Member Avatar for kevinyu

Since I am just experimenting on this, (only localhost) I may like to ask for some ideas(since nothing is really coming out of my mind) about letting a user, who is going to, for example, register to a mini-social-networking site, with a corresponding username/password, personal details, etc. I would upload …

Member Avatar for kevinpatel
0
242
Member Avatar for Trekker182

Hello all, I'm trying to read in a group of letters each on a new line and have the user guess them depending on how many games they want to play. My program works fine but I've noticed while testing it that for any more attemps, fscanf just keeps the …

Member Avatar for Ancient Dragon
0
159
Member Avatar for dschuett

Hi, I am a complete newbie when it comes to php. I have been searching google for a way to upload multiple pictures to a directory at one time, and at the SAME time store each pictures path into a table in the database. I have found several examples of …

Member Avatar for Gloak
0
2K
Member Avatar for winbala5

Hi all, How to check file exists in remote server. I am try to check in http path whether image is avaliable or not but not able to get.Please help me. http://www.domain.com/images/logo.jpg I need to check this path image is avaliable or not?

Member Avatar for broj1
0
162
Member Avatar for AndroidUser

Hello, My objective is to create a text file in an android file system. I have looked into the appropriate packages and methods for creating a file. But I am still looking for information about how to access the internal directory structure in order to create a file on an …

0
63
Member Avatar for kosar latif
Member Avatar for pritaeas
0
8K
Member Avatar for bullet_1

I am using following code. It displays date and time for each file in log. But I want it to display only once sw.WriteLine("File Name {0}", file); sw.Write("\r\nLog Entry : "); sw.WriteLine("{0} {1}", DateTime.Now.ToLongTimeString(), DateTime.Now.ToLongDateString()); sw.WriteLine ("-------------------------------"); The output is Log File : File Name D:\DotNet\test\1.txt Log Entry : 12:47:05 …

Member Avatar for bullet_1
0
190
Member Avatar for lewashby

(Linux) In the following program I'm trying to process the file accounts.txt line by line searching for a match to the form supplied variable '$email'. The function fgets() is stepping though the file line by line correctly but my attempts at using preg_match() and or strpos() to determine if that …

Member Avatar for lewashby
0
159
Member Avatar for Xakzi

Hello! I am having a bit of a hard time figure out how to code this thing.. I have just started coding by using windows form application and need some help.. I have successfully coded so that I can open a txt file without any problem, but it is reading …

Member Avatar for Xakzi
0
4K
Member Avatar for Tank50

Hi I used below coding for create a excel sheet.I got from on web site. In below coding there is no problem.Its create the excel file.If i run second time,its ask to overwrite the current excel file.If I said "Yes" then it ok ,but If I select cancel button,its generate …

Member Avatar for ddanbe
0
1K
Member Avatar for kshahnazari

$link = "http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=90A1173C22358704FA80D2070D9C987C&steamids=76561198081118741" $file = file_get_contents($link); echo $link; echo $file; I have coded this php , when it runs the link and the file are echoed but the link is right (also I know its correct) but the file echo gives nothing , when I go to the link a …

Member Avatar for anthonydaly
0
146
Member Avatar for ZBatool

0 down vote favorite I am trying to read float numbers from a Binary file using Struct module and then storing them in numpy 3D arrays.When I run it as an independent script, it works fine.But when I call it as a class's function from another script(after import) it gives …

0
106
Member Avatar for andrew.mendonca.967

CSCI-15 Assignment #2, String processing. (60 points) Due 9/23/13 You MAY NOT use C++ string objects for anything in this program. Write a C++ program that reads lines of text from a file using the ifstream getline() method, tokenizes the lines into words ("tokens") using strtok(), and keeps statistics on …

Member Avatar for phorce
0
4K
Member Avatar for bullet_1

following code replaces Figure 1....so on with <a href=1>1</a> .....so on but want to replace this " <a href=1>1</a> " ....... with <a href="#fig1">Figure 1</a>....so on in single line declaration please help me public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs …

Member Avatar for gusano79
0
176
Member Avatar for jennstudent

Hi guys, I have a page that contains elements (filenames of uploaded images) that dynamically update the database upon clicking and dragging them to reorder. Most of this is working wonderfully. Part of this functionality is based upon each record having a recordID column (apart from the primary key column). …

Member Avatar for jennstudent
0
220
Member Avatar for andreiviziru

this is the code if (file_exists('/user/'.$_SESSION['Username'].'/avatar.jpg')) { echo 'Exists'; } else { echo 'Doesn't exist'; } and i get the negative case

Member Avatar for paulkd
0
1K
Member Avatar for jbrock31

Hello everyone. I am trying to work through a programming challenge in my c++ book. I have gotten it to work, but i kind of cheated by looking at the file. I am going to past the entire code so i can be compiled, but the main problem i am …

Member Avatar for samone1228
0
615
Member Avatar for strongpot

Hi, I've got a page that allows the upload of multiple files at a time (while inserting filename to db). I've added the ability to arrange the file submission's display with a click and drag ui, this is also working fine...sort of. In order for the click and drag rearrange …

Member Avatar for diafol
0
217
Member Avatar for michaellooks
Member Avatar for michaellooks
0
130
Member Avatar for Rebecca_2

Hi, I am very new to programming but am hoping it will be able to speed a few things up for me. However I am struggling to work out how to write a Python3 script that does the following and am wondering if you could help me out. I have …

Member Avatar for Gribouillis
0
332
Member Avatar for TechSupportGeek

BACKGROUND: ----------- **1 Button** **1 File** That Needs To Be Written To **1 TextBox** **1 NumericUpDown** So, in my application I need to write to a file that will contain several lines. Input is taken from a TextBox and a NumericUpDown control and it comprises a string of general format …

Member Avatar for TechSupportGeek
0
162

The End.