作者gecer (gecer)
看板Visual_Basic
标题[VB6 ] [VBA]如何引用 class dll
时间Sun Dec 11 21:19:50 2016
http://linqtostdf.codeplex.com/releases/view/13681
小弟想要引用上列网址的dll , 但是不知道要如何从它的source code 来看 应该是C#所写的
但是C#是物件导向语言 需要宣告class , 请教VBA/VB6 如何引用这个dll file
恳请版大们帮忙
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 1.34.174.37
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Visual_Basic/M.1481462393.A.F35.html
※ 编辑: gecer (1.34.174.37), 12/11/2016 21:20:21
1F:→ waiter337: Private Declaere Function xxxxx Lib "shell32.dll" 12/11 22:44
2F:→ waiter337: 接上行 Alias "ShellexecuteA" (ByVal hWnd As Long, 12/11 22:46
3F:→ waiter337: 接上行 ByVal lpOperation As String, Const SW SHOW = 12/11 22:48
4F:→ waiter337: 接上行 5 12/11 22:48
5F:→ waiter337: --------------------------------------------------- 12/11 22:48
6F:→ waiter337: Private sub commandbutton1_click() '<-用表单按钮 12/11 22:49
7F:→ waiter337: Call xxxxxxx(0&, vbNullString, "http://www. 12/11 22:50
8F:→ waiter337: 承上 yahoo.com.tw", vbNullString, 12/11 22:50
9F:→ waiter337: 接上行 vbNormalFocus) 12/11 22:51
10F:→ waiter337: End sub 12/11 22:51
11F:→ waiter337: xxxxxx改成Shellexecute 12/11 23:07
12F:→ waiter337: 第一行 Declaere 改成 Declare 12/11 23:11
13F:→ waiter337: = = 12/11 23:22