我想要一个这样的程序我想用VB写个欢迎使用本软件的东东 屏幕中间有一个窗体 窗体背后 有一张全屏的图片,要在屏幕的最顶端 数秒后窗体和图片都消失 这个程序的作用 是我在屏幕弹出窗体和图片时我要加载一个程序 屏幕中的窗体的图片要盖住加载程序的过程 程序加载完后 屏幕中的窗体和图片都消失 (大约2秒)
解决方案 »
- sql语句查询excel 2003表,求一sql语句
- 如何改变鼠标的图形?
- 请问vb6中如何通过controls属性得知某一控件如名xxxx textbox控件的存在与否,出了 for 循环遍历。
- 局域网中如何登录设置了密码的计算机?
- 在线急等:access sql insert语句的危险字符
- 如何将EXCEL内容导入access数据库
- vb下如何关于对象的拷贝
- DataGrid的一个问题(初学者),急急急!!!
- 还原数据库问题:请进
- vb的安装文件制作问题。急于请教各位大虾!!!
- 控件寻求!!!!!!!!!!
- API函数GetUserName在以“取消”的方式登录windows98时,返回值是否有问题??
Sub Main()
'加载展示屏幕
frmSplash.Show
frmSplash.Refresh
...你可以加载一个无边框的窗体,当他最大到全屏幕,... '加载主程序
Set fMainForm = New frmMain
Load fMainForm
'去掉展示屏幕
Unload frmSplash
fMainForm.Show
End Sub
(ByVal h%, ByVal hb%, ByVal x%, ByVal y%, _
ByVal cx%,ByVal cy%,ByVal f%) As Integer
Global Const SWP_NOMOVE = 2
Global Const SWP_NOSIZE = 1
Global Const FLAGS = SWP_NOMOVE Or SWP_NOSIZE
Global Const HWND_TOPMOST = -1
Global Const HWND_NOTOPMOST = -2 'To set Form1 as a TopMost form, do the following: res% = SetWindowPos (Form1.hWnd, HWND_TOPMOST, _
0, 0, 0, 0, FLAGS)
'if res%=0, there is an error
'To turn off topmost (make the form act normal again):
res% = SetWindowPos (Form1.hWnd, HWND_NOTOPMOST, _
0, 0, 0, 0, FLAGS)
Private Sub Form_Load()
frmSplash.WindowState = vbMaximized
frmSplash.Show '显示展示屏幕
DoEvents
'比较费时的处理程序或过程
Dim i As Long, d As Double
For i = 1 To 10000000
d = d + 1
Next
Unload frmSplash '关闭展示屏幕
End Sub