option explicit private sub form_load() frmsplash.lbllicenseto=app.legaltrademarks frmsplash.lblcompanyproduct=app.productname frmsplash.lblplatform="window 98" frmsplash.lblcopyright=app.legalcopyright frmsplash.lblcompany=app.companyname frmsplash.lblwarning="Warning:this program is protected" & _ "by copyright law,so don注释:t copy " frmsplash.show doevents initialize unload frmsplash end sub
---- 注意这里使用了app对象,该对象可以访问有关你的应用程序的信息;
---- splash screen 窗体摸板代码模块的代码如下所示:
Private Sub Form_keydivss(keyascii as integer) unload me End sub
Private sub form_load() lblversion.caption="version"&app.major&". "app.minor"."app.revision lblproductname.caption=app.title end sub private sub frame1_click() unload me End Sub