Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
Generalactive directory user password Pin
vcorn14-Jul-04 21:10
vcorn14-Jul-04 21:10 
GeneralFile Transfer using .NET Remoting Pin
joelwu14-Jul-04 19:34
joelwu14-Jul-04 19:34 
GeneralMethodology for Switch based on an object Pin
Shayne Husson14-Jul-04 18:14
Shayne Husson14-Jul-04 18:14 
GeneralRe: Methodology for Switch based on an object Pin
exhaulted14-Jul-04 22:17
exhaulted14-Jul-04 22:17 
GeneralRe: Methodology for Switch based on an object Pin
Werdna16-Jul-04 5:54
Werdna16-Jul-04 5:54 
QuestionHow to decide Page Break insertion criteria in RTF doc? Pin
sachinkalse14-Jul-04 16:38
sachinkalse14-Jul-04 16:38 
AnswerRe: How to decide Page Break insertion criteria in RTF doc? Pin
Nick Parker14-Jul-04 17:07
protectorNick Parker14-Jul-04 17:07 
GeneralRe: How to decide Page Break insertion criteria in RTF doc? Pin
sachinkalse14-Jul-04 20:32
sachinkalse14-Jul-04 20:32 
GeneralGENERIC SINGLETON (using... err... generics.) Pin
Anonymous14-Jul-04 16:01
Anonymous14-Jul-04 16:01 
GeneralRe: GENERIC SINGLETON (using... err... generics.) Pin
Nick Parker14-Jul-04 16:53
protectorNick Parker14-Jul-04 16:53 
Generalubiquitous error Pin
Anonymous14-Jul-04 15:23
Anonymous14-Jul-04 15:23 
GeneralRe: ubiquitous error Pin
Nick Parker14-Jul-04 17:00
protectorNick Parker14-Jul-04 17:00 
GeneralCrystal Report Pages Pin
Saktya14-Jul-04 14:29
Saktya14-Jul-04 14:29 
GeneralRe: Crystal Report Pages Pin
Pain_Elemental14-Jul-04 21:44
Pain_Elemental14-Jul-04 21:44 
QuestionFree menu/toolbar library? Pin
Arun Bhalla14-Jul-04 12:46
Arun Bhalla14-Jul-04 12:46 
AnswerRe: Free menu/toolbar library? Pin
Werdna16-Jul-04 5:58
Werdna16-Jul-04 5:58 
GeneralRegistering subclasses with their base Pin
khan200014-Jul-04 12:11
khan200014-Jul-04 12:11 
GeneralProblem accessing a function in a nested class Pin
crushinghellhammer14-Jul-04 11:07
crushinghellhammer14-Jul-04 11:07 
GeneralRe: Problem accessing a function in a nested class Pin
Nick Parker14-Jul-04 11:42
protectorNick Parker14-Jul-04 11:42 
GeneralRe: Problem accessing a function in a nested class Pin
crushinghellhammer14-Jul-04 11:57
crushinghellhammer14-Jul-04 11:57 
Nick, thanks for the reply! However, I still have a slight problem.

The constructor for StreamingPlayer needs three arguments - owner, DirectSound playback device and waveformat.

How do I include these in the function call? They are set in the function definition, i.e.

public StreamingPlayer(Control owner, Device device, WaveFormat format)
{
m_Device = device;
if (m_Device == null)
{
m_Device = new Device();
m_Device.SetCooperativeLevel(owner, CooperativeLevel.Normal);
m_OwnsDevice = true;
}

BufferDescription desc = new BufferDescription(format);
desc.BufferBytes = format.AverageBytesPerSecond;
desc.ControlVolume = true;
desc.GlobalFocus = true;

m_Buffer = new SecondaryBuffer(desc, m_Device);
m_BufferBytes = m_Buffer.Caps.BufferBytes;

m_Timer = new System.Timers.Timer(BytesToMs(m_BufferBytes) / 6);
m_Timer.Enabled = false;
m_Timer.Elapsed += new System.Timers.ElapsedEventHandler(Timer_Elapsed);
}
GeneralRe: Problem accessing a function in a nested class Pin
crushinghellhammer14-Jul-04 12:25
crushinghellhammer14-Jul-04 12:25 
GeneralRe: Problem accessing a function in a nested class Pin
Nick Parker14-Jul-04 13:19
protectorNick Parker14-Jul-04 13:19 
GeneralRe: Problem accessing a function in a nested class Pin
crushinghellhammer14-Jul-04 13:29
crushinghellhammer14-Jul-04 13:29 
GeneralRe: Problem accessing a function in a nested class Pin
Nick Parker14-Jul-04 15:19
protectorNick Parker14-Jul-04 15:19 
GeneralFileStream / BinaryReader Pin
PaleyX14-Jul-04 10:31
PaleyX14-Jul-04 10:31 

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.