J
Jason Jacob
To all
I've written an ActiveX Dll project using VB6.
I've named the project as [cs_Dll_Trial] and the Project Description
is [Dll_Trial]
I've compiled the dll successfully, the name of the dll is
"csDllTrial_Project.dll"
Somehow I can import the reference to another VB standard project, but
somehow the program can't reference the dll I've made
code snippets...
under Module1
Public Declare Function getSProperty Lib "Dll_Trial" Alias
"getCSProperty" _
() As String
Public Declare Sub setSProperty Lib "Dll_Trial" Alias "setCSProperty"
_
(sMsg As String)
under Form1
Private Sub Command1_Click()
Module1.setSProperty (Text1.Text)
Text2.Text = Module1.getSProperty
End Sub
Error is "Runtime error 53-- File not found
ll_Trial"
It's strange, since I've tried nearly all the combinations such as
Dll_Trial, cs_Dll_Trial, cs_Dll_Trial.Dll_Trial, csDllTrial_Project
But none of them succeeded!?
Can anyone tell me what's wrong??
From Jason (Kusanagihk)
I've written an ActiveX Dll project using VB6.
I've named the project as [cs_Dll_Trial] and the Project Description
is [Dll_Trial]
I've compiled the dll successfully, the name of the dll is
"csDllTrial_Project.dll"
Somehow I can import the reference to another VB standard project, but
somehow the program can't reference the dll I've made
code snippets...
under Module1
Public Declare Function getSProperty Lib "Dll_Trial" Alias
"getCSProperty" _
() As String
Public Declare Sub setSProperty Lib "Dll_Trial" Alias "setCSProperty"
_
(sMsg As String)
under Form1
Private Sub Command1_Click()
Module1.setSProperty (Text1.Text)
Text2.Text = Module1.getSProperty
End Sub
Error is "Runtime error 53-- File not found

It's strange, since I've tried nearly all the combinations such as
Dll_Trial, cs_Dll_Trial, cs_Dll_Trial.Dll_Trial, csDllTrial_Project
But none of them succeeded!?
Can anyone tell me what's wrong??
From Jason (Kusanagihk)