1.求VB源代码!论坛论坛!源码!论坛论坛weimob 源码 demo
2.如何用vb得到网页的源码源代码
求VB源代码!!论坛论坛bim轻量化源码!源码java项目源码影视
用记事本把下面的论坛论坛代码保存到Form1.Frm文件中。然后用VB打开,源码试试吧。论坛论坛
===========
VERSION
5.
Begin
VB.Form
Form1
BorderStyle
=
1
'Fixed
Single
Caption
=
"打地鼠"
ClientHeight
=
ClientLeft
=
ClientTop
=
ClientWidth
=
LinkTopic
=
"Form1"
MaxButton
=
0
'False
MinButton
=
0
'False
ScaleHeight
=
ScaleWidth
=
StartUpPosition
=
3
'窗口缺省
Begin
VB.CommandButton
Command1
Caption
=
"开始"
Height
=
Left
=
0
TabIndex
=
9
Top
=
Width
=
End
Begin
VB.Timer
Timer1
Interval
=
Left
=
Top
=
End
Begin
VB.PictureBox
Picture1
Height
=
Index
=
8
Left
=
ScaleHeight
=
ScaleWidth
=
TabIndex
=
8
Top
=
Width
=
End
Begin
VB.PictureBox
Picture1
Height
=
Index
=
7
Left
=
ScaleHeight
=
ScaleWidth
=
TabIndex
=
7
Top
=
Width
=
End
Begin
VB.PictureBox
Picture1
Height
=
Index
=
6
Left
=
0
ScaleHeight
=
ScaleWidth
=
TabIndex
=
6
Top
=
Width
=
End
Begin
VB.PictureBox
Picture1
Height
=
Index
=
5
Left
=
ScaleHeight
=
ScaleWidth
=
TabIndex
=
5
Top
=
Width
=
End
Begin
VB.PictureBox
Picture1
Height
=
Index
=
4
Left
=
ScaleHeight
=
ScaleWidth
=
TabIndex
=
4
Top
=
Width
=
End
Begin
VB.PictureBox
Picture1
Height
=
Index
=
3
Left
=
0
ScaleHeight
=
ScaleWidth
=
TabIndex
=
3
Top
=
Width
=
End
Begin
VB.PictureBox
Picture1
Height
=
Index
=
2
Left
=
ScaleHeight
=
ScaleWidth
=
TabIndex
=
2
Top
=
0
Width
=
End
Begin
VB.PictureBox
Picture1
Height
=
Index
=
1
Left
=
ScaleHeight
=
ScaleWidth
=
TabIndex
=
1
Top
=
0
Width
=
End
Begin
VB.PictureBox
Picture1
Height
=
Index
=
0
Left
=
0
ScaleHeight
=
ScaleWidth
=
TabIndex
=
0
Top
=
0
Width
=
End
Begin
VB.Label
Label1
AutoSize
=
-1
'True
Height
=
Left
=
TabIndex
=
Top
=
Width
=
End
End
Attribute
VB_Name
=
"Form1"
Attribute
VB_GlobalNameSpace
=
False
Attribute
VB_Creatable
=
False
Attribute
VB_PredeclaredId
=
True
Attribute
VB_Exposed
=
False
Dim
i
As
Integer,源码
t
As
Integer
Private
Sub
Command1_Click()
On
Error
GoTo
hErr
t
=
2
*
InputBox("请设置游戏时间,单位为秒:",论坛论坛
,
)
Caption
=
0
Timer1.Enabled
=
True
Command1.Enabled
=
False
hErr:
End
Sub
Private
Sub
Form_Load()
Timer1.Enabled
=
False
Randomize
For
Each
p
In
Picture1
p.FontName
=
"arial"
p.FontSize
=
Next
End
Sub
Private
Sub
Picture1_Click(Index
As
Integer)
If
Index
=
i
Then
Caption
=
Caption
+
1:
t
=
t
+
1:
Timer1_Timer
End
Sub
Private
Sub
Timer1_Timer()
For
Each
p
In
Picture1
p.Cls
Next
i
=
Int(Rnd
*
9)
Picture1(i).Print
i
+
1
t
=
t
-
1
Label1.Caption
=
"倒计时:"
&
Int(t
/
2)
If
t
=
0
Then
Timer1.Enabled
=
False:
MsgBox
"游戏结束,您共打到"
&
Caption
&
"次地鼠":
i
=
-1:
Command1.Enabled
=
True
End
Sub
如何用vb得到网页的源码源代码
1 先加载网页:
Private Sub Form_Load()
WebBrowser1.Navigate "/question/.html"
End Sub
2 加载完成后取字符串到文本框:
Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, URL As Variant)
Dim doc As Object, objhtml As Object
Dim strhtml As String
On Error GoTo errorsub
Me.Caption = WebBrowser1.LocationName & " 加载完成"
If MaxWebNum <= 0 Then
Set doc = WebBrowser1.Document
Set objhtml = doc.body.createtextrange()
If Not IsNull(objhtml) Then
strhtml = WebBrowser1.Document.body.innertext
Text1.Text = strhtml
End If
End If
Exit Sub
errorsub:
Text1.Text = "错误!!论坛论坛仿qq成品源码!源码"
论坛论坛html源码游戏平台End Sub
论坛论坛html源码游戏平台