hi guys, how can I fix the number of decimal points for a number. For example: x="123.1000" y=CSNG(x) MsgBox ROUND(y,4) The above returns 123.1 How would I...
If you want control over how a number prints, you need to print it as a string value. The FormatNumber() function can be used to take a number and format it as...
Hi guys - I'm having problems with the following subroutine. I get the error "Expected 'Next'". Any ideas where I'm going wrong. Sub GetNumberOfDuctSections ...
I have 15 rows of textboxes with 7 textboxes on each row. I want to simulate this: Sub GetNumberOfDuctSections n=0 If IsNumeric(Volume1_TextBox.Text)=True And...
Look at the code in message 816 http://groups.yahoo.com/group/nsbasic-desktop/message/816 You can greatly reduce the amount of code you have. Create an array...
Save the code below as "ArrayTest.txt" This example creates 7 different dynamic arrays and shows how to validate within an array. I modified the input field...
Thanks Tim. ... validate within an array. ... function show in message 816 ... field validation ... (34) ... (34) ... Volume(j) & ".text)" ... Length(j) &...
There are thousands of developers using NS Basic all over the world. Last time I checked, we had users in over 70 countries. The newest country on the list?...
Save the code below as ScreenMetrics.txt This example shows how to center any form regardless of screen resolution and supress the flash of an empty Output...
I did this once, but I can't find the sample I made anymore. It was pretty easy to do though. Do a search on ActiveX and avi - you'll find a number of controls...
I've been digging around and this appears to be the most commonly used example for VB or VBScript. Any one got any ideas how to get it working on NS? Declare...
You can't use Declare Function in NS Basic. This is a hook to a WIndows API function. What are you trying to do? Do you want to simply play an AVI file in the...
I can get screen metrix to work if I dont alter anything! If I deviate from the example slightly I cannot get Screen Metrix to work - It will not center the...
Michael- The IE Method that was posted certainly works but has alot more memory overhead and takes longer. You're also making a beginners mistake. Remember...
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the nsbasic-desktop group. File :...
nsbasic-desktop@yahoo...
Nov 9, 2005 6:50 pm
884
For those who have an interest- I've updated the NSBCompress.zip file in the files section of the forum. The updated NSBCompress.exe file will now validate the...
I'm trying to license this object. Where am i going wrong guys ? This bit works. AddObject "MOVIEPLAYER.MoviePlayerCtrl.1", "MoviePlayer1", 100, 100, 200, 200 ...
Thanks Tim ... memory overhead and takes longer. ... two commands of any NS Basic Desktop code. ... flashes the user doesn't see it. ... Form_Load procedure...
I'm trying your screen metrics method in a 2 form application. I've noticed that if I alter the position of the output window once the program is running, and...
Save the code below as ScreenMetrics.txt and load it. You can then run through the command buttons and see how to do it. Output.left=20000 Output.top=20000 ...