Hi, Just getting started with NSBasic and have a couple of questions already, that hopefully someone won't mind answering too much. Here's hoping anyway. (i)...
Hi Stuart The combobox. Easy way to test is create a new project with form. Place ComboBox1 control on form. Set Expanded Height property of combobox1 to 100. ...
Hi All: I wanted to ask the various experts here if they have also used this developer tool? http://www.basic4ppc.com/ I tried Basic4PPC when it was version...
You might be better off posing this question on the NSBasic/CE forum. Best I can tell, basic4ppc only creates PPC programs. ... time. ... commands ... become...
John. Perfect. The mists have cleared - don't know why I missed the expanded height property, but thats exactly what it was. Many thanks. Regarding the control...
Hi Stuart Glad to help. The control problem look like one of the wonders of windows. I had no problems developing code here but it fell over on my clients...
I have ordered NSBasic/Desktop and receved CD and HandBook. BUT! No registration number in back of HandBook or in CD pocket. Compiled program meke Meaasage Box...
It sounds like spam filters on both ends are causing problems. The serial number is emailed automatically as soon as we receive the order, so you should have...
Hi, OK, I'm brand new - haven't even received my book yet and I need to ask yet another silly question. Damn newbies huh? When I build a project with several...
Hello Stuart, menus aren't form dependent in NSBasic. Once defined, they stay until they're changed or redefined. So in your case you should define an empty...
Hi, In my project I would like to have the ability for the user to add and remove buttons and textboxes from the (running) form. I'm playing around with the...
Hi Stuart The only thing missing from your code is the name of the form the object is to be added to as follows:- AddObject "CommandButton", "button3", 165,...
Thank you (again) John. Indeed the lack of ,form1 was the source of trouble. I'm surprised that the runtime didn't figure out that as there was only one form, ...
Actually, it's really not all that unpredictable to create controls on the fly. In fact, it actually worked just the way it was supposed to. If you don't...
Hi, I have :- ... Sub CommandButton1_Click newprod = InputBox("Adding a new product","Add a new product to the portfolio", "") combobox2.AddItem newprod End...
Assuming ListIndex is the correct property (don't have NSB installed here at work, but I think that's right) you'll want to do: ComboBox2.RemoveItem...
Hi, The project I'm working on just now requires the user to fill in several forms to gather some strings of information, stored as variables,which is later...
Hi Stuart, if this whole thing happens on just 1 PC, I'd say this is a typical case where that information should be stored in the registry. You could of...
I agree with Thomas, The caveat of using the registry is place the values for the current user area HKCU area for all specific user info. Place all global ...
I have wanted to write code to resize the form when the maximize button is pressed. Also, I want to process the close 'X' the same as a File->Exit menu item....
When a form is resized, a Form1_Resize event is sent. You can put this in your program: Sub Form1_Resize 'Change Form1 to the size you need 'do what you need ...
I want to compose & send an email from within NSB-D. I tried Tim Markowski's example using ShellExecute. That composes the email in Eudora OK, but I want it...
I'm trying to read incoming data from a serial port, process (display) it, then go back and wait for the next dataset. Why doesn't the following work? What's...
Does a FOR-NEXT Loop produce the same results? Bob From: nsbasic-desktop@yahoogroups.com [mailto:nsbasic-desktop@yahoogroups.com] On Behalf Of Don Pomplun ...
Yes; I changed the Do..Loop to a For I = 1 to 10 . . . Next. It never came back with even the first read before showing (twice) as "not responding". Don...
Try inserting a delay within the loop at the end to allow the read code to complete before the next read is executed. This may help you. For I=1 to 10 . .... ...
I just tried something along those same lines . . . I put a DoEvents in the for-next loop. Behavior is curious, at best. Apparently the Not Responding is a...
I don't see any reference to effecting the globality of variables. In fact, even though Option Explicit is inherently On, I find I can just use a variable in...
From the Help file: Script level variables are available to all procedures in the script; procedure level variables are available only in the procedure they ...