请问高手,闪现窗体怎么做啊,写详细一点好啊,我基础差,谢谢!
解决方案 »
- 数据库中某字段中,第i题出现的次数
- 在access中将查询的数据导出到excel
- 新建一个COM+时,服务器应用程序与库应用程序区别?
- 如何读取指定目录下所有文件名(包括子目录内文件名)?并存放在某一数组变量中。。。。
- HTTP协议,服务器端返回这个是什么意思啊?
- 非常简单的问题?
- 在水晶报表中如何调用存贮过程?在线等!!!
- 急急急急急急急急急急。大家好,一个毕业设计,要做一个vb(6.0)软件,需要一种查询技术,但不会做。
- 我在一个FORM里建立了一个Set fs = CreateObject("Scripting.FileSystemObject")……
- >>>>>>>>>透明窗体的问题 新函数 SetLayeredWindowAttributes<<<<<<<<
- 怎样一条SQL来查询,一个数据库中(含有多个表)所有符合条件的记录
- 我的一个sql server表中有79个列,是不是数据列太多了不好啊?
设置form1.left=8000
form1.top=-3000
加入timer控件
Private Sub Timer1_Timer()
Dim x As Integer, y As Integer
x = 500: y = 600
If Form1.Left > 3000 Then
Form1.Left = Form1.Left - x
End If
If Form1.Top < 2000 Then
Form1.Top = Form1.Top + y
End If
End Sub
Option ExplicitPrivate Sub Form_KeyPress(KeyAscii As Integer)
Unload Me
End SubPrivate Sub Form_Load()
frmSplash.Picture = LoadResPicture(116, vbResBitmap)
Load Form1
Form1.Show
End SubPrivate Sub Form_Click()
Unload Me
End SubPrivate Sub Form_Paint()
With frmSplash
.ForeColor = vbRed
.CurrentX = 2000
.CurrentY = 200
End With
Print "Media Player"
With frmSplash
.ForeColor = vbBlue
.FontName = "system"
.FontSize = 10
.CurrentX = 2700
.CurrentY = 840
End With
Print "Version " & App.Major & "."; App.Minor & App.Revision
With frmSplash
.ForeColor = vbBlack
.FontName = "MS Serif"
.FontSize = 8
.CurrentX = 1680
.CurrentY = 1700
End With
Print "Distributed by:"
frmSplash.CurrentX = 1680
Print "Seven Wolf Studio HeBei China"
End SubPrivate Sub Timer1_Timer()
DoEvents
Unload Me
End Sub
---------------------------------
timer1设置为5秒
Dim i
If Check1.Value = 0 Then
Timer1.Enabled = False
i = FlashWindow(Form1.hwnd, 0)
Else
Timer1.Enabled = True
End If
End SubPrivate Sub Timer1_Timer()
Dim i
i = FlashWindow(Form1.hwnd, 1)
End Sub这下你们满意了吧!