作者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/m.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