Click here to Skip to main content
15,921,530 members
Home / Discussions / C#
   

C#

 
AnswerRe: FIle Pin
User 66587-Sep-06 23:15
User 66587-Sep-06 23:15 
AnswerRe: FIle Pin
saqib827-Sep-06 23:20
saqib827-Sep-06 23:20 
AnswerRe: FIle Pin
ejuanpp7-Sep-06 23:20
ejuanpp7-Sep-06 23:20 
AnswerRe: FIle Pin
papa807-Sep-06 23:40
papa807-Sep-06 23:40 
QuestionMemory leakage with ODBCConnection ?? Pin
GDavy7-Sep-06 22:49
GDavy7-Sep-06 22:49 
AnswerRe: Memory leakage with ODBCConnection ?? Pin
V.8-Sep-06 0:37
professionalV.8-Sep-06 0:37 
QuestionDocument Counter Pin
Pinda Mbobo7-Sep-06 22:06
Pinda Mbobo7-Sep-06 22:06 
QuestionSetting audio output channel for a mci-video Pin
sukitemp7-Sep-06 21:58
sukitemp7-Sep-06 21:58 
Hi!

Does anyone know, where i can specify a channel of my sound card to
play a mci-video?
I created a class Media, where i have 2 functions that are neccessary
for playing the movie:

1.) public void Open(string sFileName,System.Windows.Forms.PictureBox
videobox)
{
if(this.Status() == "playing")
this.Close();

sCommand = "open \"" + sFileName + "\" type mpegvideo alias
MediaFile style child parent " + videobox.Handle.ToInt32();
mciSendString(sCommand, null, 0, IntPtr.Zero);
sCommand = "put MediaFile window at 0 0 " + videobox.Width + " "
+videobox.Height;
mciSendString(sCommand, null, 0, IntPtr.Zero);

FileIsOpen = true;
}

2.)
public void Play()
{
if(FileIsOpen)
{
sCommand = "play MediaFile";

if (Repeat)
sCommand += " REPEAT";

mciSendString(sCommand, null, 0, IntPtr.Zero);

timer1.Enabled = true;
}
}

But where can i specify the channel for audio output????
As i said i have a sound card with 4 channels, additionally i have the
on board sound.
I want to play the sound on every channel - but how can i do this???
QuestionHow to create custom events in Windows Service Pin
Khaleek Ahmad7-Sep-06 20:08
Khaleek Ahmad7-Sep-06 20:08 
AnswerRe: How to create custom events in Windows Service Pin
Dave Kreskowiak8-Sep-06 3:10
mveDave Kreskowiak8-Sep-06 3:10 
QuestionC# and DAO Pin
myNameIsRon7-Sep-06 19:49
myNameIsRon7-Sep-06 19:49 
AnswerRe: C# and DAO Pin
saqib827-Sep-06 20:45
saqib827-Sep-06 20:45 
GeneralRe: C# and DAO Pin
myNameIsRon7-Sep-06 22:06
myNameIsRon7-Sep-06 22:06 
AnswerRe: C# and DAO Pin
Dave Kreskowiak8-Sep-06 3:08
mveDave Kreskowiak8-Sep-06 3:08 
GeneralRe: C# and DAO Pin
myNameIsRon8-Sep-06 5:44
myNameIsRon8-Sep-06 5:44 
QuestionRead/Write a file on remote pc Pin
saqib827-Sep-06 19:11
saqib827-Sep-06 19:11 
AnswerRe: Read/Write a file on remote pc Pin
CWIZO7-Sep-06 21:43
CWIZO7-Sep-06 21:43 
GeneralRe: Read/Write a file on remote pc Pin
saqib827-Sep-06 23:09
saqib827-Sep-06 23:09 
GeneralRe: Read/Write a file on remote pc Pin
CWIZO7-Sep-06 23:11
CWIZO7-Sep-06 23:11 
GeneralRe: Read/Write a file on remote pc Pin
saqib827-Sep-06 23:14
saqib827-Sep-06 23:14 
GeneralRe: Read/Write a file on remote pc Pin
CWIZO7-Sep-06 23:15
CWIZO7-Sep-06 23:15 
GeneralRe: Read/Write a file on remote pc Pin
saqib827-Sep-06 23:45
saqib827-Sep-06 23:45 
GeneralRe: Read/Write a file on remote pc Pin
CWIZO8-Sep-06 1:32
CWIZO8-Sep-06 1:32 
AnswerRe: Read/Write a file on remote pc Pin
Dave Kreskowiak8-Sep-06 2:58
mveDave Kreskowiak8-Sep-06 2:58 
QuestionFile transfer Pin
AB77717-Sep-06 18:57
AB77717-Sep-06 18:57 

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.