[nsbasic-ce] Re: More General NSB-CE Q's CreateObject()

2010-02-24 Thread michiman56
Since MS had a fix back in 2001 for this I'm going to assume it's been addressed since then. Is that a reasonable assumption? http://support.microsoft.com/kb/286504 Since others make references to this as a known problem though I'm still a little nervous. Maybe I'll have to try some testing.

[nsbasic-ce] Re: WB 6-style TabStrip

2010-02-20 Thread michiman56
Yes, this is what I'll have to do I suppose. Since the Microsoft TabStrip was retired from active support when eVB went non-support they had no reason to update it. It looks pretty cleat that even if we had the .hWnd property we might alter the control's style... but we don't. Ah well.

[nsbasic-ce] Re: WM 6-style File Explorer Navigation

2010-02-20 Thread michiman56
be quite handy, though I get the idea that *general-purpose* toolbars are discouraged in Windows Mobile appications. --- In nsbasic...@yahoogroups.com, michiman56 rriemer...@... wrote: BTW: What little MSDN *does* say on this Header control is: A header control is used to display

[nsbasic-ce] Re: Trap OK Button?

2010-02-18 Thread michiman56
Sub --- In nsbasic...@yahoogroups.com, michiman56 rriemersma@ wrote: Thanks Chris, This looks good. I'll check the documentation changes notes and try working with the examples you've outlined. Bob Yahoo! Groups Links -- You

[nsbasic-ce] Re: Trap OK Button?

2010-02-18 Thread michiman56
know what NSB/CE is doing under the covers better than I ever will. I'll try more testing to see if this will be robust enough for me. If not I'll have to do something like you suggested instead. Thanks. Bob --- In nsbasic...@yahoogroups.com, michiman56 rriemer...@... wrote: I understand

[nsbasic-ce] Trap OK Button?

2010-02-17 Thread michiman56
While the behavior when using ShowOKButton True is useful and welcome for many applications, it seems to deviate quite far from the OK button's intended purpose. Is there any technique that can be used to modify this behavior back to the expected OK this dialog functionality? I wouldn't want

[nsbasic-ce] Re: Trap OK Button?

2010-02-17 Thread michiman56
Form2_Hide ShowOKButton False 'Set Close button to [X] Form2Showing = False End If End Sub --- In nsbasic...@yahoogroups.com, michiman56 rriemer...@... wrote: Thanks Chris, This looks good. I'll check the documentation changes notes and try working with the examples you've

[nsbasic-ce] Re: Reliable HTTP/HTTPS Component?

2010-02-14 Thread michiman56
For future reference, I have found a useful alternative. It seems to work well within its limitations, limitations that won't be a problem for most applications: http://www.pocketsoap.com/pocketHTTP/ --- In nsbasic...@yahoogroups.com, michiman56 rriemer...@... wrote: I get erratic results

[nsbasic-ce] NSListView vs. Toolbox

2010-02-14 Thread michiman56
At the following link: http://www.nsbasic.com/desktop/info/technotes/TN11a.htm#addtotoolbox ... it says: Note: It is more convenient to put it into the toolbox of the IDE first and then place it on the forms. I heartily agree. However I can't seem to get this to happen (NSB/CE 8.1.2a).

[nsbasic-ce] Re: WM 6-style TabStrip

2010-02-14 Thread michiman56
Oops! Subject should read WM 6-style... --- In nsbasic...@yahoogroups.com, michiman56 rriemer...@... wrote: A while back the UI guidelines changed to require TabStrips at the bottom of the display area, in order to avoid your hand and stylus obscuring the display while working with them

[nsbasic-ce] Re: WM 6-style File Explorer Navigation

2010-02-14 Thread michiman56
BTW: What little MSDN *does* say on this Header control is: A header control is used to display a heading above a list view that can also be used for sorting, folder picking, and other list-specific controls. (Windows Mobile 6 Professional and Windows Mobile 6 Classic only) Sounds perfect.

[nsbasic-ce] WB 6-style TabStrip

