Hi Dear Friends, The Question is related to V.B and Activex DLL. I have made a "NomanDll1.dll" file with the following code : Public Function abc() MsgBox "My name is Noman Iqbal" End Function An Standard Exe Project with the follwoing Code : Private Declare Function abc Lib "NomanDll1" () Private Sub Form_Load() Call abc End Sub Now when I run this standard exe project it gives me an error which is "Run-time Error 453 Can't find DLL entry point abc in NomanDll1"
I don't understand the problem. Can any body tell me that why this error is coming and what is it's solution.
Hi noman you have not given any reference of your dll server in your client application, your client does not know where the dll file is so just go the project->references->browse and give the reference of your dll server
Friends, I have added the Dll file in the references also but still the same problem.
Joined: Jun 25, 2001
Hi Dear Friends, Friends what I want is that in V.B I want to make a DLL File which would be like Windows Dll Files (e.g user32.dll) which requires it's decleration of methods and can not be imported in the Project-->References. The decleration is like when we call some Windows API like "ExitwindowsEX" from "user32.dll". It's decleration is follows : Decleration of ExitwindowsEx : Public Declare Function ExitWindowsEx Lib "user32" Alias "ExitWindowsEx" (ByVal uFlags As Long, ByVal dwReserved As Long) As Long Waiting for your reply. bye Noman Iqbal (SCJP2 & SCWCD).