=======To BRAND and .EXE file===========
Several things need to be done in order to "brand" an .EXE file:
1. In the .EXE file itself, you need to place several constants. The
Implant function looks for a string of characters, usually 30 characters
long, all the same, such as:
Global Const UserName$ = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
Global Const UserCo$ = "YYYYYYYYYYYYYYYYYYYYYYYYYYYYYY"
Global Const UserID$ = "ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ"
Note, each constant must have a different letter.
2a. In SETUP1.FRM, install the following code in Form_Load():
Sub Form_Load ()
.
.
.
'--------------------------------------------------------------------------------
'GET USER INFORMATION (name, company and serial number)
'-this section should be placed BEFORE the section that copies the files to the
'-destination subdirectory so that subsequent installations will already have the
'-user information installed.
'--------------------------------------------------------------------------------
title$ = dialogCaption$
caption1$ = "Please enter the following information. Your serial number is found on your diskette."
ShowUserDialog title$, caption1$, SourcePath$, outButton$
If outButton$ = "exit" Then GoTo ErrorSetup
.
.
.
End Sub
2b. Go to (general) / (declarations) section in SETUP1.FRM and enter the following code:
Sub ShowUserDialog (title$, caption1$, SourcePath$, outButton$)
Screen.Mousepointer = 11
Load UserDlg
UserDlg.caption = title$
UserDlg.Label1.caption = caption1$
UserDlg.SourcePath.tag = SourcePath$
CenterForm UserDlg
Screen.Mousepointer = 0
UserDlg.Show 1
outButton$ = UserDlg.outButton.tag
Unload UserDlg
End Sub
3. Make sure and add USER.FRM to your SETUP1.MAK and recompile.
The end result should be an installation which, with the FIRST installation, asks for the
user name, company and serial number (usually, I put it on the installation diskette),
however, will simply install on subsequent installations with the user name, company and
serial number already in place - will not be asked again for the information.
If you like the programming, let me know.
C. Mark Teter, M.D.
Indian Territory Software
P. O. Box 52765
Tulsa, Oklahoma 74152-0765
CompuServe 72530,626
As I said before, I no longer use this on my distribution diskettes, I want my programs to
be as widely distributed as possible, but to note when booting that the program is an
EVALUATION copy. Of course, the REGISTERED copy is the same. I simply send the customer an
"authorization code" which is an encrypted code derived from the user's name. That way, the
user can give a copy of my diskette to anothe person and the other person will see that it's
an EVALUATION copy again, because they don't have the code and, even if they do, it will only
register under the registered user's name. cmt.
exe.zip_exe_序列号
版权申诉
190 浏览量
2022-09-20
13:53:50
上传
评论
收藏 4KB ZIP 举报
![avatar](https://profile-avatar.csdnimg.cn/36163497263541e6b6d5b627b1692a97_weixin_42653691.jpg!1)
朱moyimi
- 粉丝: 65
- 资源: 1万+
最新资源
- 10Eclipse项目源码.jpg
- 大屏可视化数据课程项目
- Maven 快速入门指南:安装和配置方法详解
- STM32物信息通过MQTT协议上传云平台
- STM32物信息通过MQTT协议上传云平台
- 基于Selenium的Java爬虫实战(内含谷歌浏览器Chrom和Chromedriver版本122.0.6260.0)
- 基于Selenium的Java爬虫实战(内含谷歌浏览器Chrom和Chromedriver版本122.0.6259.0)
- 基于Selenium的Java爬虫实战(内含谷歌浏览器Chrom和Chromedriver版本122.0.6258.0)
- 基于Selenium的Java爬虫实战(内含谷歌浏览器Chrom和Chromedriver版本122.0.6257.0)
- Screenshot_2024_0614_022736.png
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback-tip](https://img-home.csdnimg.cn/images/20220527035111.png)