表格加载 [英] Form Load

查看:86
本文介绍了表格加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚创建了大约6个vb.net .exe,我需要

安排它们在不同的时间运行。我正在考虑

关于使用内置的任务调度程序与windows

server 2000.我在表单加载事件中有我的代码所以

当exe打开它会执行。是否有一个

命令我可以在代码末尾用来关闭exe

文件。


另外,是有一个更好的方法来执行.net代码。我是

还运行sql server 2000.我应该使用DTS

服务器SQL提供的吗?


请指教!


谢谢

解决方案

如果没有必要的UI,我认为你可以写一个Windows服务

而不是Windows窗体应用程序取决于你想做什么。如果你是做bql server数据操作的
,我会选择一个DTS包,因为你提到了



brian <峰; bs ****** @ lbrspec.com>在留言中写道

新闻:1e **************************** @ phx.gbl ... < blockquote class =post_quotes>我刚刚创建了大约6个vb.net .exe,我需要安排它们在不同的时间运行。我正在考虑使用内置的任务调度程序与windows服务器2000.我在表单加载事件中有我的代码所以
当exe打开时它将执行。是否有一个
命令,我可以在代码的末尾使用它来关闭exe
文件。

另外,是否有更好的方法来执行.net代码。我也在运行sql server 2000.我应该使用DTS
服务器SQL提供吗?

请指教!

谢谢


I have about 6 vb.net .exe I just created and I need to
schedule them to run at different times. I am thinking
about using the built in task scheduler with windows
server 2000. I have my code in the form load event so
when the exe is opened it will execute. Is there a
command I can use at the end of the code to close the exe
file.

Also, is there a better way to execute .net code. I am
also running sql server 2000. Should I be using the DTS
server SQL offers?

Please advise!

Thank You

解决方案

If there''s no necessary UI, I would think you could write a windows service
instead of a windows forms app depending on what you want to do. If you''re
doing sql server data manipulation, I would opt for a DTS package, as you
mentioned.

"brian" <bs******@lbrspec.com> wrote in message
news:1e****************************@phx.gbl...

I have about 6 vb.net .exe I just created and I need to
schedule them to run at different times. I am thinking
about using the built in task scheduler with windows
server 2000. I have my code in the form load event so
when the exe is opened it will execute. Is there a
command I can use at the end of the code to close the exe
file.

Also, is there a better way to execute .net code. I am
also running sql server 2000. Should I be using the DTS
server SQL offers?

Please advise!

Thank You



这篇关于表格加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