I have written a program that gets input from a usb second keyboard (actually a barcode scanner). The problem is that if another window is active the data is input there rather than in my program. Could someone give me advice on what I'm doing wrong?
#include <stdio.h>
#include <string.h>
int main(int argc, char * argv[]){
FILE * fp...
When I'm moving through a file with a csv.reader, how do I return to the top of the file. If I were doing it with a normal file I could just do something like "file.seek(0)". Is there anything like that for the csv module?
Thanks ahead of time ;)
...
I'm interested in purchasing an e-book reader, mainly for reading programming related e-books.
Up until now, e-book readers seemed to have a pretty bad reputation. I wonder if this situation has changed and anyone had any good experience with any of them and might provide some helpful advice in selecting one.
Thanks
...
I has a data type varbinay in database.
I need to fetch it from database using csla.Datareader.safedatareader into string.
...
I am using the SIMPLE RSS reading example found at http://theappleblog.com/2008/08/04/tutorial-build-a-simple-rss-reader-for-iphone/
It uses parseXML to load the RSS feeds.
Here is the problem I am having. For the following RSS feed example, I am having trouble getting it to load the feed. Comes up with an error that it cannot connec...
I understand that when fetching an atom feed, you can specify the number of items to return, and the items will have a continuation field that you can use to start subsequent fetches at a position after the items you've already fetched. The question is: how do you find out if there's anything more to fetch without actually trying to fetc...
I'm trying to write my own vce reader (Visual Cert Exam). But .vce is a binary format.
Does exist any way to decode the format? Otherwise, does exist any other equivalent open format?
...
Hi Guys,
I am using Datareader in my C# code to get data from db and dumping it into excel sheets.
I am able to do it for everyrow correctly (based on the data from the sql view).
I have a problem in one of the sql views.
rolename roledesc roletype roleuser
Team Leader (required) xyzxyz Primary Mike
Team Leader (r...
I would like to be able to massage certain categories of news feeds to make their entries more consistent. For example, when a job seeker subscribes to two different job sites the feeds s/he gets will differ markedly. One would like to be able to perform lookups and other work in the news reader, process the incoming feed on the basis of...
Form this blog post i see that once you know the tag name you can items in the tag
by
/reader/atom/user/[user id]/label/[tag]
But how do i know what tags are available for the user ?
How can get the list of available tags for a user from google reader api .
I've seen third party apps do that, not sure how they are doing it .
...
Hi all, :)
I'm developing a simple epub reader on iPhone but been wondering how to go about loading it. I know reading files such as a PDF is somewhat straightforward because it's one file in itself and can be loaded using UIWebView or CoreGraphics. It's unlike ePub which requires a bit more work to get(parsing xml's ...etc) the content...
I am working on reading the barcode using a scanner and I have the following questions:
Is there a way to distinguish between the input from the keyboard and input from the scanner ? This is required for me because the barcode reader will include a preamble, terminator and a prefix to the barcode value. For ex, if the value is 12345 th...
So, I'm feeding file data to an API that takes a Reader, and I'd like a way to report progress.
It seems like it should be straightforward to write a FilterInputStream implementation that wraps the FileInputStream, keeps track of the number of bytes read vs. the total file size, and fires some event (or, calls some update() method) to r...
Hi, Adobe Reader tends to turn all of my open pdf documents into title bars after my laptop computer (OS X) goes to sleep or switch screens. I wonder if there is a way to either suppress this behavior, or expand all of them to display the full documents without having to do this for them individually (for some reason I find myself having...
I have a log file which gets updated every second. I need to read the log file periodically, and once I do a read, I need to store the file pointer position at the end of the last line I read and in the next periodic read I should start from that point.
Currently, I am using a random access file in Java and using the getFilePointer() m...
Hi, I am trying to integrate my software(developed in java) with a rifd reader.The data read by the reader when a card was swiped is 0068276206 and when the same card was swiped on fingerprint system with a reader it displayed the card number as 0001167342.
To get the value(0068276206) i read the data into a byte array(using java io...
Hi Everyone,
I thought this problem may be due to some strange path issue; however, the path is not relative in this case.
I have an AS3 based rss aggregator. It works in flash when I test the movie clip; however, when I place this on the server it no longer works...
I used "taLog.htmlText = "Start";" and similar strings to test wher...
I am really green to this and came across this site by googling the subject. I am looking to create my own rss reader. I am wondering what language would be best to create a custom rss reader in the same lines as Google reader? I wonder what language do they use. Any and all help or direction pointing or suggestions would be greatly appr...
am new to Zend and want to use the Zend_Feed_Reader class behind a Proxy.
I've been told that I need "replace the default instance of Zend_Http_Client used by Zend_Feed_Reader using the setHttpClient() static method. The replacement should be a new Zend_Http_Client object which is passed a replacement adapter called Zend_Http_Client_Ada...
Hi. I am a newbie when it comes to using Nokogirie reader to parse an xml file. Here is the xml file I want to parse and sample code:
<?xml version='1.0' encoding='UTF-8'?>
<inventory>
<tire name="super slick racing tire" />
<tire name="all weather tire" />
</inventory>
-------------------------------------------------------------...