3 days ago I asked for help in acquiring data from a text file generated by a C program (. Exe).
Thanks to the programmer "second" I solved the problem but yesterday I discovered that the output file is more complex than I had expected. I also ask you help.
The file output is:
V|0|0|0|t|0|1|1|4|11|T4|H13||||||||||||
P|40|0.01...
I am trying to list the disk drives that a system may have.
On Windows, it may be something like "C:/", "D:/", "E:/".
On Linux, it may be something like "/boot", "/media/SDCard", etc.
And I don't know what it's like on a Mac. Maybe something under /Volumes.
Does anyone know of a cross platform way (that is, one which works on Linux,...
Using pl/sql how do I locate a file in a directory and move the file?
...
In MSDN,
String Meaning
\\.\C: Opens the C: volume.
\\.\C:\ Opens the file system of the C: volume.
I could open \\.\C: volume device.
But I couldn't open \\.\C:\ directory by CreateFile.
How can I open the directory by CreateFile with \\.\ prefix.
And if I open the directory, what can I do by using the handle.
Are ...
Basically I write an application which copies/moves files from the local file system to a remote file system over some FTP-like protocol.
Would it be a good approach to encapsulate the protocol-specific bits inside of the file system service provider interface?
As far as I understand that would make my library work with other applicati...
I want to get the size of an http://.. file before I download it.
I don't know how to use http request.
Thanks!
...
I'm creating an app that I want to seed with a data file the app will use as its initial state. In the Eclipse project structure, where do I add the data file so that when the app is deployed to the device (and emulator) the data file is deployed with it?
...
I want to have a html file with javascript. Then I want to have some images in this file. I want to send this html file to my friends (per e-mail). I want them to see my html file with images but I do not want to send them all files with all images. It would be nice to send them just one file.
I also do not want to have images on a web...
I need to create a local xml file from a rails application and then copy it to a location on another server.
I have tried using the File.new option to create a new file but it gives me an error saying the file does not exist. After looking closer at the documentation it says that File.new opens a file that already exists.
I can't see ...
I'd like to add dropbox-like functionality to my website...
What are the open source or commercial projects I could look at to get started?
Thanks,
-Eroc
...
Hello,
I'm trying to realize a file. Each event just appends one line to the file. So far this is a no brainer. The hard part is that several users are supposed to be able to add entries to that file but no one is supposed to be able to modify or delete existing ones. Can I somehow enforce this using file access rights? I'm using Linux....
Hello,
I was just wondering what the simplest javascript function would be to request a server side .js file. Currently I have a jquery-1.4.2.min file that weighs in at 70kb, and I figured that there has to be a way, using javascript, to request this file. That way, if the user doesn't have javascript enabled the function would be i...
Is there a way (after the mapview has been created and overlays added) to save a picture of the mapview?
I am writing a GPS app in which the customer needs to produce a report of where the user has been. The need to overlay blips to show the route traveled and then export the map and route to be saved as an image.
...
I am using this code to load the content of a text file:
function go(){
//var myFile = "c:/BMCclient.log";
var myFile = "abc.html";
$.get( myFile, function(data) {
alert ( data );
$('#_content').html(data);
alert('Load was performed.');
});
}
When myFile ...
I have an application that reads from a very large binary file. It never has to read the whole file, only small parts of it, which are spreaded accross the file. For example, in VB6 code:
ReDim Data(26) as Integer
Get #1, 2536, Data
ReDim Data(79) as Integer
Get #1, 13504, Data
ReDim Data(51) as Integer
Get #1, 39827, Data
Etc..
Fo...
From iOS 3.2, application can be called to open specify files, lick .zip .
we try to implement an application can open the zip attachment file in iOS, it works.
But from iOS 4.0, apple provide a new file preview framework call Quick Look Framework. The default email application will open the preview of the file default. But the quick loo...
i am using a text file to store my data records. the data is stored in the following format.
Antony|9876543210
Azar|9753186420
Branda|1234567890
David|1357924680
John|6767676767
Thousands of records are stored in that file. i want to delete a particular record, say "David|1357924680". I am using C, how to delete the particular record e...
Hi
I'm trying to find all long filenames in a directory using:
find . -regex './[^/]\{5,\}.txt'
According to the GNU find documentation, -regex uses emacs regex by default. So this should give me all files longer than 5 characters (excluding extension). Unfortunately it does not work. It matches nothing. I've tried various variation...
Dear All,
What is the most secure way to achieve above? I want to edit apache VHOST file through my Rails application.
Thanks,
Imran
...
Hi,
I'm using a JTextPane to edit XML files. A jflex parser split xml file in tokens and using a custom document (extends
DefaultStyledDocument) i color syntax:
doc.setCharacterAttributes(token.getCharBegin() + change,
token.getCharEnd() - token.getCharBegin(),
Token_Styles_Define.getStyle(token.getDescription()), true);
My p...