Yep, that's the line. That very well could be the problem. I wrote that demo in 2004 I think, so back then they would have probably been using the standard ListView control. I don't know if it would be enough to just change the reference from ListViewCtrl.ListViewCtrl.1 to whatever the reference is for the NSListView control, or if that would break other code related to the control. If I get a chance I will try and play with it tonight.
However, if you can get gsGetFile.dll to work, that's really a better route anyway. I wish I could help you there, but unfortunately I've never used the DLL directly myself. --- In [EMAIL PROTECTED], "clinkerman32" <[EMAIL PROTECTED]> wrote: > > Hi Styskul, > Is this the line you meant from the Generated code ? > > NSExecute "AddObject " & chr(34) & "ListViewCtrl.ListViewCtrl.1" > & chr(34) & ", " & chr(34) & "ListViewCtrl1" & chr(34) & ", 4, 40, > 228, 68, frmFileBrowse_Form" > > The NSBasic controls are now listed as NSListView I think. > > Thanks > > > --- In [EMAIL PROTECTED], "styskul" <epankoke@> wrote: > > > > Unfortunately I don't have NSB/CE installed on my machine at the > > moment, but it sounds to me like you don't have the ListView control > > that I used installed on your device. Unfortunately, I don't recall > > if I used the standard one or a custom one, and without being able to > > look at the code I can't tell you what to look for. If you can save > > the code as a text file and tell me what control is referenced on the > > AddObject line that contains ListViewCtrl1 I might be able to help you > > better. > > > > --- In [EMAIL PROTECTED], "clinkerman32" <nsbasic@> wrote: > > > > > > I've just downloaded Styskuls sample but it does not work for me. > > > IPAQ 6915 WM5 NSB7.0.4 > > > My PPC has a 240x240 square screen and I tried moving the controls to > > > an area that were visible but all I get is a blank form apart from a > > > text box with a greyed "\" > > > I can exit with the file menu but thats all that I can do. > > > Does anyone else have this problem? > > > I tried a few things - > > > In the form load code I removed the 'On error resume next' line. > > > This gave me a VBscript runtime error on line 114, char 5 > > > Object required: 'ListViewCtrl1' > > > > > > Thats means this line - > > > ListViewCtrl1.SmallIcons = ImageList.hImageList > > > > > > So I tried to enter - > > > frmFileBrowse. in front but as I typed it I discovered from the > > > dropdown menu that none of the elements that showed in project > > > explorer existed in the dropdown. > > > > > > Any clues anyone? > > > > > > Thanks in advance. > > > > > > --- In [EMAIL PROTECTED], "styskul" <epankoke@> wrote: > > > > > > > > 1. To the best of my knowledge, the NSBComDlg is pretty limited > in the > > > > directory structure it can browse. Check out the program > FileTest.zip > > > > in the Files section under the Styskul subfolder for an example of > > > > creating a true browse dialog. > > > > > > > > 2. Yes. Check out Tech Note 34: > > > > http://www.nsbasic.com/ce/info/technotes/TN34.htm > > > > > > > > --- In [EMAIL PROTECTED], "bvonlaar" <laar@> wrote: > > > > > > > > > > Hi all! > > > > > > > > > > Does have anybody an idea how to convince NSBComDlg to get the > > > chances > > > > > like file explorer? I can only say f.e. SD-MMCard\batlog, but > can“t > > > > > reach the subfolders \database,\sound and so on, below batlog. > > > > > > > > > > 2nd: is it possible to create Textboxes as array like in VB 6.0? > > > > > > > > > > Thanks, > > > > > Benedikt > > > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
