hi, i tried to write the routine but it didn't work. ... regsvr32 nsbwin32.dll Dim varf Dim SysDir AddObject "NSBasic.win32.api", "win32" Set connections =...
Hello, be careful, the technote mentioned contains calls that are only valid on Windows CE devices (like "EnableKeyboard")! Don't use them on Windows /...
Hello, I tried your example, and after a few modifications it works. Here's what I found: 1. I put a "on error goto 0" at the beginning of the code, so that...
hi, i tried to alter my code from what you taught, but i still didn't know where gone wrong. ps: do you mind showing your code to enlighten us? Sub Form1_Load ...
hi, i have suceeded in capturing the shift key event,however,starting at the form2 , the capturing is still going on . thanks for helping me to achieve this ! ...
I loaded desktop to Vista, but got a runtime 380 message when I tried to open a project. I saw nsbasic website that I have to disable True Type Fonts. I also...
Can anyone help me to get the cursor to change to the standard Windows "Drag Arrows" shape when the mouse is over the active edge of the main window? I can...
Hi there, I am using reg expression to pull out some values. I know how to ude a "For" loop to get out each match item, but is there a way of adressing each...
I've spent the better part of an afternoon playing with the NSListView control, and I'm now stuck and looking for help. I have a Sqlite db that I open and...
Finally figured out how to actually grab the value in column zero, based upon the example code in my original post: oEvent.Item.Text I guess this should have...
As a multi-select property exists for listboxes, I assume it's possible to use one, but I'm having trouble making it work, either by setting the multiselect...
Just to clarify my request for help: 1) I'm using addobject to place the listbox at runtime. 2) I was able to get a multiselect listbox to work, but only if...
Hello, I created a Multi Select NSBListBox which works as expected. Here is the sample program. To test it, create a new standard application, with an empty...
Thomas: Thank you for your response. Unfortunately, I was trying to use the intrinsic Listbox control, not the ListView, so your code doesn't directly apply....
Hello, sorry, you're right, I mixed the 2 posts. However, I initially tried the "normal" list box control as well, and it seems that the multi-select property...
NS Basic/Desktop 4.0 Beta 3 is now available for download. It incorporates many of the improvements that just shipped in NS Basic/CE 8.0 This is getting close...
Here's a simple example I prepared at home this evening: 'create a form and add two checkboxes Sub Main AddObject "Form","Form1",0,0,150,100 Form1.Text =...
Thanks for the demo code! One thing I can't figure out: How to remove a row once it has been filled in with data. I see the "Clear" and "Remove" methods,...
Hello, I added a 3rd button (CommandButton3) with the following code, do delete the selected row(s): Sub CommandButton3_Click For i=nslistview1.listitems.count...
Hello, I tried your example, and the check mark really only appears if you double click. But the solution is simple: remove the "Checkbox1.Value = True"...
Hello, addition to my previous message: Sub Checkbox1_Click Dim s ' Checkbox1.Value = True Checkbox2.Value = checkbox1.value s = 1 'MsgBox "Checkbox1_click...
A search here indicates that Combobox events didn't work in early versions of Desktop, unless the control was added in the form designer. Is this still broken...
Follow-up: Experimentation reveals the cause, and raises a few questions: Do (some) child objects have their events limited by their parent object? I have...
Here's a real simple one (I hope): Create a form. Put a listbox on it. Add the following code: Sub ListBox1_Click Dim x x = ListBox1.list(ListBox1.ListIndex) x...
I ran the gradient button sample on a laptop and a new Netbook both running windows XP sp3. The results were different, Laptop shows the form exactly as...
Hello, you spotted something very interesting here! Here is the solution and the reason: change the statement x = x & " [concat this]" to x = left(x,len(x)-1)...