[VB6/VBA]如何引用 class dll

作者: gecer (gecer)   2016-12-11 21:19:50
http://linqtostdf.codeplex.com/releases/view/13681
小弟想要引用上列網址的dll , 但是不知道要如何從它的source code 來看 應該是C#所寫的
但是C#是物件導向語言 需要宣告class , 請教VBA/VB6 如何引用這個dll file
懇請版大們幫忙
作者: waiter337 (給開司一罐蘇格登)   2016-12-11 22:44:00
Private Declaere Function xxxxx Lib "shell32.dll"接上行 Alias "ShellexecuteA" (ByVal hWnd As Long,接上行 ByVal lpOperation As String, Const SW SHOW =接上行 5---------------------------------------------------Private sub commandbutton1_click() '<-用表單按鈕Call xxxxxxx(0&, vbNullString, "http://www.承上 yahoo.com.tw", vbNullString,接上行 vbNormalFocus)End subxxxxxx改成Shellexecute第一行 Declaere 改成 Declare= =https://goo.gl/pwI2ZH 比較快

Links booklink

Contact Us: admin [ a t ] ucptt.com