摘要:我们通常希望有一台机器能经常挂在网上,现在有了adsl包月服务,这已经不是问题。但是最近adsl总是会断线,当我回家想从公司的机器上拷贝一些文件的时候,有时会发现已经连接不上了。所以我做个程序所要实现的功能有这么两个,一是用程序来实现adsl拨号,二是要定时检测网络状态,三是要在启动机器时运行(既注册为服务)我们先看一下如何做一个拨号程序首先建一个ras拨号的单元文件(这是网上搜集的)unit r......
摘要:
using xml as a data storage format 用xml做为数据存贮格式
问题提出:
在本地应用程序使用xml有什么意义?
回答:
介绍
web工业的发展导致开发人员通过传统科技致意和在面向客户端和服务端之间渐渐保持平衡。浏览器,协议,和脚本语言的新标准替换了其它的每个地方。下一步是xml-可扩展的标记语言,相信它会替代html并且做为主要的web......
如何限制邮件的大小(只能在 C/S方式下)limiting the size of an e-mail
problem:
you want to prevent users from sending an e-mail over a certain size.
solution:
there are two possible answers here.
server control
there is no parameter you can add to the servers notes.ini file to prevent mail from being routed based on the size of the document.
database design control
option 1:
you can limit the size of a document being mailed using the following formula as an input validation formula in a hidden, editable text field:
@if(@isdocbeingmailed & @doclength > 60000; @failure("too much"); @success)
the formula above will prevent a document greater than 60k from being mailed, you can change the number to the appropriate size for the...
下一页 摘要: 如何实现应用程序中的”回车”成tab?
也就是说当按enter键的时候,产生的效果是按了tab键.
下面是我经常使用的方法:
在你的数据模块中,添加如下代码:
interface
。。。。。。
type
tmessagehandler = class //使得回车消息转换成tab消息
class procedure appmessage(var msg:tmsg;var......