Click here to Skip to main content
15,913,408 members
Home / Discussions / C#
   

C#

 
AnswerRe: best design for an responsibility system Pin
OriginalGriff10-Dec-19 22:21
mveOriginalGriff10-Dec-19 22:21 
GeneralRe: best design for an responsibility system Pin
KhaledMohammad11-Dec-19 1:03
KhaledMohammad11-Dec-19 1:03 
AnswerRe: best design for an responsibility system Pin
F-ES Sitecore10-Dec-19 22:35
professionalF-ES Sitecore10-Dec-19 22:35 
GeneralRe: best design for an responsibility system Pin
KhaledMohammad11-Dec-19 1:04
KhaledMohammad11-Dec-19 1:04 
QuestionC# VSTO Powerpoint add Text as Field Pin
Member 1357643710-Dec-19 19:10
Member 1357643710-Dec-19 19:10 
QuestionSending Bulk SMS using Multi Threading Pin
meeram399-Dec-19 18:41
professionalmeeram399-Dec-19 18:41 
AnswerRe: Sending Bulk SMS using Multi Threading Pin
OriginalGriff9-Dec-19 20:50
mveOriginalGriff9-Dec-19 20:50 
AnswerRe: Sending Bulk SMS using Multi Threading Pin
jkirkerx10-Dec-19 13:20
professionaljkirkerx10-Dec-19 13:20 
QuestionC# GMap: How to draw arc on a map Pin
Member 139442409-Dec-19 9:03
Member 139442409-Dec-19 9:03 
AnswerRe: C# GMap: How to draw arc on a map Pin
Luc Pattyn9-Dec-19 9:40
sitebuilderLuc Pattyn9-Dec-19 9:40 
QuestionWhich object's destructor is getting called in vector? Pin
_PitrakSarkar_9-Dec-19 1:59
_PitrakSarkar_9-Dec-19 1:59 
SuggestionRe: Which object's destructor is getting called in vector? Pin
Richard Deeming9-Dec-19 2:06
mveRichard Deeming9-Dec-19 2:06 
AnswerRe: Which object's destructor is getting called in vector? Pin
Richard MacCutchan9-Dec-19 3:56
mveRichard MacCutchan9-Dec-19 3:56 
QuestionWrite program Wpf C# calculator (OEE ) Pin
Member 146803725-Dec-19 21:39
Member 146803725-Dec-19 21:39 
QuestionRe: Write program Wpf C# calculator (OEE ) Pin
Richard MacCutchan5-Dec-19 22:32
mveRichard MacCutchan5-Dec-19 22:32 
AnswerRe: Write program Wpf C# calculator (OEE ) Pin
OriginalGriff5-Dec-19 22:41
mveOriginalGriff5-Dec-19 22:41 
AnswerRe: Write program Wpf C# calculator (OEE ) Pin
Crimson1st24-Jan-22 13:18
Crimson1st24-Jan-22 13:18 
QuestionC# Passing password to Web API Pin
Kevin Marois5-Dec-19 9:00
professionalKevin Marois5-Dec-19 9:00 
AnswerRe: C# Passing password to Web API Pin
Richard Deeming5-Dec-19 9:06
mveRichard Deeming5-Dec-19 9:06 
QuestionNaudio C# ASP.net Using MPG Video Pin
Member 1394308729-Nov-19 23:45
Member 1394308729-Nov-19 23:45 
I had a problem which I cannot solve for weeks and could not found any solution for it even I tried to look at NLayers but still not sure on how to do it. Can I ask that how can I read MPG Video into Naudio and control the left right channel? My customer does not want to change the video format to MP4, insist on using MPG file format for their KTV System.

Below is my snippet of codes

Im using Object as Player

C#
<object id="Player" width="50" height="50" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" VIEWASTEXT>
                    <param name="SendPlayStateChangeEvents" value="true" />
                    <param name="autostart" value="true" />
                    <param name="URL" value="<%=mySrc %>"/>
                    <param name="enabled" value="True"/>
                    <param name="balance" value="0"/>
                    <%--<param name="currentPosition" value="<%=myFForRewind %>"/>--%>
                    <param name="enableContextMenu" value="True"/>
                    <param name="fullScreen" value="true"/>
                    <param name="mute" value="False"/>
                    <param name="playCount" value="1"/>
                    <param name="rate" value="1"/>
                    <param name="stretchToFit" value="false"/>
                    <param name="uiMode" value="none"/>
                    <param name="volume" value="<%=myVolume %>"/>
                    <!--[if !IE]>-->
                    
                    <!--<![endif]-->
                </object>


The Naudio Code as below:


C#
protected void ImageButton7_Click(object sender, ImageClickEventArgs e)
            {
                Page.ClientScript.RegisterStartupScript(this.GetType(), "CallMyFunction", "StartMeUp()", true);
                player.player1 = new DirectSoundOut();
                player.player1.Init(player.mono);
                player.player1.Play();
            }

AnswerRe: Naudio C# ASP.net Using MPG Video Pin
Gerry Schmitz2-Dec-19 5:15
mveGerry Schmitz2-Dec-19 5:15 
AnswerRe: Naudio C# ASP.net Using MPG Video Pin
jkirkerx2-Dec-19 9:30
professionaljkirkerx2-Dec-19 9:30 
QuestionDrawString with opacity option not print properly Pin
Le@rner29-Nov-19 19:19
Le@rner29-Nov-19 19:19 
AnswerRe: DrawString with opacity option not print properly Pin
OriginalGriff29-Nov-19 20:17
mveOriginalGriff29-Nov-19 20:17 
GeneralRe: DrawString with opacity option not print properly Pin
Le@rner29-Nov-19 20:28
Le@rner29-Nov-19 20:28 

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.