菜鸟的两个问题。

bluearc888 2004-02-15 04:15:06
1,偶想拖动无标题窗体。
模块:
Public Const HTCAPTION = 2
Public Const WM_NCLBUTTONDOWN = &HA1
Public Declare Function ReleasecCapture Lib "user32" Alias "ReleaseCapture" () As Long
Public Declare Function SendMessage Lib "user32" Alias "SendMessagea" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
窗体:
Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
ReleasecCapture
SendMessage hwnd, WM_NCLBUTTONDOWN, HTCAPTION, 0&
End Sub

一拖就提示...找不到入口点在user32...
本人用的是XP,请问如何解决?

2,为什么在XP-sp1下无法安装VBsp5,提示没有安装mdac_typ2.5,但我安装mdac_typ2.5时又提示我已经安装了mdac_typ程序无法更新。我只好去下mdac_typ2.7,但装了后还是不能装VBsp5提示依旧。。。如何解决?

多谢啦!!!




...全文
6 点赞 收藏 4
写回复
4 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复

还没有回复,快来抢沙发~

相关推荐
发帖
VB基础类
创建于2007-09-28

7493

社区成员

VB 基础类
申请成为版主
帖子事件
创建了帖子
2004-02-15 04:15
社区公告
暂无公告