Hallo George, du weißt ja, das wir mal über das PhoneGap und native App erstellen
geschrieben hatten. Prima, das es nun doch geht, so wie ich es in PhoneGape als auch mit dir geschrieben hatte. Danke für die neuste Aktualisierung von AppStudio. Also hat PhoneGap wie gewünscht das geändert, sodass nun keine Begrenzung mehr vorhanden ist, eine alte APP durch eine neue App mit build.phonegape zu erzeugen. Nochmals vielen Dank Gruß, Falko Von: [email protected] [mailto:[email protected]] Im Auftrag von George Henne Gesendet: Donnerstag, 25. Oktober 2012 10:29 An: [email protected] Betreff: Re: [nsbasic-ce] Re: mEnable example Thanks for the good news! George Henne NS BASIC Corporation http://www.nsbasic.com > >Hi again, > >Just to let you know that I got it working. I still need to work out >the details, but I'm connecting to the desktop database now. > >There is no need to use AddObject, only to declare the function prototypes. > >Thanks, >Edgard > > > > >--- In [email protected] <mailto:nsbasic-ce%40yahoogroups.com> , "elriba75" <edgard.riba@...> wrote: >> >> >> BTW, >> >> I tried >> >> AddObject "mEnable" >> >> >> But it gives an error. >> >> Edgard >> >> --- In [email protected] <mailto:nsbasic-ce%40yahoogroups.com> , "elriba75" <edgard.riba@> wrote: >> > >> > Hi George, >> > >> > I translated the code that came with mEnable. There are two areas >on which I have problems. >> > >> > One is with one function that returns the errors: >> > >> > 'First a series of external functions are declared. The >> > '..following is the ERROR one: >> > Declare "Function MENError Lib ""mEnable"" (ByVal hHandle As Long, >ByVal lpszErrorMessage As String, ByVal cbErrorMessage As Long, ByRef >pcbErrorMessage As Long) As Long" >> > >> > 'Then, the "helper" function that uses the above (I commented >> > '..out the original version): >> > 'Function mEnableError(Handle As Long, ErrorMessage As String) >> > ' As Boolean >> > Function mEnableError(Handle, ByRef ErrorMessage) >> > Dim maxLen 'As Long >> > Dim strLen 'As Long >> > Dim result 'As Long >> > >> > ErrorMessage = String(255, vbNullChar) >> > >> > maxLen = Len(ErrorMessage) >> > result = MENError(Handle, ErrorMessage, maxLen, strLen) >> > ErrorMessage = LeftB(ErrorMessage, strLen * MENCharWidth()) >> > >> > If result = 0 Then >> > mEnableError = False >> > Else >> > mEnableError = True >> > End If >> > End Function >> > >> > I have two questions: >> > 1) From the above, it looks like it indeed uses a DLL. How do I >link the dll to my application? >> > 2) The above mEnableError function is currently failing. Could it >be that I mis-translated, or is it that the DLL is not linked? >> > >> > Thanks! >> > >> > Edgard >> > >> > --- In [email protected] <mailto:nsbasic-ce%40yahoogroups.com> , "George Henne" <gh@> wrote: >> > > >> > > We've never used it before. >> > > >> > > The .bas library was probably designed for use with Microsoft >Embedded Visual Basic. That's long gone. The good news is that the >syntax of NS Basic/CE and eVB is virtually identical, so you should be >able to reuse the code without trouble. >> > > >> > > Does it include a DLL? If so, you'll need to use AddObject to add >it to your app at runtime. >> > > >> > > George >> > > >> > > > >> > > >Hi, >> > > > >> > > >mEnable is a library that allows you to access an ODBC desktop database >> > > >from the device. It is made by SYWARE. >> > > > >> > > >I need to access an ODBC database from the Pocket PC device through the >> > > >WIFI network. >> > > > >> > > >Edgard >> > > > >> > > >--- In [email protected] <mailto:nsbasic-ce%40yahoogroups.com> , "George Henne" <gh@> wrote: >> > > >> >> > > >> Actually, before today, I'd never heard of it. >> > > >> >> > > >> What are you trying to accomplish? >> > > >> >> > > >> George Henne >> > > >> NS BASIC Corporation >> > > >> http://www.nsbasic.com >> > > >> >> > > >> >Hi, >> > > >> > >> > > >> >The mEnable package includes a sample.bas example. >> > > >> > >> > > >> >I modified it, and set it up to try to connect to a desktop access >> > > >> >database. It seems to be connecting, but when I execute a query it >> > > >> >fails and can't get an error. >> > > >> > >> > > >> >It seems as if the example was incomplete, or I mis-converted it. >> > > >> > >> > > >> >Do you have any examples of it working with NSBasic? >> > > >> > >> > > >> >Edgard >> > > >> > >> > > >> > >> > > >> > >> > > >> >--- In [email protected] <mailto:nsbasic-ce%40yahoogroups.com> , "George Henne" <gh@> wrote: >> > > >> >> >> > > >> >> Which example did you use? >> > > >> >> >> > > >> >> George Henne >> > > >> >> NS BASIC Corporation >> > > >> >> http://www.nsbasic.com >> > > >> >> >> > > >> >> >Hi, >> > > >> >> > >> > > >> >> >I need to develop an application using mEnable and NSBasic 8.2. >> > > >> >> > >> > > >> >> >Do any of you guys have an example? I tried to use the provided >> > > >> >> >example, but I get a bunch of errors. >> > > >> >> > >> > > >> >> >Thanks >> > > >> >> >Edgard >> > > >> >> > >> > > >> >> > >> > > >> >> > >> > > >> >> >------------------------------------ >> > > >> >> > >> > > >> >> >Yahoo! Groups Links >> > > >> >> > >> > > >> >> > >> > > >> >> > >> > > >> >> >> > > >> > >> > > >> > >> > > >> > >> > > >> > >> > > >> >------------------------------------ >> > > >> > >> > > >> >Yahoo! Groups Links >> > > >> > >> > > >> > >> > > >> > >> > > >> >> > > > >> > > > >> > > > >> > > > >> > > >------------------------------------ >> > > > >> > > >Yahoo! Groups Links >> > > > >> > > > >> > > > >> > > >> > >> > > > > >------------------------------------ > >Yahoo! Groups Links > > > -- You received this message because you are subscribed to the Google Groups "nsb-ce" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/nsb-ce. For more options, visit https://groups.google.com/d/optout.
