|
Any number of articles on using the multimedia API to 'record' sound would get you started.
Then, if you use PCM, you are getting the raw sound samples - they are not compressed at all.
You can adjust the card's sampling rate (8 KHz, 22KHz, 44 Khz, etc.) for your specific requirements.
People that start writing code immediately are programmers (or hackers), people that ask questions first are Software Engineers - Graham Shanks
|
|
|
|
|
thanks buddy...
I'll try to follow you advice.
happy replying
|
|
|
|
|
Hi all,
I'm looking for a way where invoking a print command from another application actually causes the printing application to send its data to my application or to save it as a file (bitmap, jpg, etc.) so I can access what was printed as an image. Basically, I'd like to print from any application (say I.E.) and have this "printer" be a choice in the print dialog - and after printing, the data generated by the application is handled completely by software.
Are there any articles about this on the web somewhere? (I've tried to find one but no luck)
If there are no articles, what's a good starting point? (Can this be done without DDK or driver development?)
If it requires writing a driver, what am I looking at? Driver? Spooler? I'm kind of lost on the terminology when it comes to this printer stuff.
Am I in the right forum?
Thanks in advance.
-- modified at 19:32 Wednesday 1st March, 2006
|
|
|
|
|
|
That's a good idea. I'll look around at sourceforge I guess.
Are there any projects that you are aware of that you'd recommend taking a look at?
Thanks
|
|
|
|
|
|
Can anyone write an article about how to utilize the App Block inside the Ent Library if one is using VS2005 Express Edition?
Amateur/Hobbyist programmers need to learn about good patterns and practices as well.
Curious Newbie
|
|
|
|
|
Iam working on a project , The objective is to get an Crysltal report (rpt) file as input , display the fields for which graph is possible to the user , The user selects the field and type of graph .
The output is a graph , which can be embedde to the rpt fle and saved
I dont know how to proceed . any idea abt rpt fie format or how to read it
Please help
Gopalakrishnan R V
|
|
|
|
|
Hi, can anybody tell me how we can read barcodes (especialy EAN13) from barcode scanner
I Wish the Lift had CTRL+Z
|
|
|
|
|
Plug the barcode scanner into a port on your keyboard (most modern keyboards have an input port).
The scanner will send the ASCII code for the barcoded characters and the computer won't know if the data came from the barcode scanner or the user typed it in himself.
There is no magic to it. But the barcode guys (and the programmers) won't tell you this little secret.
|
|
|
|
|
Thx vivic
is the ascii code is something like 12345678900?(i have not the reader yet!)
and does the reader sends nothings about type like ean-13?
is it the same for USB readers?
Be happy
I wish the Life Had Ctrl-Z
|
|
|
|
|
Barcode readers have been made simple to use.
There is a laser in the barcode reader (scanner) that is shined against the barcode. The reflected light is converted back to electrical energy. Now, the reflection is going to show small dark regions (thin bars), large dark regions (thick bars), no dark region (space beteern bars). etc. This information is automatically translated into the exact number the barcode represents.
Barcodes have a specific START symbol at the beginning of the barcode and a specific END symbol where the barcode ends. The reader knows that if you held the barcode upside down (and thus scanned it backwards), it has to reverse the sequence of numbers. So it always sends the correct information to its output port.
ASCII code is the standard by which all characters (numbers, letters, etc.) are represented inside the computer's memory. When you use the keyboard and press "2", the specific ASCII code for the number 2 is sent to the processor. When you use the barcode scanner, it uses the exact same ASCII representation so that the processor does not know if the data came in from a barcode reader or from the keyboard!
Is that clear? Or do you want more explanation?
|
|
|
|
|
|
Thx Pablo
I'm going to check it
God Bless U
|
|
|
|
|
Any time. Hope its helpfull. One of the sights i referenced may be helpfull also. There are links on the Article.
God Bless you to...And the rest of us as well
Pablo
|
|
|
|
|
Sir/Madam
Is there any site from where we get the information about the header of the Nikon NEF file format and Olympus ORF file format,means which information header store
thanku!
singhanshul
-- modified at 6:16 Tuesday 14th February, 2006
|
|
|
|
|
Hello there,
Is there any way I can modify a Folder's properties programmatically? As in , I would like to Hide the Properties OPtion(specifically the Read-Only/Archive/Hidden) from the user but be able to modify it via my application. I figured out how to modify it but am having trouble in the hiding Part.
-- modified at 6:31 Tuesday 14th February, 2006
|
|
|
|
|
Hello
I was developed Web Application using ASP With Crystal Report 9.
My Problem:
Now I want to display data in a single report file from more than one Table. Here I given how my Two tables.
Table1:
Col1 Col2 Col3
1 1 1
Table2:
Col1 Col2 Col3 Col4
2 2 2 2
3 3 3 3
4 4 4 4
5 5 5 5
My Report file design Look like....
Details a Table1.Col1 Table1.Col2
Details b Table2.Col1 Table2.Col2 Table2.Col3 Table2.Col4
When the report get generated records from Table1 get duplicated (i.e.) the output of my report is looking like.
1 1--------------------from (Table1)
2 2 2 2------from (Table2)
1 1(get duplicates)----from (Table1)
3 3 3 3------from (Table2)
1 1(get duplicates)----from (Table1)
4 4 4 4 -----from (Table2)
1 1(get duplicates)----from (Table1)
5 5 5 5------from (Table2)
So here i want to suppress the duplicated records please tell me in brief
N.Rajakumar B.E.,
Application Developer,
www.newdreamz.tk
|
|
|
|
|
Rather than supressing those fields, you should probably create a ierarchy, unless ou have reason to do otherwise. 2 ways i can think of doing this off-hand, both require linking your Tables.
Setup a link between your Tables, if you haven't already done so, (eg. "SELECT * FROM [Table1] LEFT JOIN [Table2] ...") such that you have a parent-child relationship mapped between the tables.
Method 1:
Set Table1.Col1, Table1.Col2, Table1.Col3 as your Groups, and in the Group3 Header section put:
Table1.Col1 Table1.Col2 Table1.Col3
as you want them displayed.
Then in the Details section, put your Table2 fields.
Method 2:
Put your Table1 fields in the Details section.
Create a subreport for the Table2 fields, and place it in the Group Footer, or Report Footer, just below the Details section. Crystal Reports documentation can explain how to create a subreport.
Both methods will acheive what you want, but i dare say that the second method will be more efficient.
nicko
|
|
|
|
|
I found an article in my e-mail newsletter that I'd overlooked previously:
"Protecting application's unauthorized copy - Manish K. Agarwal
To protect your application's unauthorized copy by using image integrity functions (Platform SDK's ImageHlp APIs) and to manage certificates in a portable executable (PE) image file. (Unedited)"
It was posted in WIN32/SDK on 28 Nov 2005.
When I tried following the link included in the newsletter,
http://www.codeproject.com/article.asp?tag=6718472808938685[^]
it brought me to some other irrelevant stuff.
Furthermore, the search for articles by Manish K. Agarwal on Code Project returns zero results.
Any idea what's going on?
SMD
|
|
|
|
|
|
I am getting some other article
"Every morning I check Forbes 40 richest Indians list , if i'm not there I go to work."
|
|
|
|
|
|
Hello experts,
I am writing an application in Solaris, which is supposed to work on PrimePower 650 and SunFire 440 machines. The application listens to the events raised by the Hardware and OS in /dev/log. The application listens to the messages logged into /dev/log and do some processing on them. Now, when there is a load condition occuring at /dev/log(i.e. number of messages per second ocurring at /dev/log is high), CPU consumption by my application shoots up to 50%, while my application is expected to consume not more than 1% CPU.
Now, I want to bring down the CPU consumption to 1%. Since the CPU consumtion can vary according to various CPU configurations, i have to ensure that the CPU consumption remains below 1% for low end CPUs.
Thanks in advance.
Currently to solve this problem, i am using the following technique:
1.Process is only reading 5 messages per second from /dev/log and process them. The process sleeps for rest of the time per second.
2. Every 100 messages, the process sleeps for 5 seconds.
This solution brings down the CPU consumption. On some CPU configurations, it is less than 1% CPU consumption. But on others still varies from 3-13%.
Please tell me if the processing delay technique used has some fundamental faults, or what is the correct technique of introducing processing delay for controlling CPU consumption.
Please also tell your suggestions for controlling CPU consumption. I would also appreciate , if you can redirect me to some links where i can find CPU consumption control techniques and fundamentals.
Thanks and regards.
|
|
|
|
|
Asking the same question over and over will not change the answer!
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|