Search the web
Sign In
New User? Sign Up
nsbasic-desktop · Forum for NS Basic/Desktop users
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 2373 - 2408 of 3191   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
2373
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...
Styskul
Offline Send Email
Dec 1, 2007
6:11 pm
2374
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...
Styskul
Offline Send Email
Dec 1, 2007
6:14 pm
2375
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...
Jose Adell
jose_adell
Offline Send Email
Dec 1, 2007
6:40 pm
2376
I set the picture property in the IDE of the command button. Picture shows up just fine, but no command. ... the...
Bobby Jones
reconguru
Offline Send Email
Dec 1, 2007
9:14 pm
2377
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...
Bobby Jones
reconguru
Offline Send Email
Dec 1, 2007
9:34 pm
2378
I have entered data into variables for a calculation. I can print the data and results. How can I save this information to a text file or database?...
Bobby Jones
reconguru
Offline Send Email
Dec 1, 2007
10:22 pm
2379
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...
Styskul
Offline Send Email
Dec 1, 2007
10:42 pm
2380
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...
Styskul
Offline Send Email
Dec 1, 2007
10:51 pm
2381
Thanks so much. I have taken a look at the examples and will have to give them considerable study. ... information to a...
Bobby Jones
reconguru
Offline Send Email
Dec 2, 2007
12:18 am
2382
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 =...
Bobby Jones
reconguru
Offline Send Email
Dec 2, 2007
5:30 am
2383
UPDATE Looks like the cosine error occurs with 5 to 10 degrees of 90 degrees. ... from...
Bobby Jones
reconguru
Offline Send Email
Dec 2, 2007
5:40 am
2384
Cosine is a function built into the VBScript engine - we have no control over its results. I would be surprised if it gave inaccurate results....
George Henne
ghenne
Offline Send Email
Dec 3, 2007
11:39 am
2385
This should work just fine. Why not set up a simple project with just one button and see what happens?...
George Henne
ghenne
Offline Send Email
Dec 3, 2007
11:41 am
2386
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) ~...
James Hesch
jkhesch
Offline Send Email
Dec 3, 2007
3:19 pm
2387
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=...
Tim Markoski
tmarkoski1122
Offline Send Email
Dec 3, 2007
7:21 pm
2388
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 ...
Jose Adell
jose_adell
Offline Send Email
Dec 4, 2007
4:05 am
2389
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...
Bobby Jones
reconguru
Offline Send Email
Dec 4, 2007
6:05 am
2390
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:...
James Hesch
jkhesch
Offline Send Email
Dec 4, 2007
8:19 am
2391
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...
Tim Markoski
tmarkoski1122
Offline Send Email
Dec 4, 2007
12:06 pm
2393
There are no errors in any of the VBScript Math functions. They all work correctly. The problem lies in your code....
Tim Markoski
tmarkoski1122
Offline Send Email
Dec 4, 2007
12:33 pm
2394
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". ...
George Henne
ghenne
Offline Send Email
Dec 4, 2007
8:55 pm
2395
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)...
Bobby Jones
reconguru
Offline Send Email
Dec 4, 2007
11:32 pm
2396
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 ...
Bobby Jones
reconguru
Offline Send Email
Dec 4, 2007
11:41 pm
2397
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...
Bobby Jones
reconguru
Offline Send Email
Dec 5, 2007
12:27 am
2399
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...
Bobby Jones
reconguru
Offline Send Email
Dec 16, 2007
10:22 pm
2401
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...
salvadorvidalromero
salvadorvida...
Offline Send Email
Jan 9, 2008
4:49 am
2402
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...
George Henne
ghenne
Offline Send Email
Jan 9, 2008
9:44 am
2403
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...
George Henne
ghenne
Offline Send Email
Jan 15, 2008
6:25 pm
2407
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...
Elliott
sailvalis
Offline Send Email
Jan 26, 2008
4:57 am
2408
... 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! ...
Elliott
sailvalis
Offline Send Email
Jan 26, 2008
6:31 am
Messages 2373 - 2408 of 3191   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help