无形应用 [英] Formless application

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

问题描述

我需要一个应用程序来开始运行它的过程,并保存日志,

它将通过计划任务自动执行,因此不需要

界面。我不想使用服务,因为它只需要运行一次或每周两次



如何制作应用程序没有接口?


-

谢谢

Wayne Sepega

杰克逊维尔,佛罗里达州

当一个男人与一个漂亮的女孩坐在一起一小时,这似乎是一分钟。但是

让他坐在热炉上一分钟,它比任何一小时都要长。

那是'相对论'。 - 阿尔伯特爱因斯坦

I need an application to start run it''s process, and save a log as it goes,
it will be automated with a scheduled task and as such requires no
interface. I don''t want to use a service as it only needs to run once or
twice a week.

How would one go about making an application with no interface at all?

--
Thanks
Wayne Sepega
Jacksonville, Fl
"When a man sits with a pretty girl for an hour, it seems like a minute. But
let him sit on a hot stove for a minute and it''s longer than any hour.
That''s relativity." - Albert Einstein

推荐答案

你可以把它变成一个控制台应用程序。


HTH


Wayne写道:
You could make it a console application.

HTH

Wayne wrote:
我需要一个应用程序来开始运行它的过程,并保存日志,
它将按计划自动完成任务,因此不需要
接口。我不想使用服务,因为它只需要运行一次或每周两次。

如何制作一个完全没有界面的应用程序?
I need an application to start run it''s process, and save a log as it goes,
it will be automated with a scheduled task and as such requires no
interface. I don''t want to use a service as it only needs to run once or
twice a week.

How would one go about making an application with no interface at all?



你仍然可以得到一个控制台窗口,我也不想要它。

" Sylvain Larin" < slarin@NOSPAM_gmail.com>在消息中写道

新闻:#T ************** @ TK2MSFTNGP12.phx.gbl ...
You still get a console window that way, I don''t want that either.
"Sylvain Larin" <slarin@NOSPAM_gmail.com> wrote in message
news:#T**************@TK2MSFTNGP12.phx.gbl...
你可以做到一个控制台应用程序。

HTH

Wayne写道:
You could make it a console application.

HTH

Wayne wrote:
我需要一个应用程序来开始运行它的进程,并将日志另存为它是
,它将通过计划任务实现自动化,因此不需要
接口。我不想使用服务,因为它只需要运行一次或每周两次。

如何制作一个完全没有界面的应用程序?
I need an application to start run it''s process, and save a log as it goes, it will be automated with a scheduled task and as such requires no
interface. I don''t want to use a service as it only needs to run once or
twice a week.

How would one go about making an application with no interface at all?



棘手的问题,因为设置Visible为False或执行

this.Hide()仅在表单有效后才能工作完成加载。


如果你进入Main函数并将Application.Run(new YourStartupForm)更改为Application.Run(),
表格将在后台加载,并且仍然是'b $ b''正在运行',只是不明显(就形式是

而言) 。


快速测试显示这项工作将在表单上抛出一个

启用的计时器,只需打印一些东西

out到了控制台。


Brendan
Tricky problem as setting Visible to False or doing a
this.Hide() only work after the form has finished loading.

If you head on into your Main function and change
Application.Run(new YourStartupForm) to Application.Run(),
the form will be loaded in the background and still
be ''running'', just not visibly (as far as the form is
concerned).

A quick tests to show this works would be throwing an
enabled timer onto the form that simply prints something
out to the console.

Brendan
-----原始消息-----
我需要一个应用程序开始运行它的进程,并保存
a日志它会自动执行计划任务,因此
不需要接口。我不想使用服务,因为它只需要
一周运行一次。

如何制作一个没有
界面的应用程序?
-
谢谢
Wayne Sepega
杰克逊维尔,佛罗里达

"当一个男人和一个漂亮女孩坐在一起一小时后,似乎是
就像一分钟。 Butlet他坐在一个热炉上一分钟,它比任何一小时都要多b $ b。这是相对论。 - 阿尔伯特爱因斯坦

-----Original Message-----
I need an application to start run it''s process, and save a log as it goes,it will be automated with a scheduled task and as such requires nointerface. I don''t want to use a service as it only needs to run once ortwice a week.

How would one go about making an application with no interface at all?
--
Thanks
Wayne Sepega
Jacksonville, Fl
"When a man sits with a pretty girl for an hour, it seems like a minute. Butlet him sit on a hot stove for a minute and it''s longer than any hour.That''s relativity." - Albert Einstein
.



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

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