Try Declare "Function T4FindCOMPort Lib ""T4CE.dll"" () As String"
George Henne NS BASIC Corporation http://www.nsbasic.com >Stuck on a coding problem not sure if you can help with it or not >In a module I have the line of code >Declare "Function ""T4FindCOMPort"" Lib ""T4CE.dll"" () As String" > >In the Form load I have the code >Dim sCom >sCom = T4FindCOMPort() > >I have added the resouce T4CE.dll to the project > >when i run the program i get this error >VBScript runtime error Type Mismatch `T4FindCOMPort' > >How can I correct this issue? > > > > >------------------------------------ > >Yahoo! Groups Links > > > -- You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en.
