This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / 仍然是.net里面windows service 调用 queued com+的问题。
-lilyba(sunshine困惑不懂装懂);
2003-12-17
{857}
(#1518772@0)
-
up
-lilyba(sunshine困惑不懂装懂);
2003-12-17
(#1518995@0)
-
up
-lilyba(sunshine困惑不懂装懂);
2003-12-17
(#1519052@0)
-
:(
-lilyba(sunshine困惑不懂装懂);
2003-12-17
(#1519117@0)
-
up for me.
-lilyba(sunshine困惑不懂装懂);
2003-12-17
(#1519558@0)
-
show your main Thread code. the Thread you Strat the Timer.
-guestagain(guest again);
2003-12-17
(#1519605@0)
-
是这个么?Protected Overrides Sub OnStart(ByVal args() As String)
'Here set the queue moniker private field
_queueMoniker = args(0)
'Here set the interval for the time
'Set proper Interval for different service
Me.Timer.Interval = 100
Me.Timer.Enabled = True
Me.Timer.Start()
End Sub
-lilyba(sunshine困惑不懂装懂);
2003-12-17
{368}
(#1519645@0)
-
不好意思,刚到家,Timer 的code看起来没有问题。试试在Timer_Elapsed里加一句:System.IO.File.Create("c:\" & System.DateTime.Now.Ticks.ToString()),看看是不是有多个文件生成,如果有,则不是Timer的问题。
-guestagain(guest again);
2003-12-18
(#1520349@0)
-
sorry,我正在测试,越急越出错。:(
-lilyba(sunshine困惑不懂装懂);
2003-12-18
(#1520363@0)
-
产生两个文件之后,再写文件时,开始出现错误信息:Access to the path "c:\6320........." is denied.
-lilyba(sunshine困惑不懂装懂);
2003-12-18
(#1520371@0)
-
hey,哥们,你是不是睡了。:(
-lilyba(sunshine困惑不懂装懂);
2003-12-18
(#1520389@0)
-
我可是在toronto。。。。。
-guestagain(guest again);
2003-12-18
(#1521699@0)