2010-02-13 Thread michiman56
A while back the UI guidelines changed to require TabStrips at the bottom of the display area, in order to avoid your hand and stylus obscuring the display while working with them. Much the same way menus are placed at the bottom. The MSCETabStrip doesn't seem to have a way of setting the

[nsbasic-ce] Packaging from CAB files

2010-02-11 Thread michiman56
This is probably a dumb question, but here goes... Using NS Basic/CE 8.x, if I have a component packaged as CAB files should I extract the DLL from the CAB in order to reference and use it? Also I have separate CABs for ARM, MIPS, and SH3 (and an INI referencing all 3 of them). I haven't

[nsbasic-ce] TwipsPerPixel

2010-02-03 Thread michiman56
I've noticed that while some controls return dimensional properties in Twips and most expect such properties in Pixels there is a need to determine the TwipsPerPixel value - which can vary. However I haven't found a clean way to get this value from API calls since Output.hDC doesn't exist and

[nsbasic-ce] Re: TwipsPerPixel

2010-02-03 Thread michiman56
VERY nice. Thanks! --- In nsbasic...@yahoogroups.com, George Henne g...@... wrote: There are some useful new calls in the latest build, that are not fully documented yet. They let you check what the devices DPI setting is properly. SYSINFO(number) SYSINFO returns information about the

[nsbasic-ce] Compile vs. Whitespace

2010-02-03 Thread michiman56
I'm sure I've missed it in the documentation, but can anyone tell me whether or not a make (run, compile, whatever) deletes code comments and leading/trailing whitespace (tabs, spaces) to save space in a deployed project? Or is it worth the trouble to manually clean these out before a

[nsbasic-ce] Re: DECLARE vs Byte arrays

2010-01-31 Thread michiman56
this should be a little less work for the poor old device's processor. --- In nsbasic...@yahoogroups.com, michiman56 rriemer...@... wrote: Yes, it is true that VBScript will throw an exception as soon as you try to touch a Variant containing anything of Byte subtype. I'm well aware of that long

[nsbasic-ce] DECLARE vs Byte arrays

2010-01-28 Thread michiman56
From the TechNote 26 description it appears that API calls can be made passing parameters as in ByRef X As Byte() with no problem. However due to VBScript limitations what you pass in (and get back) are arrays of Integer (or short i.e. VT_I2, signed 16-bit integers). The issue I have is that

[nsbasic-ce] Re: More General NSB-CE Q's

2010-01-26 Thread michiman56
The machine I'm using has AVG free 9 on it. I just disabled AVG and tried again though, with the same result. Very strange. --- In nsbasic...@yahoogroups.com, George Henne g...@... wrote: We have not had other reports of this. Do you have any anti virus software running? Thanks George.

[nsbasic-ce] LastDLLError Equivalent?

2010-01-26 Thread michiman56
Err.LastDLLError isn't supported in VBScript/CE and so not in NSB/CE either. But is there any equivalent when using NSB/CE's DECLARE to make API calls? GetLastError() calls are usually considered problematic in VB6 since the process of marshalling data and otherwise wrapping the API call can

[nsbasic-ce] TabStrip from Toolbox?

2010-01-23 Thread michiman56
If I add a TabStrip1 to a Form1 in a simple project I'm having a problem where TabStrip1 isn't recognized at runtime: VBScript runtime error - line 10, char 0 Object required: 'TabStrip1' is the error. I simply tried to .Add two tabs to the Tabs collection: Sub Form1_Load

[nsbasic-ce] Re: TabStrip from Toolbox?

2010-01-23 Thread michiman56
the required DLL as a Resource. You do Project-Add Reource, then select the MSCETabStrip.dll from the folder Program Files/NSBasic/CE/Controls/WM. This goes for other controls you may wish to use. Regards Joe --- In nsbasic...@yahoogroups.com, michiman56 rriemersma@ wrote: If I

[nsbasic-ce] Some general NS Basic/CE questions

2010-01-13 Thread michiman56
New member, on the edge of purchasing NS Basic/CE. User of NS Basic/Desktop for a while now. I have a few general questions and I'm sure this must be the place to ask them. The core of the developer community seems to be here! 1. Has anyone posted information anywhere on the topic of