- 1、本文档共29页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
VB6.0应用程序源代码(国外英文资料)
VB6.0应用程序源代码(国外英文资料)
Open the shortcut as well as the program
SHELL path
2: open the hard disk or file
Shell Explorer F:, vbNormalFocus
3: open my computer resource manager
Shell, EXPLORER.EXE, /n, /e:: {20D04FE0-3AEA-1069-A2D8-08002B30309D}
4: open the web page
SHELL explorer.exe
Parameter description
/n means opening a new window in my computer, usually opening the root directory of the Windows installation partition.
/e means opening a new window in Explorer, and usually opening the root directory of the Windows installation partition.
/root, [path] means open the specified folder, /root indicates that only the file (folder) below the specified folder is displayed, no other disk partitions and folders are displayed, and [path] indicates the specified path.
If you do not add the /root parameter and use only the [path] parameter, you can display the contents of the other disk partitions and folders. In addition, [path] can also specify a network shared folder.
/select, [path, filename] means open the specified folder and select the specified file. [path filename] represents the specified path and file name.
If the /select parameter is not added, the system opens the file with the associated associated program. If [path filename] does not follow the file name, you will open the higher directory of that folder and select the folder.
Hyperlink
Private, Sub, Label1_Click ()
ShellExecute, hWnd, open, , vbNullString, vbNullString, conSwNormal
End Sub
Talk about the next one
minimize
Private, Sub, Command2_Click ()
Form1.WindowState = 1
End Sub
This is very simple, that is, set a button, okay. Thats right. By the way, closing is the simplest end, okay, then
IF sentence description, this is the most basic sentence in programming, I do a small example, such as if you want to show the asterisk
Set up here
If Text1.Text = 463746790 Then, here is the default password for the setting
MsgBox the registration code is correct! Thanks for using! System prompt, this is a prompt for
文档评论(0)