|
Hi all
I am developing a Voice Chat Application.....
I used DirectSound For Capturing the Audio. Using WaveFormat I am capturing the audio bytes and sending it over the client.....
My client is receiving the Audio Byte...But it is not playing.......
Can anyone tell me what will be the reason.......
Thanks in Advance
Vayanan
|
|
|
|
|
vayanan wrote: Can anyone tell me what will be the reason.......
Their volume is turned off.
Seriously, it's hard to tell if you don't give us more detail. How are you trying to play it ? Is it stored in a file first ? What does the code look like ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I need a code generator which will generate class for my Table adapter (which has insert update delete fillby etc methods). I have tried CodeSmith seems not working with the tnsnames.ora conn string.
If there is any other alternate solution that is also welcomed.
Thanks,
|
|
|
|
|
I don't use Oracle (I downloaded it once and it ground my PC to a halt!), but does any of this stuff[^] from their site help?
Dave
|
|
|
|
|
May be I couldn't express it correctly. I need a c# code for codegenerator which is going to generate code for my Data Access Objects, one like CodeSmith etc does. I have code ready for objects but have to get it for writing Insert update Delete method. I mentioned oracle as most of the tools work good for MSSQL.
Hope you got it!
|
|
|
|
|
Anything here[^] help ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
You want to use an ORM that supports Oracle, right ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Het2109 wrote: Does Anyone has a Codegenerator for Oracle DAL
I have, which is not going to be useful for you, even if I'm willing to give it to you...
You best bet is IF you are using IDbConnection etc, you can swap SQL client to Oracle client using ODNET, with some adjustment to the SQL syntax.
|
|
|
|
|
It's possible I open OpenFileDialog with Windows Impersonation, which show map drives network user impersonated.
Thanks!
|
|
|
|
|
|
Hi friends.
I want to know how I can handle any press keys in my C# form?
Thanks.
Sorry for my English. I'm a freshman .
|
|
|
|
|
look at the events for your form. In particular, you want to look at the following events:
Hope this helps.
dimaj
|
|
|
|
|
I did it, but it doesn't work
Sorry for my English. I'm a freshman .
|
|
|
|
|
Sorry, for some reason my previous message got cropped... Events that I meant originally were KeyUp, KeyDown and KeyPress
dimaj
|
|
|
|
|
With the key press event. What keys are you having trouble with ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
If you want to handle key press before it reaches controls set KeyPreview property to true.
If you want to handle key presses even when your form doesn't have focus you will need global keyboard hook. There are several articles about it here at codeproject.
Happy searching.
Giorgi Dalakishvili
#region signature
my articles
#endregion
|
|
|
|
|
Thanks guys.
Sorry for my English. I'm a freshman .
|
|
|
|
|
Hello all!
I'm trying to write a little application in C# which will call a method/property of an object on another application. So, for example, I have an application A, which has a Text Box and I want to write an application B which will print out contents of the Text Box on application A.
I was trying to mess around with AppDomain and Assembly, but, unfortunately, I didn't get very far.
Could anybody give me a hint of where to begin?
Thanks in advance for your help.
dimaj
|
|
|
|
|
|
Hello Mike!
Thanks for a quick reply. I can't say that Inter-Process communications would do the trick for me here. I was hoping to accomplish it by using Reflection.
My original inspiration to do this was UI Automation framework, but I got stuck almost immediately because our company uses a lot of 3rd party controls and UI Automation does some basic wrapper around controls that it sees. Plus, you cannot completely control the object you are looking at (but that's a different story). Anyhow, I found this application hawkeye[^]. This little app can identify object type and invoke different methods/events... I'm trying to achieve the same thing here.
Thanks again.
dimaj
|
|
|
|
|
dimaj wrote: Anyhow, I found this application hawkeye[^]. This little app can identify object type and invoke different methods/events... I'm trying to achieve the same thing here.
Then why don't you just use the code from that project?[^]
led mike
|
|
|
|
|
I've been trying to read that code, but I'm not getting anywhere with it. I've been debugging it hoping to see something that would do the trick for me, but it doesn't work per design when you debug it. Only when you actually run the code without interruptions it does the trick.
Maybe I'm doing something wrong...
dimaj
|
|
|
|
|
Are you writing both apps ? If not, you have to find the window and get it's text.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hello Christian!
I'm writing the "application B", "application A" is being developed by somebody else.
If I am not mistaken, I can use some Windows API to find the window id of the object I'm interested in. I can definitely get the window ID of the parent window (using Process class) and then drill my way down.
Thanks.
dimaj
|
|
|
|