Click here to Skip to main content
15,894,907 members
Home / Discussions / C#
   

C#

 
QuestionHelp require on transfering sms and video(MMS) from pc to mobile using SIP protocol Pin
kashif.qau26-Apr-06 10:41
kashif.qau26-Apr-06 10:41 
QuestionHtmlElement.OuterHtml.Replace(­) fails with COM exception Pin
cweeks7868126-Apr-06 10:28
cweeks7868126-Apr-06 10:28 
GeneralRe: HtmlElement.OuterHtml.Replace(­) fails with COM exception Pin
Guffa26-Apr-06 10:39
Guffa26-Apr-06 10:39 
GeneralRe: HtmlElement.OuterHtml.Replace(­) fails with COM exception Pin
cweeks7868126-Apr-06 10:49
cweeks7868126-Apr-06 10:49 
QuestionHow to read a file that is always written to? Pin
pistolenpaultje26-Apr-06 10:17
pistolenpaultje26-Apr-06 10:17 
AnswerRe: How to read a file that is continuedly written to? Pin
Guffa26-Apr-06 10:32
Guffa26-Apr-06 10:32 
GeneralRe: How to read a file that is continuedly written to? Pin
pistolenpaultje26-Apr-06 10:43
pistolenpaultje26-Apr-06 10:43 
GeneralRe: How to read a file that is continuedly written to? Pin
Ed.Poore26-Apr-06 12:30
Ed.Poore26-Apr-06 12:30 
AnswerRe: How to read a file that is continuedly written to? Pin
Office Lineman26-Apr-06 10:39
Office Lineman26-Apr-06 10:39 
GeneralRe: How to read a file that is continuedly written to? Pin
pistolenpaultje26-Apr-06 10:58
pistolenpaultje26-Apr-06 10:58 
GeneralRe: How to read a file that is continuedly written to? Pin
likefood26-Apr-06 11:31
likefood26-Apr-06 11:31 
GeneralRe: How to read a file that is continuedly written to? Pin
pistolenpaultje26-Apr-06 11:39
pistolenpaultje26-Apr-06 11:39 
GeneralRe: How to read a file that is continuedly written to? Pin
likefood26-Apr-06 11:54
likefood26-Apr-06 11:54 
AnswerRe: How to read a file that is always written to? Pin
CiNN26-Apr-06 16:33
CiNN26-Apr-06 16:33 
GeneralRe: How to read a file that is always written to? Pin
pistolenpaultje27-Apr-06 12:46
pistolenpaultje27-Apr-06 12:46 
QuestionC# Express Edition - Deployment Pin
econner26-Apr-06 10:05
econner26-Apr-06 10:05 
AnswerRe: C# Express Edition - Deployment Pin
Ed.Poore26-Apr-06 11:59
Ed.Poore26-Apr-06 11:59 
GeneralRe: C# Express Edition - Deployment Pin
econner26-Apr-06 12:08
econner26-Apr-06 12:08 
GeneralRe: C# Express Edition - Deployment Pin
Ed.Poore26-Apr-06 12:27
Ed.Poore26-Apr-06 12:27 
GeneralRe: C# Express Edition - Deployment Pin
econner26-Apr-06 16:38
econner26-Apr-06 16:38 
QuestionMDIcontainer transparency Pin
CiberwizZ26-Apr-06 8:08
CiberwizZ26-Apr-06 8:08 
Questionplaying an audio Pin
hafz26-Apr-06 7:55
hafz26-Apr-06 7:55 
i am developing a project on outgoing call. i want to play an audio file when the phone is connected. i have used the following code:
ITTerminalSupport ts = (TAPI3Lib.ITTerminalSupport)ia[0];
string str=TAPI3Lib.TapiConstants.CLSID_String_FilePlaybackTerminal;
//MessageBox.Show(str);
int k= TAPI3Lib.TapiConstants.TAPIMEDIATYPE_MULTITRACK;
//MessageBox.Show(k.ToString());
ITTerminal fpbt =
ts.CreateTerminal(str,k, TAPI3Lib.TERMINAL_DIRECTION.TD_CAPTURE);
ITMediaPlayback mp =(TAPI3Lib.ITMediaPlayback)fpbt;
object[] audiofile=new object[1];
audiofile[0]=@"C:\Documents and Settings\Ankita\Desktop\project\tapi3_dev\tapi3_dev\my 3rd file.wav";

mp.PlayList=audiofile;//because it requires objet array.

/*If you have already selected terminal by bcc.SelectTerminalOnCall(terminal)
then please unselect it by bcc.UnselectTerminalOnCall(terminal)*/

//bcc1.SelectTerminalOnCall(fpbt);

mc=(TAPI3Lib.ITMediaControl)fpbt;
try
{
mc.Start();//will start playing the audiofile.
}
catch(Exception exp)
{
MessageBox.Show(exp.Message.ToString());
}
the code runs successfully but without playing an audio file even though the file is in correct format.
can anyone help me. i am using a voice modem.
QuestionSystem Notify Pin
Sabry190526-Apr-06 7:07
Sabry190526-Apr-06 7:07 
AnswerRe: System Notify Pin
Ravi Bhavnani26-Apr-06 7:26
professionalRavi Bhavnani26-Apr-06 7:26 
QuestionProblem using COM dll Pin
shezh26-Apr-06 6:59
shezh26-Apr-06 6:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.