Click here to Skip to main content
15,902,777 members
Home / Discussions / C#
   

C#

 
Questioncircular references in controls? Pin
amatbrewer23-Jan-07 11:31
amatbrewer23-Jan-07 11:31 
AnswerRe: circular references in controls? Pin
Stefan Troschuetz23-Jan-07 11:52
Stefan Troschuetz23-Jan-07 11:52 
GeneralRe: circular references in controls? Pin
Luc Pattyn23-Jan-07 14:00
sitebuilderLuc Pattyn23-Jan-07 14:00 
GeneralRe: circular references in controls? Pin
aSarafian23-Jan-07 23:05
aSarafian23-Jan-07 23:05 
AnswerRe: circular references in controls? Pin
jayart24-Jan-07 1:28
jayart24-Jan-07 1:28 
QuestionRight Solution in VS.Net? Pin
harjin23-Jan-07 11:31
harjin23-Jan-07 11:31 
AnswerRe: Right Solution in VS.Net? Pin
Christian Graus23-Jan-07 12:41
protectorChristian Graus23-Jan-07 12:41 
QuestionSystem.Timers.Timer Pin
gigo2k623-Jan-07 10:00
gigo2k623-Jan-07 10:00 
Hi all,

i have the following problem then i use an timer

                <br />
_timer = new System.Timers.Timer();<br />
_timer.Interval = 60000;<br />
_timer.Elapsed += new System.Timers.ElapsedEventHandler(StopRecording);<br />
_timer.Start();<br />


this calls the
<br />
        public void StopRecording(object source, System.Timers.ElapsedEventArgs e)<br />
        {<br />
            this.m_FilterGraph.Stop();<br />
            MessageBox.Show("FERTIG");<br />
        }<br />


InvalidCastExecption does not handle by user code.

The Com-Objekt of Type "System.__ComObject" can not convert to interface "MVSmartControll.IMVSCFilterGraph2"

German full output:
Das COM-Objekt des Typs "System.__ComObject" kann nicht in den Schnittstellentyp "MVSmartControl.IMVSCFilterGraph2" umgewandelt werden. Dieser Vorgang konnte nicht durchgeführt werden, da der QueryInterface-Aufruf an die COM-Komponente für die Schnittstelle mit der IID "{3F7A5C55-B875-4ECE-BD28-843C3AE4628A}" aufgrund des folgenden Fehlers nicht durchgeführt werden konnte: Schnittstelle nicht unterstützt (Ausnahme von HRESULT: 0x80004002 (E_NOINTERFACE)).


if i call this.m_FilterGraph.Stop() manual all works fine.

any idea how i can fix this ? so i read that the timer create an threadpool.

greeting gigo
AnswerRe: System.Timers.Timer Pin
Christian Graus23-Jan-07 10:29
protectorChristian Graus23-Jan-07 10:29 
GeneralRe: System.Timers.Timer Pin
gigo2k623-Jan-07 10:34
gigo2k623-Jan-07 10:34 
GeneralRe: System.Timers.Timer Pin
Christian Graus23-Jan-07 10:38
protectorChristian Graus23-Jan-07 10:38 
AnswerRe: System.Timers.Timer Pin
Luc Pattyn23-Jan-07 14:07
sitebuilderLuc Pattyn23-Jan-07 14:07 
QuestionWPF frame control, pass options Pin
NikoTanghe23-Jan-07 9:22
NikoTanghe23-Jan-07 9:22 
Questionsearch text in html Pin
nima_dir23-Jan-07 8:39
nima_dir23-Jan-07 8:39 
QuestionPositioning controls on n Physical Screens [modified] Pin
TCHamilton23-Jan-07 7:58
TCHamilton23-Jan-07 7:58 
AnswerRe: Positioning controls on n Physical Screens Pin
Luc Pattyn23-Jan-07 14:17
sitebuilderLuc Pattyn23-Jan-07 14:17 
GeneralRe: Positioning controls on n Physical Screens Pin
TCHamilton24-Jan-07 7:52
TCHamilton24-Jan-07 7:52 
QuestionConfiugration files Pin
peshawarcoder23-Jan-07 7:36
peshawarcoder23-Jan-07 7:36 
AnswerRe: Confiugration files Pin
Bassam Saoud23-Jan-07 9:25
Bassam Saoud23-Jan-07 9:25 
QuestionCOM library stuff Pin
jesarg23-Jan-07 6:54
jesarg23-Jan-07 6:54 
AnswerGiving up on this method Pin
jesarg23-Jan-07 10:59
jesarg23-Jan-07 10:59 
QuestionGood class to get file info from JPG ? Pin
Marcos Hernandez23-Jan-07 6:49
Marcos Hernandez23-Jan-07 6:49 
AnswerRe: Good class to get file info from JPG ? Pin
Dave Kreskowiak23-Jan-07 7:46
mveDave Kreskowiak23-Jan-07 7:46 
GeneralRe: Good class to get file info from JPG ? Pin
Marcos Hernandez23-Jan-07 9:33
Marcos Hernandez23-Jan-07 9:33 
GeneralRe: Good class to get file info from JPG ? Pin
Dave Kreskowiak23-Jan-07 12:41
mveDave Kreskowiak23-Jan-07 12:41 

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.