[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