I've tried to print in a Dot Matrix Printer using this example MS RAW Example but i got all RTF Coding printed in the paper e.g {\rtf1...... Can i print my RTF file proper in the printer? Any tools making this kind of job?
I'm looking for a library able to build at runtime, using some configuration (xml, annotations, ...) and reflection, a complete JTable (model + searchable and sortable jtable) from a collection of POJOS.
I did not found anything like that on the web and I'm wondering if something already exist before I start to coding this.
openerp client seems to be nice and working , i would like to hack it and use it as a front end to my open erp solution. but the documentation regarding client side design or customization is poor on openerp site , is there any good reference or documentation available for further digging in to openerp client side coding ? or more : if any similar…
I am created jar file.The jar file is an executable one.But how can i run the jar file from the out side,using created batch file.I want to know the batch file coding to run the jar file without mentioning class path. Or is there any way to do it?
I'm coding a networking application on Android.
I'm thinking of having a single UDP port and Datagram socket that receives all the datagrams that are sent to it and then have different processing queues for these messages.
I'm doubting if I should have a second or third UDP socket on standby. Some messages will be very short (100bytes or so),…
As my coding revolves only around one function,the function OnLoad() where the map and search is together on this function. However i was tasked to seperate the Maps and Search JS and was unable to do so. Is there any tips or tricks to seperating them?
I am trying to learn some c# coding and wondering if the c++ concept of function pointers is included in c#. I see there are such things as delegates. Are they the same concept? or do they differ on a more fundamental level?
While perusing an application that I'm documenting, I've run across some examples of bang notation in accessing object properties/methods, etc. and in other places they use dot notation for what seems like the same purpose.
Is there a difference or preference to using one or the other? Some simple googling only reveals limited information on…
So ok I understand that UML diagrams help for the construction of a program, but when are they used? Are they needed before you start coding? do you need them so you know what you have to code? Or do you use them after you have coded the program?
See here
Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz".
Disclaimer: I do realize this is easy, and I understand the content of the Coding Horror post I…
G'day,
I've read both of Steve McConnell's excellent Code Complete books "Code Complete" and "Code Complete 2" and was wondering if people have any other suggestions for commenting code.co
My commenting mantra could be summed up by the basic idea of expressing "what the code below cannot say".
While enjoying this interesting blog post…
I built a rad slider module. Then I built a template that I am going to use as a base for more projects, and I know I will use my slider module most of the time. Is there a way, other than tearing apart the modules and re-coding it all into the template, to "package" the module with a template?
Like the HTML overrides do, but adding the…
Quite simply: is there a place such as DeviantArt, but purely for the purpose of sharing software (and source if preferred)? I'm aware that DA has plenty of software, but only related to customisations and UI hacks.
I recently came across some really useful apps I had made from way back and besides posting it on an online code hosting…
i'm never see something like this before. So, it's confuse me for a while. But now i understand and use it sometimes. So, after brief experience, can anybody tell me What is the pro and cons using Heredoc Notation in your PHP ?
$stringval =
Personally, How do you use this PHP feature ? is it a bad way of coding or good way ?
I'm considering getting a Mac. I want to make sure I'll be able to get a good text editor for it. I'm wondering what other folks are using.
Features I need -
Contextual highlighting for PHP, HTML, CSS, and preferably many others
FTP from a hotkey - so I can hit ctrl-s to save, then another combo to FTP it.
Features I'd like -
Code…
I'm embarking on a GUI Activity composed of a viewflipper, which I would like to contain 10 linearlayout layouts.
Is it advisable to put all of my layouts into the same XML resource/layout file?
If not, is there a more organized approach to coding a viewflipper with many layouts?
Will having everything in the same file come at a…
Hi Everybody,
I am new to PHP,I need to create Webservices using PHP.Can anybody provide me the sample coding and the procedure steps to proceed?
Thanks in Advance,
Meena
Hello
I'm coding a demo in python and I need to read a MIDI file in python (no real-time stuff is needed).
In particular, I'm looking for a library which preserves channel information.
The most promising libraries I found are:
http://code.google.com/p/midiutil/
http://www.mxm.dk/products/public/pythonmidi
Any experience with…
So assuming that in our work environment we've decided that the One True Faith forbids this:
if (something)
doSomething();
And instead we want:
if (something) {
doSomething();
}
Is there a tool that will do that automagically? Awesomest would be to have eclipse just do it, but since we're really just recovering…
I'm coding a website that will display images of this person's animals. I want to be able to click the thumbnail image on the site and have a larger size preview appear. I used lightbox 2 but for some reason I cannot get it to work. I've tried everything I can think of. Am I missing something really obvious. The url is
…
I have been trying to implement and undo/redo system in a game I am coding in Java. I am taking the approach of serializing the state of the game after each move. I there a way of saving the serialized objects on a stack and accessing them for undo/redo?
Can anyone help me with a coding example to close the associated process when I have the Process ID. I will be using Delphi 5 to perform this operation programatically on a Windows 2003 server.