|
I've not used these stuff before except processing messages. However, I think you should convert the string to char[] and set it fixed then pass a pointer in the LParam.
Eslam Afifi
|
|
|
|
|
Hi All,
I am in a new situation for me i have to integrate a Microsoft Project into an asp.net application using C# i havent used Microsoft project until now so am really confused on how do get this task done.
I have to develop an interface where i can download a project into my asp.net application and vice versa.
I have searched a lot for help and all i get is automation of evrything except MS Project so if anyone of you can help me out of this situation its going to be a great help.
Hoping to see some replies asap.
Thanks in Advance,
Krishna.
|
|
|
|
|
kcadella wrote: I have searched a lot for help and all i get is automation of evrything except MS Project so if anyone of you can help me out
click here[^]
|
|
|
|
|
Thanks Mike , right now am working on something else i ll checkout the link and will mail you if i need any further help.
Thanks,
Krishna.
|
|
|
|
|
Hey Mike can you please provide me with some clear info on the integration of Project with visual studio.net am very very new to MS project so i wud appreciate if you help me out on this one.
Thanks,
Krishna.
|
|
|
|
|
Hello,
For my senior project, I need to make voice records from the microphone by using C#. I have made a research, but could not find a solution. What I want the program to accomplish is:
- It must periodicially record the sounds to any folder. For example, if the period is 5 seconds, the audio files can be such this:
* C:\MySounds\20090320172902.vaw -- (5 seconds)
* C:\MySounds\20090320172907.vaw -- (5 seconds)
* C:\MySounds\20090320172912.vaw -- (5 seconds)
(Naming the files is easy, it is not a problem).
- I have found a good example in this site:
http://www.codeproject.com/KB/audio-video/Mp3SoundCapture.aspx[^]
I wanted to use this program, but as I know, despite they are free source codes these kind of programs require a licence when we want to use in senior projects. Namely, we cannot use them in any project that can be sold in the future.
- I have made a research about sndrec32.exe . Some people had tried this like the following:
string strFilePath = @"C:\" + "file1001" + ".wav";
FileStream waveFile = File.Create(strFilePath);
waveFile.Close();
Process.Start("sndrec32", strFilePath);
But it didn't work. sndrec32.exe needs somebody to push its "RECORD" button and after five seconds, to push its "STOP" button, and then click "SAVE".
Is there any solution for my problem? Will I be able to record sounds from my microphone in periods of 5 seconds without paying for licence; namely with my "own" program?
Thanks...
|
|
|
|
|
Emre Gürbüz wrote: despite they are free source codes these kind of programs require a licence
I am assuming you meant "license".
Emre Gürbüz wrote: Namely, we cannot use them in any project that can be sold in the future.
Really? You believe that is what the following excerpt from the CPOL means?
The main points subject to the terms of the License are:
* Source Code and Executable Files can be used in commercial applications;
* Source Code and Executable Files can be redistributed; and
* Source Code can be modified to create derivative works.
and 3.D
You may distribute the standard version of the Executable Files and Source Code or
Derivative Work in aggregate with other (possibly commercial) programs as part of a larger
(possibly commercial) software distribution.
If you think that "can be used in commercial applications" means you "cannot use them in any project that can be sold in the future", then you might want to seek some assistance in interpreting the CPOL.
|
|
|
|
|
The following comments are copied from the source code of the project that I have given a link for:
// About Thomson and/or Fraunhofer patents:
// Any use of this product does not convey a license under the relevant
// intellectual property of Thomson and/or Fraunhofer Gesellschaft nor imply
// any right to use this product in any finished end user or ready-to-use final
// product. An independent license for such use is required.
// For details, please visit http://www.mp3licensing.com.
As I have understood, when you intend to use it in commercial applications, you need to have an independent license.
By the way, I am from Turkey, I may have faulty statements in my sentences, but trying to do my best
|
|
|
|
|
In this case you're right. If the CP article is using material patented by Thomson/Fraunhofer, CPOL only covers the CP article code; not the T/F material. AFAIK the T/F patents only cover the .mp3 format, so if you use the article code to save in a different format none of their restrictions should apply, leaving only the CPOL.
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall
|
|
|
|
|
Thanks Dan, I was in a meeting
|
|
|
|
|
Thanks to Dan you should have the information you are seeking.
|
|
|
|
|
Sure, use WinMM. Works fine for my projects. You will find articles using this approach to build frequency analyzers, both in C# and C++ (which you will have to translate to C# or wrap around with c++/cli) on codeproject. Search for sound analysis, guitar tuning, sound recording and FFT tuner etc. Alternative approach would be using MDX and their DirectSound api, but I could not make it work.
After you grab pure data you can save it after adding wave file header, which is well described in the internet.
|
|
|
|
|
I hv Created an application in which i hv to Attach the Database at the Time of Executing the exe file of my application ....
i knw i cn do this by the Command AttachDBfilename, but this will execue every time when the Form is Gettng loaded ...plzzz do help for me...
lplz help on this ...if u c nmail me on pvampire2006@gmail.com thn it will be allright ..
Pat
|
|
|
|
|
i no txtspk
Paresh Soni wrote: i knw i cn
you took txtspk to the next level
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Paresh Soni wrote: help on this
If I could read your post I'd love to help if I can.
|
|
|
|
|
see there is a database file .mdf with me ...now i want to attach wen i double click my application exe file ..plzz sir plz help on this code
|
|
|
|
|
Paresh Soni wrote: I hv Created an application in which i hv to Attach the Database at the Time of Executing the exe file of my application ....
i knw i cn do this by the Command AttachDBfilename, but this will execue every time when the Form is Gettng loaded ...plzzz do help for me...
lplz help on this ...if u c nmail me on pvampire2006@gmail.com thn it will be allright ..
U cn chk db b4 u rn nethng. I cn fnd rst kybrd?
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys
|
|
|
|
|
Pete O'Hanlon wrote: U cn chk db b4 u rn nethng. I cn fnd rst kybrd?
|
|
|
|
|
Paresh Soni wrote: hv
Paresh Soni wrote: i knw i cn
Paresh Soni wrote: plzzz
It would appear that you have encountered some kind of keyboard malfunction. I suggest you fix this first and then come back here to ask your questions.
|
|
|
|
|
Michael Schubert wrote: It would appear that you have encountered some kind of keyboard malfunction. I suggest you fix this first and then come back here to ask your questions.
It happens when you drool all over the keys. They get all gummed up.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys
|
|
|
|
|
Michael Schubert wrote: It would appear that you have encountered some kind of keyboard malfunction. I suggest you fix this first and then come back here to ask your questions.
That's what happens when you drool on your keyboard, you end up gumming up the keyboard. I think this is what they mean by sticky keys.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys
|
|
|
|
|
Sounds more like 10yr old to me.
Excellence is doing ordinary things extraordinarily well.
|
|
|
|
|
You think they don't drool?
|
|
|
|
|
Kwagga wrote: Sounds more like 10yr old to me
Nah, just another poor soul that was conscripted into service of yet another outsourcing company.
|
|
|
|
|
It may also cause an echo.
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
|
|
|
|