I found this resource when looking to commonly format user's phone numbers.... http://www.eyesis.ca/projects/formatphone.html
I was wondering if someone else might have a better solution.
Hi,
I want to calculate the amount to charge my customers, when they buy licenses of my product.
I sell it in ranges of licenses:
1-10 : $50/user
11-20 : $40/user
21-30 : $30/user
31-50 : $20/user
So when someone purchases 136 licenses, I will charge him:
100 X $20 = $2000
30 X $30 = $900
6 X $50 = $300
How can I do this in plain C# or LINQ?
Thanks in advanced.
I was wondering if someone could point me to a good tutorial or show me how to graph the amplitude from a bytearray. The audio format I am using is: ULAW 8000.0 Hz, 8 bit, mono, 1 bytes/frame.
Guys,
I've got to build a GUI to be run on Desktops in Java. I'm decently new to Java, and I"m trying to understand what Maven is best suited for. Is this the type of application that would be well suited for Maven? Could someone just give me a 100 word explanation of what Maven basically is?
Thanks,
Joe
I dont think this is possible but maybe someone knows a way to achieve this. I want to attach an event to an html element to listen to attribute change. So say for instance that I want something to happen when a visibility of a div changes. The reason is that I have no control over the javascript that is switching the visibility, hence the need for an event.
Thanks
I'm trying to run through this msdn article:
http://msdn.microsoft.com/en-us/library/dd723645.aspx
One of the steps is:
In the class file for the page, change the base class from UserControl to EntityTemplateUserControl.
Nowhere is it made clear what page is being referenced. Can someone help me? I don't see any relevant class in the pages I have, so I assumed maybe they were talking about the ascx and didn't really mean page, but I'm not seeing an option there either.
I have an app that I want to be launchable either explicitly when tapped or when a parameterized URL is clicked on on a webpage in Safari running on iPad or iPhone.
Can someone sketch the approach for me and/or point me to the relevant docs? Thanks so much.
Cheers,
Doug
hello i am a student and i am doing my senior project it is about developing an application in j2me for scanning a barcode and extract the number of the barcode in a message to be send.
please i search the net but i cant found something usefull i am new at j2me if someone could help me with sourch code and how to create it i will be very thankfull my email is [email protected]
thanks in advanced
how to pass string to a url in java. i want to download an image from a web server. before downloading a image i want to pass some values to that image then after that i want to download the image. can someone help me. in Java SE application
Hi, I am trying to add badges to the icons in my android app. e.g. in the facebook app(for iPhone), in the home page the number of pending requests is shown on the requests icon.
Can someone provide any links/ideas on how to do this?
Thanks
When I publish a Flash file that contains any sound (such as a WAV file), I can choose the sound compression method (MP3, raw, ADPCM, etc.). My question is about the mp3 compression and it's licence.
Flash gives me the option to compress a WAV file as mp3, but is the licence to use the mp3 format included? I have paid for a Flash licence, does it give the right to use mp3 in my SWF files freely or do I have to pay royalties to someone else?
Currently a user makes a purchase and then a license is generated and sent to that user, but the license isn't tied to a physical computer so there is nothing to prevent the user sharing the license with someone.
I heard people talk about creating a license tied to the mac address of the computer, so the license only works on that computer. Now I know how to get the mac address in code but I dont understand how I can do this step when they first make the purchase on the web, so please what is the basic algorithm for node locked licenses ?
i want to add some amounts which in my tuple. i want to take that out and total it and show.
i want to use Foldr function.
can someone help me out how to do
I have read in this forum that left outer join syntax is not supported by subsonic in an answer to a question on the topic by "Apocatastasis".
I have the same issue in that when I create a query using the .LeftOuterJoin the resulting sql has an inner join rather than a left outer join.
Can someone please confirm that LeftOuterJoin is indeed not supported and, if that is the case, why is it included in the active record syntax?
Thanks
Michael
As above. Usually at work someone else does the database design, and when I do personal projects they're small enough to not really require more than five or six tables, but I'm about to start a personal project that I think will probably require around eleven or twelve tables and I'd like something to help me design it neatly and keep track of it.
Hi,
I have noticed that autocomplete is not working in some of java files in Eclipse.
Also, the files where autocomplete is not working, display a hollow "J" as the icon for the Java file. The files where autocomplete is working, icon for java file is a filled "J"
I am wondering if someone can point out what went wrong all of suddent, why the change in icons and why autocomplete and syntax highlighting is turned-off in the files with a hollow "J" icon?
Thanks.
I want to synchronize the contents of two folders using C. I don't have any line of code, I simple want someone to suggest a good tutorial to start with.
Im trying to make a program that captures a video from the webcam and sound from the microphone but im getting stuck at the part where ive try to make a movie out of still images
ive heard you need to use directshow but it doesnt jet work for me
Does someone know a good piece of example code that captures video and sound and can encode it to a file (divx or something like that) ?
or some suggestions where to look so i can build it myself
(if a other programming language is better for this im happy to know it early. )
I am looking at this question from someone with a Microsoft background. If I wanted to get to know the EJB world, who are the leading players in terms of implementations?
Hi! I am interested in saving and load objects using the pickle module as you can read in a question I asked before:
Python: Errors saving and loading objects with pickle module
Someone commment:
1, In an other way: the error is raise because pickle wanted to load an instance of the class Fruits and search for the class definition where it was defined, but it didn't find it so it raise the error
Now I want to save and load a class definition in order to solve the problem I describe in the question mentioned before.
Thank you so much!
So I just got a C# program from someone that compiles and gives me a
fully functional application. However, when I want to see the .cs{Design] file it gives me the following error:
.ErrorStyle { font-family: tahoma; font-size: 11 pt;
....
How can I convert this to an actual Design file? I am working on Visual Studio C#. Thank you very much.
From the API, I could see it has something to do with proxy. But I couldn't find a lot of information on proxy and do not understand the difference between calling session.get and session.load. Could someone please explain or direct me to a reference page?
Thank you!!
What is this syntax for in C++? Can someone point me to the technical term so I can see if I find anything in my text?
At first I thought it was a prototype but then the = and (*fn) threw me off...
Here is my example:
void (*fn) (int&,int&) = x;
Hi all,
I am a seasoned .net developer and using VS.net all the time. Now, I would like to learn Ruby on Rails using emacs. Since I'm pretty new to Linux, it would be great if someone show me step by step tutorial to setup emacs for RoR develpment.