I am assigned a project to create a new binary file structure for storing co-ordinate information coming out of a 3d CAD/CAM software. I would highly appreciate if you kindly point out some articles or books regarding creation of new binary file format. Thanks for your time :)
...
I'm looking for a multi-threaded, segmented file download to integrate into a WPF application I'm creating. I've seen a lot of references to various projects in this space and I'm hoping that someone has built or used an API and/or service that can be easily integrated into my application. Thanks for your suggestions.
...
I have two C# applications, one is reading a file (File A) line by line and writing its contents to a different file (File B).
The second application is using FileSystemWatcher for File B to see when it is updated and reporting the difference is line numbers between when the program was started and when the file was changed.
Thats all ...
Does anyone have any experience with this component ?
( http://www.ultrashareware.com/Ultra-Office-Control.htm )
I am using it to integrate Excel in a desktop app. It's pretty good and straightfoward but it has one major issue and one minor issue.
THe major issue is that it does not seem to close the "Excel" files correctly ( so when I...
Hi
I call a java function in Clojure to get a list of files.
(require '[clojure.java.io :as io])
(str (.listFiles (io/file "/home/loluser/loldir")))
And I get a whole bunch of strings like these
#<File /home/loluser/loldir/lolfile1>
etc. How do I get rid of the brackets and put them in some form of an array so another function can...
I'm writing code to parse through a list of file directories and identify which AD groups have access. That info is available in the operating system under the file properties security tab, but I can't find any code examples that retrieve that info in vb.net (or c#). Anyone have code that will do that?
...
Hi guys, I can't upload a file with asynchronous ajax but can I with the synchronous method ? I searched and found nothing about it.
Thanks.
...
As scary as it sounds.
I select a remote file, I hit delete. Instead of deleting the selected remote file, Dreamweaver chooses to delete the currently selected LOCAL file(s) - even if they're unrelated.
EDIT: I am not able to 'deselect' the soon-to-be-deleted LOCAL file, not that I should have to. Didn't work this way in CS3.
The only...
How do you load the contents of a local html file similar to this (simplified)
<html>
<body>
some text and <p>'s and stuff here
</body>
</html>
into a UIWebView on the iphone?
The html code is stored in a .html file and the UIWebView is called contentLabel
I have tried :
[contentLabel loadRequest:[NSURLRequest requestWithURL:[NSUR...
I have a file contining some no of lines. I want split file into n no.of files with particular names. It doesn't matter how many line present in each file. I just want particular no.of files (say 5). here the problem is the no of lines in the original file keep on changing. So I need to calculate no of lines then just split the files in...
Hi dear Stackers,
I know the question has been asked thousands of times, but I'll ask it again: is there a way (even patchy) to write/read a dumb text file with Javascript or Protoype ?
This is only for debug purposes, and is not designed for production. The thing is I need it to work with (at least) both Firefox and IE (preferably un...
Hello, how can I download single file from SVN repository?
For example:
svn co http://server.com/svn/trunk/test.file test.file
svn: URL 'http://server.com/svn/trunk/test.file test.file' refers to a file, not a directory
But I can download directories in this way.
...
Guys, I am trying to write to different pieces of a large file using multiple threads, just like a segmented file downloaded would do.
My question is, what is the safe way to do this? Do I open the file for writing, create my threads, passing the Stream object to each thread? I don't want an error to occur because multiple threads are ...
I have implemented the File Upload (upon reading Scott Hanselman's excellent post)
I have multiple files associated with various questions on the form though, and would like to associate each saved file with an internal ID.
How can I do this? For example, if question # 3 has a file uploaded abc.pdf, how can I associated that file with...
Possible Duplicate:
how can I import a file in java programming language
How can we read and write a file in java? What are the basic operations to do this?
...
hi expert, i'm newbie for android dev, now i want explore file handling in android, for example how to write a file (ie. sample.txt) and which location, how to read back it, can this file can be view manually
thanks in advance
...
I have a WCF service that streams large files (100MB+) from a remote FTP server.
[ServiceContract]
public interface IStreamService
{
[OperationContract]
Stream GetDataFromFtp();
}
public class StreamService : IStreamService
{
public Stream GetDataFromFtp()
{
Stream ftpStream = Retr(...);
return ftpStream...
I'm working on an iPhone app that uses Core Data. Most times, I just test in the simulator, but occasionally pump the app down to the iPad to make sure.
I've recently changed my Core Data model, and now when I send the app to the iPad, I get a SIGABRT exception telling me:
Can't merge models with two different entities named 'foo'
O...
The task I have is to (somewhat efficiently) read line-by-line through a very large, continuously growing file. Here's basically what I'm doing now:
BufferedReader rd = //initialize BufferedReader
String line;
while(true){
while((line=rd.readLine())==null){
try{
Thread.sleep(1000);
}catch(InterruptedExcep...
I am looking for the most efficient/direct way to do this simple C/C++ operation:
void ReadData(FILE *f, uint16 *buf, int startsamp, int nsamps)
{
fseek(f, startsamp*sizeof(uint16), SEEK_SET);
fread(buf, sizeof(uint16), nsamps, f);
}
in C#/.NET. (I'm ignoring return values for clarity - production code would check them.) Specifi...