Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
file-reading
- Page 1
Re: Cannot run exe from asp.net
Programming
Web Development
2 Months Ago
by lennyli
… > You can technically make the server launch an .exe
file
like Notepad, but: > > It will run in…maxwi>python client.py Traceback (most recent call last):
File
"C:\Users\maxwi\client.py", line 18, …in <module> main() ~~~~^^
File
"C:\Users\maxwi\client.py", line 6, in…
Re: How to open an Excel Document in VB.NET
Programming
Software Development
2 Months Ago
by JamesMichaelm
I see it's been a while since you posted, but I'm curious if anyone here has tried using the Open XML SDK instead of Interop or OleDb for
reading
Excel files. I found it faster and doesn't require Excel to be installed, though it can be more complex for writing. Wondering how others handle big Excel files or ones with tricky formatting?
Re: Cannot run exe from asp.net
Programming
Web Development
2 Months Ago
by Neil_brown001
… server You can technically make the server launch an .exe
file
like Notepad, but: It will run in the background on… appear, it could be an HTML/CSS issue, or the
file
isn’t loading. Make sure the app is being served…
Re: Need Coding Help With A Project
Programming
Software Development
1 Month Ago
by Dani
… sees that or knows that, so the other 2000 people
reading
this thread may look at his post through a completely…
Re: Cannot run exe from asp.net
Programming
Web Development
2 Months Ago
by lennyli
> Are you sure IIS is configured to allow running external scripts? The document folder and asp
file
has security permission set to ALL rights for 'everyone'. In IIS, under handler mappings for .asp files, under request restriction/access, script was chosen (not execute) for feature permissions, all 'read' 'script' 'execute' are chosen
Re: Cannot run exe from asp.net
Programming
Web Development
2 Months Ago
by Reverend Jim
>No, Javascript cannot run/start executables on the client machine. Technically correct but there are ways around it. For example, save a
file
in a special folder on the target computer, which has a folder watch on that folder. The watching task could then trigger a local task.
Re: file reading help
Programming
Software Development
15 Years Ago
by DangerDev
see, after first pass of for look,
file
reading
pointer will be at the end. so during next for loop passes it wont go inside while loop as (! inFile.eof() ) will be false. You have to reset the
file
reading
pointer to start of the
file
before while loop.
Re: File reading
Programming
Software Development
12 Years Ago
by Moschops
…,ios::in); cout<<"Error while opening
file
"< fin.get() cout< cout<…lt;"------------------------------"< cout<<"ENTIRE
FILE
HAS BEEN DISPLAYED"< I see that … That makes no sense. Why? Lines end with `;`
File
reading
in C: http://en.wikipedia.org/wiki/C_file_input/output
Re: File Reading problem
Programming
Software Development
15 Years Ago
by Lerner
… then prevents the loop from proceeding. Finding the end of
file
(EOF) is one of the conditions that causes the streams… successfully read in. If eof() returns false, then the
file
reading
was incomplete because the stream went into a failed state …
Re: File Reading & Storing In Class Objects
Programming
Software Development
11 Years Ago
by Moschops
…. Let's see the code! I would expect that your
file
reading
code in its simplest possible form would look something like…].age; which you would then have improved with loops and
file
checking and all that sort of thing. So what does…
Re: file reading problem
Programming
Software Development
11 Years Ago
by pritaeas
Closed, continued here: http://www.daniweb.com/software-development/c/threads/475529/
file
-
reading
-problem
c# file reading problem with 2-d arrays
Programming
Software Development
12 Years Ago
by mIND.dEcEpToR
…3- is my c# code to do
file
reading
with the display too: public void populate_grid_by_file()…< Sodoku_Gri.GetLength(0); i++) { while ((line =
file
.ReadLine()) != null) { for (int j = 0; …when i display my array with the
file
reading
above it is like: 1--2--…
Re: file reading
Programming
Software Development
13 Years Ago
by pelin
the average is calculated like this( w1*g1 +w2*g2..... wn*gn)/100 i dont know how to indicade it on my code so i just said (wn*gn)/100 but doesnt work it should work for n times grades and weight so even if i have 4 peoples grade the code should know its 4 by
reading
the
file
:/
file reading
Programming
Software Development
16 Years Ago
by bobrien314
…[] args) throws Exception { System.out.println("Please enter the
file
name"); String filename = inScan.next(); ArrayList read= loadFile (filename… static ArrayList loadFile(String fileName) throws Exception{ String line; ArrayList
file
= new ArrayList(); BufferedReader in = new BufferedReader(new FileReader(fileName)); while…
File reading
Programming
Software Development
14 Years Ago
by asif49
…program which reads several strings from a Notepad
file
which's location is set through user input…if (fileScan.hasNext(phrase2)) { System.out.println("This
file
does contain the string \"" + phrase2 + …else if (phrase != phrase2) { System.out.println("This
file
does not contain the string \"" + phrase2 + &…
Re: File reading
Programming
Software Development
14 Years Ago
by javaAddict
…(); if (phrase2.equals(line)) { System.out.println("This
file
does contain the string \"" + phrase2 + "…(fileScan.hasNext(phrase2)) { System.out.println(i + ": This
file
does contain the string \"" + phrase2 + "\"…if you don't want to read the entire
file
, then use the first version and once the …
Re: file reading
Programming
Software Development
16 Years Ago
by masijade
What did you use to write your
file
? Because if your
file
were the simple text you claim it to be, you … notepad (or vi on a unix system) and open the
file
with that, and see of you see the same stuff… and save it as a doc rather than a txt
file
?
Re: file reading
Programming
Software Development
16 Years Ago
by Ezzaral
I'd agree with masijade. It looks like embedded RTF style info to me. Try to save the
file
as plain text.
Re: File reading
Programming
Software Development
14 Years Ago
by asif49
Just read it back, bad wording and punctuation on first two lines. I'll say them again... I've been making a program which reads several strings from a Notepad
file
which's location is set through user input. Then they enter a string AND IF it is in the
file
; a positive message is shown. If it's not then a negative one is shown.
file reading
Programming
Software Development
13 Years Ago
by pelin
i am writing a program that reads the
file
i create. The
file
has grades and weights of grades anddd 3 person…create a program that will read the information from the
file
, calculate and print the total average of each student given…import math FileName = input("Enter the name of the
file
") infile = open("grades.txt","r&…
Re: file reading
Programming
Software Development
13 Years Ago
by TrustyTony
… import math FileName = input("Enter the name of the
file
") # never used infile = open("grades.txt","… funcition is never called, it should be in beginning of
file
anyway def main(): # sum is builtin function, replacing it with…
Re: file reading
Programming
Software Development
13 Years Ago
by woooee
… starters. [code]#FileName = input("Enter the name of the
file
") ## not used by the program infile = open("grades…
Re: file reading
Programming
Software Development
13 Years Ago
by pelin
…] import math FileName = input("Enter the name of the
file
") infile = open("grades.txt","r"…
CSV file reading
Programming
Software Development
12 Years Ago
by MissAuditore
Hi, Have a csv-
file
with time as heading for each column and first column …. n*m table, or plot. I'm having problems
reading
the csv
file
: fname = r'C:\Users\Desktop\Temperature.csv' T1 = '15… the timelist is 1. I am a beginner in csv
file
reading
:( What I want to do is decide which time intervall…
File Reading
Programming
Software Development
17 Years Ago
by hyperzero4
… first problem so far is
reading
the maze
file
from the txt
file
I recieved in class. The
file
looks like this: 30 30… task, I need to take this information off of the
file
into two int variables (row and cols) and one 2D… array (maze[30][30]) From what I've learned about
reading
files, I came up with this: [CODE=cplusplus]#include <…
Re: File Reading
Programming
Software Development
17 Years Ago
by Ancient Dragon
… array values than what was read from the
file
. In your example, 30 * 30 is 900…17 is wrong. the >> operator stops
reading
at the first space or at the '\n'…character. I guess the lines in the data
file
can contain spaces since that's what you … 0; // read number of rows and columns from the
file
mazefile >> rows >> cols; //…
File reading
Programming
Software Development
10 Years Ago
by HuePig
Hi, I'm having trouble
reading
a
file
the way I want it to. /*Textfile.txt*/ ROOM Closet …; std::string check2; bool exit; std::ifstream
file
(fileName); if (
file
.is_open()) { while (
file
.good()){ std::getline(
file
, check); if (check == "ROOM"…
Re: File Reading
Programming
Software Development
17 Years Ago
by CubedStooge
…; endl; } } int main() { ifstream mazefile("maze1.txt"); //check
file
opened correctly if (! mazefile) { cout << "Error opening… input
file
\n"; exit(1); } int rows, cols; mazefile >>…
Re: File Reading
Programming
Software Development
17 Years Ago
by Ancient Dragon
[quote]The way I've broken down the task, I need to take this information off of the
file
into two int variables (row and cols) and one 2D array (maze[30][30])[/quote] You have both missed one important piece of information -- according to the above you must use a 2d array. Both of you are using just 1d array.
Re: File Reading
Programming
Software Development
17 Years Ago
by hyperzero4
… user for the filename that contains the maze. Read the
file
name into a string variable. Remember that the argument to… <string> string filename; cout << "Enter
file
name:" << endl; cin >> filename; ifstream…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
Backlink Auditor
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC