想用vb设计一个程序

[复制链接]
查看11 | 回复2 | 2012-11-25 13:32:07 | 显示全部楼层 |阅读模式
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long Private Sub Command1_Click()Dim patpat = "C:\XXX.doc" '文件路径ShellExecute M...
回复

使用道具 举报

千问 | 2012-11-25 13:32:07 | 显示全部楼层
Option ExplicitPrivate Sub Command1_Click()
Shell "Rundll32.exe url.dll, FileProtocolHandler " & "C:\Documents and Settings\Administrator\桌面\班_队_活_动_记_录.doc", vbNormalFocus...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行