ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.2052/cpref/html/frlrfsystemmessagingmessagequeueclasssendtopic.htm
解决方案 »
- webclinet代码和请求异常
- C# 连接远程oracle 连接字符串?
- c# 怎么做弹出菜单?
- 关于datagrid的列的显示问题!
- 请大家帮忙,急,如何在 winform 中,登陆需要用户名和密码验证的网页?
- 关于制作反安装程序
- 请问学过asp的,学ASP.NET或C#难吗?我想换工作
- 初学C#,怎么在第二个窗体中关掉第一个窗体
- 如何在asp.net中调用exchange2000中的帐号或往exchange2000中注册,高手先谢谢了
- winform如何实现界面(panel,tabpage)切换时,具有滚动或渐入出渐入特效?
- 请问在http://www.dotnet247.com上为什么看不到自己发的帖子阿
- 请问C#能否调用由C++创建的dll文件
http://chs.gotdotnet.com/QuickStart/aspplus/default.aspx?url=%2fquickstart%2fhowto%2fdoc%2fmqsend.aspx
{
if(command == 150)//150为自定义的消息,须在128 和 256 之间
{
//更改定时器的定时间隔
} base.OnCustomCommand (command);
}
{
this.timer1_Elapsed(this,null);
}private void timer1_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
{
try
{
//------------ 载入设置文件--------------------------------------------------------------//
DateTime dateSettings = File.GetLastWriteTime(m_SartUpPath + "\\Settings\\Settings.xml");
//检查配置文件是否在服务启动后更改过
if(DateTime.Compare(dateSettings,m_SettingsDate) != 0)
{
m_pFtpServers.Add(new mh_FTP_Server(m_SartUpPath + "\\Settings\\"));
m_SettingsDate = dateSettings;
/*
DataSet ds = new DataSet();
ds.ReadXml(m_SartUpPath + "\\Settings\\Settings.xml"); //---- 获取配置 --------------------------------------//
foreach(DataRow dr in ds.Tables["Servers"].Rows)
{
string ftpRoot = dr["FtpRoot"].ToString();
if(ftpRoot.EndsWith("\\"))
{
ftpRoot = ftpRoot.Substring(0,ftpRoot.Length - 1);
} string ip = dr["IP"].ToString();
int port = Convert.ToInt32(dr["Port"]); m_pFtpServers.Add(new mh_FTP_Server(ftpRoot,ip,port));
}*/
//--------------------------------------------------------//
}
}
catch(Exception x)
{
Error.DumpError(x,new System.Diagnostics.StackTrace());
}
}