Hi I created my own DLL in visual basic call SCheck.dll the project had only one file in it call StringCheck.cls. In this class there were different functions NumericOnly, AlphOnly, etc... When I go to declare a function in a program that is in that dll I get a message say that it couldn't find the entry point and I'm a bit confused why it won't work here is a piece of sample code from a program that I'm writing.
Option Explicit
Private Declare Function NumericOnly Lib "C:\VBProjects\DLLS\SCheck.dll" (ByVal ASCIIVal As Integer) As Integer
.
.
.
.
.
Private Sub txtOrder_KeyPress(KeyAscii As Integer)
KeyAscii = NumericOnly(KeyAscii) 'Returns zero if not numeric.
End Sub
Please help!!!!!
Thank you,
Derek J. Klingman
System Programmer
Micro League Software
www.MicroLeagueSoftware.com