Click here to Skip to main content
15,905,508 members
Home / Discussions / C#
   

C#

 
GeneralRe: Get list of all emails in outlook / windows mail / express client Pin
EliottA27-Oct-08 2:11
EliottA27-Oct-08 2:11 
GeneralRe: Get list of all emails in outlook / windows mail / express client Pin
Thomas Stockwell27-Oct-08 2:17
professionalThomas Stockwell27-Oct-08 2:17 
GeneralRe: Get list of all emails in outlook / windows mail / express client Pin
EliottA27-Oct-08 2:53
EliottA27-Oct-08 2:53 
QuestionSetup / installer Pin
Jacob Dixon26-Oct-08 15:48
Jacob Dixon26-Oct-08 15:48 
AnswerRe: Setup / installer Pin
AhsanS26-Oct-08 18:55
AhsanS26-Oct-08 18:55 
AnswerRe: Setup / installer Pin
jzonthemtn27-Oct-08 1:59
jzonthemtn27-Oct-08 1:59 
QuestionDataGridView RowCount set is slow Pin
AndrusM26-Oct-08 13:17
AndrusM26-Oct-08 13:17 
QuestionCan FtpWebRequest handle only two connections simutaniously ? Pin
quorton26-Oct-08 11:07
quorton26-Oct-08 11:07 
AnswerRe: Can FtpWebRequest handle only two connections simutaniously ? Pin
leppie26-Oct-08 22:50
leppie26-Oct-08 22:50 
GeneralRe: Can FtpWebRequest handle only two connections simutaniously ? Pin
quorton27-Oct-08 0:15
quorton27-Oct-08 0:15 
GeneralRe: Can FtpWebRequest handle only two connections simutaniously ? Pin
leppie27-Oct-08 0:21
leppie27-Oct-08 0:21 
GeneralRe: Can FtpWebRequest handle only two connections simutaniously ? Pin
Pete O'Hanlon27-Oct-08 1:36
mvePete O'Hanlon27-Oct-08 1:36 
GeneralRe: Can FtpWebRequest handle only two connections simutaniously ? Pin
quorton27-Oct-08 2:00
quorton27-Oct-08 2:00 
GeneralRe: Can FtpWebRequest handle only two connections simutaniously ? Pin
Pete O'Hanlon27-Oct-08 5:40
mvePete O'Hanlon27-Oct-08 5:40 
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 

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.