Are all your fields combos, or do you have some text boxes? If they are all combos, then on the Form1_Load event, do a ComboName.ListIndex = -1 for each combo...
If you want to capture the Enter key inside of the textbox, do this: Sub TextBox1_KeyUp(KeyCode, Shift) If KeyCode = 13 then 'Enter key was pressed, do...
Hi Is long time since I was daily on this group, but think remember you´re Eric, but standing to be corrected. As always your suggestion worked like was...
I will start working with text boxes only. That will be simplest for me. I don't understand the code below. I can guess that textboxname is the name of my...
To save to a text file, check out the FileSystemObject.nsd demo. To save to a database you can use ADO or SQLite, which also both have demos in the Samples...
The part after the underscore is the procedure name, which in this case is KeyUp. If you look up KeyUp in the help file, you will see that it has two...
I am getting an error when taking the cosine of 90 degrees. here is my code. Sub CommandButton1_Click A.text = Sin(AA2.text*3.14159265/180) B.text =...
Hi Bobby: If I am reading your message correctly, the Cosine function is working correctly. Remember that for small angles, sin(x) ~ x. Similarly, cos(x) ~...
Sub Main Dim dblA Dim dblPi Dim dblRadian Dim dblResult 'Calculate Pi dblPi = 4*Atn(1) 'Conversion to Radian dblRadian =dblPi/180 'Input Angle in Degrees dblA=...
Hi George, Trying to get things working with NSBasic Desktop I found my coding was giving me unexpected errors going through If… End If statements like they ...
Thank you very much for your response. I am trying to calculate the Sine and Cosine of 3 seperate angles. Once calculated, the results are used in a very large...
Hi Bobby: I used the same code with one small change: I hard-coded 90 for dblA, and got the result of "Cosine(90)=0.00000000". The substitute line of code is:...
You need to know how to use Global variables and Functions Save the code below as NSBasic/Desktop File 'Begin Code 'Declare Public Global Variables Public...
In your code, replace IsNumeric() with TypeName(). You'll get String, then Integer. A textbox contains text, so the 4 is made into the string "4". 4<>"4". ...
That is correct. Excuse my lack of knowledge of the coding process. Learn by doing is my life's story. The problem was with my rounding. Using Round(##### ,4)...
I need to be able to have the program call a form or external executable from the menu. I have a section called "Calculations" and an array of forms. When I ...
I may have answer my own question. I have created sub form1_click main_menu_hide form1_show end sub I added a command button on each form to return to the main...
Thanks everyone for you input. As I continue to learn, I hope to be of some value to the group in the near future. At minimum, maybe these questions can help...
Hello, How can I read Gadget Field from a Palm Database ?. I have been using PalmDB, but I do not know how to read a signature or image and present it in the...
Over in the Palm group, there is an exe called sig2bmp.exe that converts signatures to bitmaps, which is what most people do. Otherwise, the layout of the...
We're pleased to announce the results of the 2007 Programming Contest! <http://www.nsbasic.com/palm/PR/pr.080115.html> Winners are: NS Basic/CE: Machinist's...
Has anyone seen a memory-leak problem when writing to a textbox? I'm using NsBasic Desktop 2.5, on WindowsXP 2002, Service Pack 2. Here is a simple program...
... using NsBasic Desktop 2.5, on WindowsXP 2002, Service Pack 2. I just installed Desktop ver 3.0.2 and I see the same leakage as before. Advice? Thanks! ...