需要关闭运行的应用程序? [英] Need to closing running app?

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

问题描述

在VBScript中我有这个:

In VBScript I have this:

展开 | 选择 | Wrap | 行号

推荐答案

这是第一个!这是你第一次在ASP论坛发帖吗?


回答你的问题,你发布的最后四行用于回收内存,因为ASP没有内置垃圾收集机制,并且未能将这些行放入可能导致内存泄漏。注意这一行:
This is a first! Is this the first time you''ve posted in the ASP forum?

In answer to your question, the last four lines you posted are used to reclaim memory because ASP has no built in garbage collection mechanism, and failing to put those lines in could cause memory leakage. note this line:
展开 | 选择 | Wrap | 行号


@jhardman


(涵盖insertAlias' '眼睛)我确实做得很好,是的。


发生了什么事情,我跑了一晚,几次,它运作良好,但第二天打来电话,这让我想知道这个脚本是否引起了它。


脚本的原因是我有一台收银机PC,我希望它按计划检查生成的网页并打印出来。我只是设置WindowsXP调度程序每分钟运行一次脚本。


我现在唯一的问题是它是在默认收据打印机而不是第二个字母打印机上打印的。弗林尼给了我一些关于如何解决这个问题的内容。 Haven做的不仅仅是瞥了一眼,所以如果你已经知道了,我会很感激。
@jhardman
(covers insertAlias'' eyes) I did do an excellent job, yes.

What happened is I ran this one night, a few times, and it worked well, but the phone call came the next day, which leads me to wonder if that script caused it.

The reason for the script is I have a cash register PC where I want it to check for a generated web page on a schedule and print it. I just set WindowsXP scheduler to run the script every minute.

The only problem I have, right now, is it prints on the default receipt printer instead of the second letter printer. Frinny gave me a link of stuff to read on how to fix that. Haven''t done more than glanced at it so if you already know how, I''d appreciate it.


嗯,这个脚本只是打印到默认的打印机。我不知道改变这种行为的方法,但是如果你可以改变给定应用程序的默认打印机,那么可能会解决问题。我很好奇,在这里发布Frinny的链接,我会浏览它,看看我是否看到了明显的东西。


Jared
hmm, this script just prints to the default printer. I don''t know of a way to change that behavior, but if you could change the default printer for a given application, that might solve the issue. I''m curious though, post Frinny''s link here and I''ll skim through it, see if I see something obvious.

Jared

这篇关于需要关闭运行的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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