Click here to Skip to main content
15,896,207 members
Home / Discussions / C#
   

C#

 
Questioninternet connection [modified] Pin
MS Hamedi26-Oct-08 7:58
MS Hamedi26-Oct-08 7:58 
AnswerRe: internet connection Pin
Mbah Dhaim26-Oct-08 13:18
Mbah Dhaim26-Oct-08 13:18 
QuestionRetrieve GAL from Microsoft Exchange Pin
Jassim Rahma26-Oct-08 4:13
Jassim Rahma26-Oct-08 4:13 
AnswerRe: Retrieve GAL from Microsoft Exchange Pin
Eddy Vluggen27-Oct-08 1:39
professionalEddy Vluggen27-Oct-08 1:39 
GeneralRe: Retrieve GAL from Microsoft Exchange Pin
EliottA27-Oct-08 6:19
EliottA27-Oct-08 6:19 
AnswerRe: Retrieve GAL from Microsoft Exchange Pin
Eddy Vluggen27-Oct-08 11:08
professionalEddy Vluggen27-Oct-08 11:08 
QuestionAUDIO frequency per second ? Pin
sana1726-Oct-08 4:01
sana1726-Oct-08 4:01 
AnswerRe: AUDIO frequency per second ? Pin
sana1726-Oct-08 4:08
sana1726-Oct-08 4:08 
sorry i forgot to pastre my code:


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Microsoft.DirectX.DirectSound;
using DS = Microsoft.DirectX.DirectSound;

public partial class Form1 : Form
{

private DS.Device sounddevice;
private SecondaryBuffer shotsound;
BufferDescription description;

public Form1()
{
InitializeComponent();
}

private void Form1_Load(object sender, EventArgs e)
{
sounddevice = new DS.Device();
sounddevice.SetCooperativeLevel(this, CooperativeLevel.Priority);
description = new BufferDescription();
description.ControlFrequency = true;
shotsound = new SecondaryBuffer(@"D:\fiese-lache1.wav", description, sounddevice);
shotsound.Play(0, BufferPlayFlags.Default);
timer1.Start();
}


private void timer1_Tick(object sender, EventArgs e)
{
label1.Text = shotsound.Frequency.ToString();
}


}


regards,
SANA

$@N@

GeneralRe: AUDIO frequency per second ? Pin
Shyam Bharath27-Oct-08 0:35
Shyam Bharath27-Oct-08 0:35 
AnswerRe: AUDIO frequency per second ? Pin
Mark Churchill26-Oct-08 13:37
Mark Churchill26-Oct-08 13:37 
QuestionTabcontrol type editor control Pin
Chris Copeland26-Oct-08 3:44
mveChris Copeland26-Oct-08 3:44 
QuestionSMO on 64-bit machine Pin
Rafone26-Oct-08 3:36
Rafone26-Oct-08 3:36 
AnswerRe: SMO on 64-bit machine Pin
#realJSOP26-Oct-08 4:27
professional#realJSOP26-Oct-08 4:27 
QuestionProblem Transforming ClipRectangle When Painting Pin
TheCloudlessSky26-Oct-08 2:06
TheCloudlessSky26-Oct-08 2:06 
QuestionImage compression Pin
ALAQUNAIBI25-Oct-08 21:52
ALAQUNAIBI25-Oct-08 21:52 
AnswerRe: Image compression Pin
User 665825-Oct-08 22:21
User 665825-Oct-08 22:21 
GeneralRe: Image compression Pin
ALAQUNAIBI26-Oct-08 0:36
ALAQUNAIBI26-Oct-08 0:36 
GeneralRe: Image compression Pin
Guffa26-Oct-08 1:42
Guffa26-Oct-08 1:42 
GeneralRe: Image compression Pin
Matty2226-Oct-08 3:12
Matty2226-Oct-08 3:12 
GeneralRe: Image compression Pin
Guffa26-Oct-08 11:03
Guffa26-Oct-08 11:03 
QuestionHow to work with Windows message queue in C#.Net 2005? Pin
Mehral25-Oct-08 15:58
Mehral25-Oct-08 15:58 
AnswerRe: How to work with Windows message queue in C#.Net 2005? Pin
Furty25-Oct-08 16:16
Furty25-Oct-08 16:16 
QuestionWhy *does* this work, and when will it *not* work? (Two-way MSMQ messaging using WCF) Pin
Furty25-Oct-08 15:39
Furty25-Oct-08 15:39 
AnswerRe: Why *does* this work, and when will it *not* work? (Two-way MSMQ messaging using WCF) Pin
Meer Osman Ali25-Oct-08 19:51
Meer Osman Ali25-Oct-08 19:51 
GeneralRe: Why *does* this work, and when will it *not* work? (Two-way MSMQ messaging using WCF) PinPopular
Furty25-Oct-08 20:38
Furty25-Oct-08 20:38 

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.