Re: [nsbasic-ce] NSExecute error

2009-09-10 Thread George Henne
You might try testing this with a simpler program to see what is going on. You should also try Execute and ExecuteGlobal, which have different (and poorly documented) scoping rules. >Hi All, > >I'm creating arrays based on my form names on the fly using NSExecute. >Form names are read from a text

Re: [nsbasic-ce] App Install/Run Issues

2009-09-10 Thread George Henne
If you're doing repeated updates to an existing program on the device, use the "Update App on device" option (F6). It's faster. Also, Start (F5) does not auto start the app. I'm not sure what the memory usage issue is. I believe that the Window Mobile OS may wait till garbage collection is needed

Re: [nsbasic-ce] Connect NS-Basic To MySQL Server

2009-09-10 Thread George Henne
Have a look at the TCPClient and TCPServer samples which come with NS Basic. You could modify the TCPServer sample to send the requests from TCPClient to MySQL, then return the results. >Need help how to connect/access MySQL Server from NS-Basic (using WM5)? >Thanks > > > >---

[nsbasic-ce] Re: NSExecute error

2009-09-10 Thread phlipsmsu
Hi George, I made this simpler program this morning. It repeats the same functionality, but without all the background stuff going on, with the same result. Just attach it to a form with a single command button. If I change the NSExecute in _Load to an executeglobal, the redim in the _Click

[nsbasic-ce] Re: NSExecute error

2009-09-10 Thread phlipsmsu
Hey George, I think I might have just found the issue. Being the inital dim is setting an array of fixed size, the redim apparently can't resize that. If I initialize the variable as a non-array, then the redims work fine and can happen as many times as needed. Shaun --- In nsbasic...@yahoo

Re: [nsbasic-ce] Re: NSExecute error

2009-09-10 Thread George Henne
Sounds good! >Hey George, > >I think I might have just found the issue. Being the inital dim is >setting an array of fixed size, the redim apparently can't resize that. >If I initialize the variable as a non-array, then the redims work fine >and can happen as many times as needed. > >Shaun > >--