Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

nsbasic-app · NSB/AppStudio

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 753
  • Category: Basic
  • Founded: Nov 15, 2010
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
Messages 4225 - 4254 of 18177   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#4225 From: "johvog" <johvog@...>
Date: Sun May 1, 2011 3:31 pm
Subject: Re: 1 bit
johvog
Send Email Send Email
 
Thomas, I will post a file but I first need to figure out how to do that.

--- In nsbasic-app@yahoogroups.com, Computerhusky <computerhusky@...> wrote:
>
> Hi,
> can you post the relevant statements of your code?
> If you're referring to the sample program, that should show the size in bytes,
not kB. There's no divide by 1000 anywhere.
>
> Thomas
>
> Am 01.05.2011 um 04:56 schrieb "johvog" <johvog@...>:
>
> > I check the localstorage and it says zero (0), then I do a for...next loop
0-9. That puts 10 values into an array, which then I put into localstorage. I
check again the localstorage and now it says one (1). Now if I increase the loop
to 999 (instead of initial 9), the value is still one(1).
> >
> > Is that 1kb? In other words, the reporting happens in kb increments?
> >
> >
>

#4226 From: Computerhusky <computerhusky@...>
Date: Sun May 1, 2011 4:41 pm
Subject: Re: Re: 1 bit
computerhusky
Send Email Send Email
 
To post your program ( or any otherer file) in the files section of this group, open
http://tech.groups.yahoo.com/group/nsbasic-app/files/
in your PC browser (login if necessary), click "Add file", then browse to the file. Add a description and tick the option to send a message to the group.

Actually, I thought you'd just copy the relevant statements into an email, that would be sufficient. But the full program is better of course.
Kind regards
Thomas

Am 01.05.2011 um 17:31 schrieb "johvog" <johvog@...>:

 

Thomas, I will post a file but I first need to figure out how to do that.

--- In nsbasic-app@yahoogroups.com, Computerhusky <computerhusky@...> wrote:
>
> Hi,
> can you post the relevant statements of your code?
> If you're referring to the sample program, that should show the size in bytes, not kB. There's no divide by 1000 anywhere.
>
> Thomas
>
> Am 01.05.2011 um 04:56 schrieb "johvog" <johvog@...>:
>
> > I check the localstorage and it says zero (0), then I do a for...next loop 0-9. That puts 10 values into an array, which then I put into localstorage. I check again the localstorage and now it says one (1). Now if I increase the loop to 999 (instead of initial 9), the value is still one(1).
> >
> > Is that 1kb? In other words, the reporting happens in kb increments?
> >
> >
>


#4227 From: "Lee Church" <lchurch@...>
Date: Sun May 1, 2011 6:07 pm
Subject: Re: PDF file open or linking
lchurchmts
Send Email Send Email
 
There are conversion programs that will make a JPEG from a PDF; that might
solve your problem.


____________________________________
Lee Church
512.250.0290

#4228 From: Tony Richardson <tony.richardson@...>
Date: Sun May 1, 2011 11:06 pm
Subject: Re: Re: PDF file open or linking
tonyrichards...
Send Email Send Email
 
If you are using a Mac, you can use Preview to convert PDFs into many formats, including JPG and PNG. I have used this to create Help screens for my Apps.


On 02/05/2011, at 4:07 AM, Lee Church wrote:

 

There are conversion programs that will make a JPEG from a PDF; that might
solve your problem.

____________________________________
Lee Church
512.250.0290




#4229 From: "jsadams531" <jsa4id@...>
Date: Sun May 1, 2011 11:55 pm
Subject: Enable/Disable of Controls at Runtime
jsadams531
Send Email Send Email
 
I need to have certain controls, usually CommandButtons (but occasionally
others), enabled or disabled at runtime depending on user interactions with
other controls. I've noticed that there is an "Enabled" (True or False) block in
the properties window of the CommandButton. Indeed, I can set one to be disabled
or enabled at designtime and the control either appears in gray or fully
enabled. However, this doesn't seem to work at runtime: a control that was
disabled at designtime can't be enabled with the app running, nor can the app
disable a control that was originally setup as being enabled. While I can
hide/reveal controls to accomplish the same thing, I'd rather have the option of
having a visible but grayed-out (disabled) control when I need it that way. Why
is there an apparent "Enabled" property if it can't be manipulated at runtime?
If anyone knows how to do this, let me know. Thanks!

John

#4230 From: "johvog" <johvog@...>
Date: Mon May 2, 2011 12:24 am
Subject: Re: 1 bit
johvog
Send Email Send Email
 
Thomas: I was mistakenly believing that localStorage.length would return the
size of the used storage space. Then I more carefully read the html5 spec and it
is now clear that what is returned is the number of key/value pairs. I find the
choice of words confusing, but that's another story.

I am now trying to wrap my head around your code, the one that calculates the
bytesused up. Thanks for that code.


--- In nsbasic-app@yahoogroups.com, Computerhusky <computerhusky@...> wrote:
>
> To post your program ( or any otherer file) in the files section of this
group, open
> http://tech.groups.yahoo.com/group/nsbasic-app/files/
> in your PC browser (login if necessary), click "Add file", then browse to the
file. Add a description and tick the option to send a message to the group.
>
> Actually, I thought you'd just copy the relevant statements into an email,
that would be sufficient. But the full program is better of course.
> Kind regards
> Thomas
>
> Am 01.05.2011 um 17:31 schrieb "johvog" <johvog@...>:
>
> > Thomas, I will post a file but I first need to figure out how to do that.
> >
> > --- In nsbasic-app@yahoogroups.com, Computerhusky <computerhusky@> wrote:
> > >
> > > Hi,
> > > can you post the relevant statements of your code?
> > > If you're referring to the sample program, that should show the size in
bytes, not kB. There's no divide by 1000 anywhere.
> > >
> > > Thomas
> > >
> > > Am 01.05.2011 um 04:56 schrieb "johvog" <johvog@>:
> > >
> > > > I check the localstorage and it says zero (0), then I do a for...next
loop 0-9. That puts 10 values into an array, which then I put into localstorage.
I check again the localstorage and now it says one (1). Now if I increase the
loop to 999 (instead of initial 9), the value is still one(1).
> > > >
> > > > Is that 1kb? In other words, the reporting happens in kb increments?
> > > >
> > > >
> > >
> >
> >
>

#4231 From: "johvog" <johvog@...>
Date: Mon May 2, 2011 3:16 am
Subject: Re: Enable/Disable of Controls at Runtime
johvog
Send Email Send Email
 
The default for a button is enabled (Button1.disabled=false) and at run time you
can change that to disabled (Button1.disabled=true) and the button becomes
grayed out and unresponsive.

--- In nsbasic-app@yahoogroups.com, "jsadams531" <jsa4id@...> wrote:
>
> I need to have certain controls, usually CommandButtons (but occasionally
others), enabled or disabled at runtime depending on user interactions with
other controls. I've noticed that there is an "Enabled" (True or False) block in
the properties window of the CommandButton. Indeed, I can set one to be disabled
or enabled at designtime and the control either appears in gray or fully
enabled. However, this doesn't seem to work at runtime: a control that was
disabled at designtime can't be enabled with the app running, nor can the app
disable a control that was originally setup as being enabled. While I can
hide/reveal controls to accomplish the same thing, I'd rather have the option of
having a visible but grayed-out (disabled) control when I need it that way. Why
is there an apparent "Enabled" property if it can't be manipulated at runtime?
If anyone knows how to do this, let me know. Thanks!
>
> John
>

#4232 From: "drajcic82" <drajcic82@...>
Date: Mon May 2, 2011 4:32 am
Subject: Re: Re(4): NS Basic/App Studio 1.2.1 released!
drajcic82
Send Email Send Email
 
I am not sure why, but the hidden property does not have any effect when the app
is run on an ipad. It works fine when I test it in chrome with F5, but to hide a
lable or a textbox on the device I still have to add display: none in the style
box.

D.R.

--- In nsbasic-app@yahoogroups.com, "George Henne" <gh@...> wrote:
>
> The correct version should be 1.2.1.
>
> Try downloading from the alternate location, if the main URL does not
> give you the correct result.
>
> >I think I've been upgrading as they become available so it should have
> >been from the previous version (I skip the Betas though).
> >
> >I'm fine with it being different and even re-entering it but when I
> >click on Deploy nothing comes up.... Although I just started it back up
> >again and now Deploy works and has my data.
> >
> >I just started it back up again to get the Deploy status correct and
> >noticed that it did not keep my serial# after I entered it and it says
> >it is "NS Basic/App Studio 1.2.0 Beta 2 Demo"  is that the correct
> >latest version?
> >
> >Don
> >
> >From: George Henne <gh@...>
> >To: nsbasic-app@yahoogroups.com
> >Sent: Monday, April 18, 2011 5:29 AM
> >Subject: Re: Re(2): [nsbasic-app] NS Basic/App Studio 1.2.1 released!
> >
> > 
> >Which version did you upgrade from? We changed how this information is
> >stored in 1.2.0.
> >
> >>
> >>George,
> >>
> >>I upgraded and I noticed two things.  Mostly, I thought the deploy did
> >>not keep the settings for my server but I went to re-enter the info and
> >>I can't get anything to popup when I click on the Deploy option.
> >>
> >>Also it did not bring over my serial# like NSB Palm and CE does.  It
> >>would be great if it remembered my serial# :)
> >>
> >>Don
> >>
> >>From: George Henne <gh@...>
> >>To: Nsbasic App <nsbasic-app@yahoogroups.com>
> >>Sent: Saturday, April 16, 2011 11:05 AM
> >>Subject: [nsbasic-app] NS Basic/App Studio 1.2.1 released!
> >>
> >> 
> >>NS Basic/App Studio 1.2.1 is ready to download. You can download it from
> >>the same URL as before. There is also a new, faster download location:
> >>we will be emailing that to everyone.
> >>
> >>There are a few nice new features:
> >>- You can now upload a whole folder of files with your app.
> >>- A number of controls have new properties to enhance their appearance.
> >>- iPads can now have splashscreens
> >>
> >>Here is the complete list:
> >>
> >>1. Deploy: Directory names can be put in the manifest.
> >>2. Controls: FontSize, FontFamily, FontStyle, FontWeight, color and
> >>backgroundColor properties added to Label, Text, TextArea and Button.
> >>3. Controls: FontSize, FontFamily, FontStyle, FontWeight and color
> >>properties added to HTMLview.
> >>4. Controls: Hidden property added to a number of controls.
> >>5. Controls: HTMLview border-style changed to borderStyle, and
> >>background-color changed to backgroundColor.
> >>6. Deploy: Cache Manifest simplified.
> >>7. Deploy: All system files are now put into a new nsb folder.
> >>8. Deploy: slash and colon now allowed in manifest file names.
> >>9. Deploy: Apps deployed to nsbapp are now available immediately.
> >>10. Deploy: Apps now stay on nsbapp.com for 10 days.
> >>11. Deploy: Progress message appears properly with lots of files.
> >>12. Docs: Handbook and Language Reference updated.
> >>13. IDE: Adding code file marks project as dirty for saving.
> >>14. IDE: Problems in Recent Files list fixed.
> >>15. IDE: New splashscreenipad property.
> >>16. Setup: Menu shortcut no longer contains version number. You may need
> >>to uninstall/reinstall to see this change.
> >>17. Project Explorer: multiple code files fixed.
> >>18. Runtime: Browser check fixed for IE.
> >>19. Samples: Base64Image added - shows using image as a string.
> >>20. Samples: HTMLviewCallFunction - call a function in your app from
> >HTMLview.
> >>21. Samples: iMenu and iTitlebar renamed Menu and Titlebar.
> >>22. Samples: MoveTheBall renamed to Accelerometer.
> >>23. Translator: Dim tt(6):s=tt(1-1) fixed.
> >>24. Translator: if s="if(" then s=s & "}" fixed.
> >>25. Translator: if s="if(" then s=s & "\" fixed.
> >>26. Translator: d = new Date() fixed.
> >>
> >>Documentation Changes for Version 1.2.1
> >>
> >>Deploy: We have made some changes to how files are deployed to provide
> >>some additional functionality. You can now put the name of folder in
> >>your list of files to deploy. That folder, and all of the files and
> >>folders in it, will be copied to your server. This makes it easy to have
> >>a project with a lot of files: you no longer have to list each file in
> >>the manifest.
> >>
> >>We also reorganized the files that NS Basic needs at runtime, putting
> >>them all into an /nsb/ folder within your project. You may want to
> >>delete your app from your server completely before you deploy next time:
> >>that will get the obsolete NS Basic files out of your app's folder.
> >>
> >>
> >>
> >>
> >
> >
> >
> >
>

#4233 From: Computerhusky <computerhusky@...>
Date: Mon May 2, 2011 7:20 am
Subject: Re: Re: 1 bit
computerhusky
Send Email Send Email
 
Hi,
I understand your result now I think. Yes I agree that the "length" function is a bit ambiguous, but that's the inheritage fro JavaScript I think. When applied to a string, it means the length of the string; applied to any sort of object that contains multiple elements it means the number of elements, e.g for arrays, localStorage (which I consider an array of some sort), or the number of records of the result set of an SQL query. On the other hand, if you consider a string a collection of bytes, then it is consistent again. 
How did you assign the array to localStorage? The result you get (1) sounds strange to me.
Kind regards
Thomas

Am 02.05.2011 um 02:24 schrieb "johvog" <johvog@...>:

 

Thomas: I was mistakenly believing that localStorage.length would return the size of the used storage space. Then I more carefully read the html5 spec and it is now clear that what is returned is the number of key/value pairs. I find the choice of words confusing, but that's another story.

I am now trying to wrap my head around your code, the one that calculates the bytesused up. Thanks for that code.

--- In nsbasic-app@yahoogroups.com, Computerhusky <computerhusky@...> wrote:
>
> To post your program ( or any otherer file) in the files section of this group, open
> http://tech.groups.yahoo.com/group/nsbasic-app/files/
> in your PC browser (login if necessary), click "Add file", then browse to the file. Add a description and tick the option to send a message to the group.
>
> Actually, I thought you'd just copy the relevant statements into an email, that would be sufficient. But the full program is better of course.
> Kind regards
> Thomas
>
> Am 01.05.2011 um 17:31 schrieb "johvog" <johvog@...>:
>
> > Thomas, I will post a file but I first need to figure out how to do that.
> >
> > --- In nsbasic-app@yahoogroups.com, Computerhusky <computerhusky@> wrote:
> > >
> > > Hi,
> > > can you post the relevant statements of your code?
> > > If you're referring to the sample program, that should show the size in bytes, not kB. There's no divide by 1000 anywhere.
> > >
> > > Thomas
> > >
> > > Am 01.05.2011 um 04:56 schrieb "johvog" <johvog@>:
> > >
> > > > I check the localstorage and it says zero (0), then I do a for...next loop 0-9. That puts 10 values into an array, which then I put into localstorage. I check again the localstorage and now it says one (1). Now if I increase the loop to 999 (instead of initial 9), the value is still one(1).
> > > >
> > > > Is that 1kb? In other words, the reporting happens in kb increments?
> > > >
> > > >
> > >
> >
> >
>


#4234 From: John Adams <jsa4id@...>
Date: Mon May 2, 2011 12:41 pm
Subject: Re: Re: Enable/Disable of Controls at Runtime
jsadams531
Send Email Send Email
 

Ah, Ha! I'd missed that this environment works "backwards" from what I'm used to! I'd not noticed that the property is not the "enabled" status but the "disabled" status. I wonder how it got set up that way? Anyway, problem solved. Thanks.


----- Original Message -----
From: "johvog" <johvog@...>
To: nsbasic-app@yahoogroups.com
Sent: Sunday, May 1, 2011 11:16:13 PM GMT -05:00 US/Canada Eastern
Subject: [nsbasic-app] Re: Enable/Disable of Controls at Runtime

 

The default for a button is enabled (Button1.disabled=false) and at run time you can change that to disabled (Button1.disabled=true) and the button becomes grayed out and unresponsive.

--- In nsbasic-app@yahoogroups.com, "jsadams531" <jsa4id@...> wrote:
>
> I need to have certain controls, usually CommandButtons (but occasionally others), enabled or disabled at runtime depending on user interactions with other controls. I've noticed that there is an "Enabled" (True or False) block in the properties window of the CommandButton. Indeed, I can set one to be disabled or enabled at designtime and the control either appears in gray or fully enabled. However, this doesn't seem to work at runtime: a control that was disabled at designtime can't be enabled with the app running, nor can the app disable a control that was originally setup as being enabled. While I can hide/reveal controls to accomplish the same thing, I'd rather have the option of having a visible but grayed-out (disabled) control when I need it that way. Why is there an apparent "Enabled" property if it can't be manipulated at runtime? If anyone knows how to do this, let me know. Thanks!
>
> John
>


#4235 From: "johvog" <johvog@...>
Date: Mon May 2, 2011 1:38 pm
Subject: Re: 1 bit
johvog
Send Email Send Email
 
I just uploaded a folder called "1 bit" with some files in it. The code is not
throwing erors and stuff, but it takes you through some of the things we
discussed in this thread. You will recognize bits of your code in there, too.

--- In nsbasic-app@yahoogroups.com, Computerhusky <computerhusky@...> wrote:
>
> Hi,
> I understand your result now I think. Yes I agree that the "length" function
is a bit ambiguous, but that's the inheritage fro JavaScript I think. When
applied to a string, it means the length of the string; applied to any sort of
object that contains multiple elements it means the number of elements, e.g for
arrays, localStorage (which I consider an array of some sort), or the number of
records of the result set of an SQL query. On the other hand, if you consider a
string a collection of bytes, then it is consistent again.
> How did you assign the array to localStorage? The result you get (1) sounds
strange to me.
> Kind regards
> Thomas
>
> Am 02.05.2011 um 02:24 schrieb "johvog" <johvog@...>:
>
> > Thomas: I was mistakenly believing that localStorage.length would return the
size of the used storage space. Then I more carefully read the html5 spec and it
is now clear that what is returned is the number of key/value pairs. I find the
choice of words confusing, but that's another story.
> >
> > I am now trying to wrap my head around your code, the one that calculates
the bytesused up. Thanks for that code.
> >
> > --- In nsbasic-app@yahoogroups.com, Computerhusky <computerhusky@> wrote:
> > >
> > > To post your program ( or any otherer file) in the files section of this
group, open
> > > http://tech.groups.yahoo.com/group/nsbasic-app/files/
> > > in your PC browser (login if necessary), click "Add file", then browse to
the file. Add a description and tick the option to send a message to the group.
> > >
> > > Actually, I thought you'd just copy the relevant statements into an email,
that would be sufficient. But the full program is better of course.
> > > Kind regards
> > > Thomas
> > >
> > > Am 01.05.2011 um 17:31 schrieb "johvog" <johvog@>:
> > >
> > > > Thomas, I will post a file but I first need to figure out how to do
that.
> > > >
> > > > --- In nsbasic-app@yahoogroups.com, Computerhusky <computerhusky@>
wrote:
> > > > >
> > > > > Hi,
> > > > > can you post the relevant statements of your code?
> > > > > If you're referring to the sample program, that should show the size
in bytes, not kB. There's no divide by 1000 anywhere.
> > > > >
> > > > > Thomas
> > > > >
> > > > > Am 01.05.2011 um 04:56 schrieb "johvog" <johvog@>:
> > > > >
> > > > > > I check the localstorage and it says zero (0), then I do a
for...next loop 0-9. That puts 10 values into an array, which then I put into
localstorage. I check again the localstorage and now it says one (1). Now if I
increase the loop to 999 (instead of initial 9), the value is still one(1).
> > > > > >
> > > > > > Is that 1kb? In other words, the reporting happens in kb increments?
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>

#4236 From: Thomas Gruber <computerhusky@...>
Date: Mon May 2, 2011 3:13 pm
Subject: Re: Re: 1 bit
computerhusky
Send Email Send Email
 
Hi,
I had a look at your program, it seems you got it all sorted out. 
localStorage stores text strings, so if you assign an array to a local storage item, it converts it to a string, with the items separated by commas. That explains the results you get: an array of 6 digits has a length of 11 (6 digits + 5 commas). You have to take care that when you read back the variable you use the Array() function to convert the string back into an array.
The Chrome debugger is very helpful to see what's actually going on when your code is executed, including showing the contents of localStorage, SQLite databases and other secrets.
Kind regards
Thomas

Am 02.05.2011 um 15:38PM schrieb johvog:

 

I just uploaded a folder called "1 bit" with some files in it. The code is not throwing erors and stuff, but it takes you through some of the things we discussed in this thread. You will recognize bits of your code in there, too.

--- In nsbasic-app@yahoogroups.com, Computerhusky <computerhusky@...> wrote:
>
> Hi,
> I understand your result now I think. Yes I agree that the "length" function is a bit ambiguous, but that's the inheritage fro JavaScript I think. When applied to a string, it means the length of the string; applied to any sort of object that contains multiple elements it means the number of elements, e.g for arrays, localStorage (which I consider an array of some sort), or the number of records of the result set of an SQL query. On the other hand, if you consider a string a collection of bytes, then it is consistent again.
> How did you assign the array to localStorage? The result you get (1) sounds strange to me.
> Kind regards
> Thomas
>
> Am 02.05.2011 um 02:24 schrieb "johvog" <johvog@...>:
>
> > Thomas: I was mistakenly believing that localStorage.length would return the size of the used storage space. Then I more carefully read the html5 spec and it is now clear that what is returned is the number of key/value pairs. I find the choice of words confusing, but that's another story.
> >
> > I am now trying to wrap my head around your code, the one that calculates the bytesused up. Thanks for that code.
> >
> > --- In nsbasic-app@yahoogroups.com, Computerhusky <computerhusky@> wrote:
> > >
> > > To post your program ( or any otherer file) in the files section of this group, open
> > > http://tech.groups.yahoo.com/group/nsbasic-app/files/
> > > in your PC browser (login if necessary), click "Add file", then browse to the file. Add a description and tick the option to send a message to the group.
> > >
> > > Actually, I thought you'd just copy the relevant statements into an email, that would be sufficient. But the full program is better of course.
> > > Kind regards
> > > Thomas
> > >
> > > Am 01.05.2011 um 17:31 schrieb "johvog" <johvog@>:
> > >
> > > > Thomas, I will post a file but I first need to figure out how to do that.
> > > >
> > > > --- In nsbasic-app@yahoogroups.com, Computerhusky <computerhusky@> wrote:
> > > > >
> > > > > Hi,
> > > > > can you post the relevant statements of your code?
> > > > > If you're referring to the sample program, that should show the size in bytes, not kB. There's no divide by 1000 anywhere.
> > > > >
> > > > > Thomas
> > > > >
> > > > > Am 01.05.2011 um 04:56 schrieb "johvog" <johvog@>:
> > > > >
> > > > > > I check the localstorage and it says zero (0), then I do a for...next loop 0-9. That puts 10 values into an array, which then I put into localstorage. I check again the localstorage and now it says one (1). Now if I increase the loop to 999 (instead of initial 9), the value is still one(1).
> > > > > >
> > > > > > Is that 1kb? In other words, the reporting happens in kb increments?
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>



#4237 From: Thomas Gruber <computerhusky@...>
Date: Mon May 2, 2011 3:15 pm
Subject: Re: Re(4): NS Basic/App Studio 1.2.1 released!
computerhusky
Send Email Send Email
 
Hi,
I think that's just an iOS error (or not implemented feature); hidden simply doesn't work in Mobile Safari. Wait for the next update from Apple ...
Kind regards
Thomas

Am 02.05.2011 um 06:32AM schrieb drajcic82:

 

I am not sure why, but the hidden property does not have any effect when the app is run on an ipad. It works fine when I test it in chrome with F5, but to hide a lable or a textbox on the device I still have to add display: none in the style box.

D.R.

--- In nsbasic-app@yahoogroups.com, "George Henne" <gh@...> wrote:
>
> The correct version should be 1.2.1.
>
> Try downloading from the alternate location, if the main URL does not
> give you the correct result.
>
> >I think I've been upgrading as they become available so it should have
> >been from the previous version (I skip the Betas though).
> >
> >I'm fine with it being different and even re-entering it but when I
> >click on Deploy nothing comes up.... Although I just started it back up
> >again and now Deploy works and has my data.
> >
> >I just started it back up again to get the Deploy status correct and
> >noticed that it did not keep my serial# after I entered it and it says
> >it is "NS Basic/App Studio 1.2.0 Beta 2 Demo"  is that the correct
> >latest version?
> >
> >Don
> >
> >From: George Henne <gh@...>
> >To: nsbasic-app@yahoogroups.com
> >Sent: Monday, April 18, 2011 5:29 AM
> >Subject: Re: Re(2): [nsbasic-app] NS Basic/App Studio 1.2.1 released!
> >
> > 
> >Which version did you upgrade from? We changed how this information is
> >stored in 1.2.0.
> >
> >>
> >>George,
> >>
> >>I upgraded and I noticed two things.  Mostly, I thought the deploy did
> >>not keep the settings for my server but I went to re-enter the info and
> >>I can't get anything to popup when I click on the Deploy option.
> >>
> >>Also it did not bring over my serial# like NSB Palm and CE does.  It
> >>would be great if it remembered my serial# :)
> >>
> >>Don
> >>
> >>From: George Henne <gh@...>
> >>To: Nsbasic App <nsbasic-app@yahoogroups.com>
> >>Sent: Saturday, April 16, 2011 11:05 AM
> >>Subject: [nsbasic-app] NS Basic/App Studio 1.2.1 released!
> >>
> >> 
> >>NS Basic/App Studio 1.2.1 is ready to download. You can download it from
> >>the same URL as before. There is also a new, faster download location:
> >>we will be emailing that to everyone.
> >>
> >>There are a few nice new features:
> >>- You can now upload a whole folder of files with your app.
> >>- A number of controls have new properties to enhance their appearance.
> >>- iPads can now have splashscreens
> >>
> >>Here is the complete list:
> >>
> >>1. Deploy: Directory names can be put in the manifest.
> >>2. Controls: FontSize, FontFamily, FontStyle, FontWeight, color and
> >>backgroundColor properties added to Label, Text, TextArea and Button.
> >>3. Controls: FontSize, FontFamily, FontStyle, FontWeight and color
> >>properties added to HTMLview.
> >>4. Controls: Hidden property added to a number of controls.
> >>5. Controls: HTMLview border-style changed to borderStyle, and
> >>background-color changed to backgroundColor.
> >>6. Deploy: Cache Manifest simplified.
> >>7. Deploy: All system files are now put into a new nsb folder.
> >>8. Deploy: slash and colon now allowed in manifest file names.
> >>9. Deploy: Apps deployed to nsbapp are now available immediately.
> >>10. Deploy: Apps now stay on nsbapp.com for 10 days.
> >>11. Deploy: Progress message appears properly with lots of files.
> >>12. Docs: Handbook and Language Reference updated.
> >>13. IDE: Adding code file marks project as dirty for saving.
> >>14. IDE: Problems in Recent Files list fixed.
> >>15. IDE: New splashscreenipad property.
> >>16. Setup: Menu shortcut no longer contains version number. You may need
> >>to uninstall/reinstall to see this change.
> >>17. Project Explorer: multiple code files fixed.
> >>18. Runtime: Browser check fixed for IE.
> >>19. Samples: Base64Image added - shows using image as a string.
> >>20. Samples: HTMLviewCallFunction - call a function in your app from
> >HTMLview.
> >>21. Samples: iMenu and iTitlebar renamed Menu and Titlebar.
> >>22. Samples: MoveTheBall renamed to Accelerometer.
> >>23. Translator: Dim tt(6):s=tt(1-1) fixed.
> >>24. Translator: if s="if(" then s=s & "}" fixed.
> >>25. Translator: if s="if(" then s=s & "\" fixed.
> >>26. Translator: d = new Date() fixed.
> >>
> >>Documentation Changes for Version 1.2.1
> >>
> >>Deploy: We have made some changes to how files are deployed to provide
> >>some additional functionality. You can now put the name of folder in
> >>your list of files to deploy. That folder, and all of the files and
> >>folders in it, will be copied to your server. This makes it easy to have
> >>a project with a lot of files: you no longer have to list each file in
> >>the manifest.
> >>
> >>We also reorganized the files that NS Basic needs at runtime, putting
> >>them all into an /nsb/ folder within your project. You may want to
> >>delete your app from your server completely before you deploy next time:
> >>that will get the obsolete NS Basic files out of your app's folder.
> >>
> >>
> >>
> >>
> >
> >
> >
> >
>



#4238 From: "George Henne" <gh@...>
Date: Mon May 2, 2011 5:36 pm
Subject: Re(6): NS Basic/App Studio 1.2.1 released!
ghenne
Send Email Send Email
 
That's correct. The hidden attribute has not been implemented in all
browsers yet. It is part of HTML5.


>Hi,
>
>I think that's just an iOS error (or not implemented feature); hidden
>simply doesn't work in Mobile Safari. Wait for the next update from Apple ...
>Kind regards
>Thomas
>
>Am 02.05.2011 um 06:32AM schrieb drajcic82:
>
> 
>I am not sure why, but the hidden property does not have any effect when
>the app is run on an ipad. It works fine when I test it in chrome with
>F5, but to hide a lable or a textbox on the device I still have to add
>display: none in the style box.
>
>D.R.
>
>--- In nsbasic-app@yahoogroups.com, "George Henne" <gh@...> wrote:
>>
>> The correct version should be 1.2.1.
>>
>> Try downloading from the alternate location, if the main URL does not
>> give you the correct result.
>>
>> >I think I've been upgrading as they become available so it should have
>> >been from the previous version (I skip the Betas though).
>> >
>> >I'm fine with it being different and even re-entering it but when I
>> >click on Deploy nothing comes up.... Although I just started it back up
>> >again and now Deploy works and has my data.
>> >
>> >I just started it back up again to get the Deploy status correct and
>> >noticed that it did not keep my serial# after I entered it and it says
>> >it is "NS Basic/App Studio 1.2.0 Beta 2 Demo"  is that the correct
>> >latest version?
>> >
>> >Don
>> >
>> >From: George Henne <gh@...>
>> >To: nsbasic-app@yahoogroups.com
>> >Sent: Monday, April 18, 2011 5:29 AM
>> >Subject: Re: Re(2): [nsbasic-app] NS Basic/App Studio 1.2.1 released!
>> >
>> > 
>> >Which version did you upgrade from? We changed how this information is
>> >stored in 1.2.0.
>> >
>> >>
>> >>George,
>> >>
>> >>I upgraded and I noticed two things.  Mostly, I thought the deploy did
>> >>not keep the settings for my server but I went to re-enter the info and
>> >>I can't get anything to popup when I click on the Deploy option.
>> >>
>> >>Also it did not bring over my serial# like NSB Palm and CE does.  It
>> >>would be great if it remembered my serial# :)
>> >>
>> >>Don
>> >>
>> >>From: George Henne <gh@...>
>> >>To: Nsbasic App <nsbasic-app@yahoogroups.com>
>> >>Sent: Saturday, April 16, 2011 11:05 AM
>> >>Subject: [nsbasic-app] NS Basic/App Studio 1.2.1 released!
>> >>
>> >> 
>> >>NS Basic/App Studio 1.2.1 is ready to download. You can download it from
>> >>the same URL as before. There is also a new, faster download location:
>> >>we will be emailing that to everyone.
>> >>
>> >>There are a few nice new features:
>> >>- You can now upload a whole folder of files with your app.
>> >>- A number of controls have new properties to enhance their appearance.
>> >>- iPads can now have splashscreens
>> >>
>> >>Here is the complete list:
>> >>
>> >>1. Deploy: Directory names can be put in the manifest.
>> >>2. Controls: FontSize, FontFamily, FontStyle, FontWeight, color and
>> >>backgroundColor properties added to Label, Text, TextArea and Button.
>> >>3. Controls: FontSize, FontFamily, FontStyle, FontWeight and color
>> >>properties added to HTMLview.
>> >>4. Controls: Hidden property added to a number of controls.
>> >>5. Controls: HTMLview border-style changed to borderStyle, and
>> >>background-color changed to backgroundColor.
>> >>6. Deploy: Cache Manifest simplified.
>> >>7. Deploy: All system files are now put into a new nsb folder.
>> >>8. Deploy: slash and colon now allowed in manifest file names.
>> >>9. Deploy: Apps deployed to nsbapp are now available immediately.
>> >>10. Deploy: Apps now stay on nsbapp.com for 10 days.
>> >>11. Deploy: Progress message appears properly with lots of files.
>> >>12. Docs: Handbook and Language Reference updated.
>> >>13. IDE: Adding code file marks project as dirty for saving.
>> >>14. IDE: Problems in Recent Files list fixed.
>> >>15. IDE: New splashscreenipad property.
>> >>16. Setup: Menu shortcut no longer contains version number. You may need
>> >>to uninstall/reinstall to see this change.
>> >>17. Project Explorer: multiple code files fixed.
>> >>18. Runtime: Browser check fixed for IE.
>> >>19. Samples: Base64Image added - shows using image as a string.
>> >>20. Samples: HTMLviewCallFunction - call a function in your app from
>> >HTMLview.
>> >>21. Samples: iMenu and iTitlebar renamed Menu and Titlebar.
>> >>22. Samples: MoveTheBall renamed to Accelerometer.
>> >>23. Translator: Dim tt(6):s=tt(1-1) fixed.
>> >>24. Translator: if s="if(" then s=s & "}" fixed.
>> >>25. Translator: if s="if(" then s=s & "\" fixed.
>> >>26. Translator: d = new Date() fixed.
>> >>
>> >>Documentation Changes for Version 1.2.1
>> >>
>> >>Deploy: We have made some changes to how files are deployed to provide
>> >>some additional functionality. You can now put the name of folder in
>> >>your list of files to deploy. That folder, and all of the files and
>> >>folders in it, will be copied to your server. This makes it easy to have
>> >>a project with a lot of files: you no longer have to list each file in
>> >>the manifest.
>> >>
>> >>We also reorganized the files that NS Basic needs at runtime, putting
>> >>them all into an /nsb/ folder within your project. You may want to
>> >>delete your app from your server completely before you deploy next time:
>> >>that will get the obsolete NS Basic files out of your app's folder.
>> >>
>> >>
>> >>
>> >>
>> >
>> >
>> >
>> >
>>
>
>
>

#4239 From: "George Henne" <gh@...>
Date: Mon May 2, 2011 7:01 pm
Subject: Re: Re: PDF file open or linking
ghenne
Send Email Send Email
 
This will open the PDF in a separate window:

HTMLview1.innerHTML="<a href='myDoc.pdf'>Click</a>"

>It?s very difficult, because they are product catalogs...
>
>--- In nsbasic-app@yahoogroups.com, "George Henne" <gh@...> wrote:
>>
>> Can you get the external files in HTML format instead?
>>
>> George Henne
>> NS BASIC Corporation
>> http://www.nsbasic.com
>>
>> >Hi,
>> >
>> >There is a way to open a PDF file calling it from a button or image? I?m
>> >developing an Ipad app that require reading one or more external pdf
files.
>> >
>> >Thx!
>> >
>> >
>>
>
>

#4240 From: "George Henne" <gh@...>
Date: Mon May 2, 2011 7:04 pm
Subject: Re: Re: Black 'Loading....' message
ghenne
Send Email Send Email
 
Adding a delay might make sense for a big app - but certainly not for a
small one. You might be able to do something with flags.

>Build in a one second pause ?
>
>--- In nsbasic-app@yahoogroups.com, "George Henne" <gh@...> wrote:
>>
>> Yes - but any message that is put up gets wiped out immediately as the
>> program restarts.
>>
>> >Doesn't the 'cached' event signify it has finished ?
>> >
>> >--- In nsbasic-app@yahoogroups.com, "George Henne" <gh@> wrote:
>> >>
>> >> The "Loading" message has been fixed in the next build.
>> >>
>> >> I don't see a way to have a "Restarting..." message at this time, but I
>> >> agree it would be a good idea.
>> >>
>> >> >Thanks George, looks good, although there is a slight bug where a CRLF
>> >> >creeps in between "Update" and "Loading" that on occasions pushes the
>> >> >'Loading' word off the bottom of the black window.
>> >> >
>> >> >Could I suggest that adding a "Restarting.." message on
completion would
>> >> >make it perfect :-) On my app nothing happens for 5 seconds while the
>> >> >app is restarted and I can see users tapping the screen and wondering
>> >> >why it isn't reacting.
>> >> >
>> >> >Cheers
>> >> >
>> >> >Al
>> >> >
>> >> >--- In nsbasic-app@yahoogroups.com, "George Henne" <gh@> wrote:
>> >> >>
>> >> >> Great idea - done in next release.
>> >> >>
>> >> >> >Could I suggest this message is changed to 'Updating...' ?
>> >> >> >
>> >> >> >When I keep seeing the 'Loading..' message I feel that a user might
>> >> >> >think that is going to happen every time and requires an Internet
>> >> >> >connection, and will be put off when the app restarts.
>> >> >> >
>> >> >> >If it was changed to "Updating..." ,or even better "Updating app..",
>> >> >> >then they would realise it is a rare occurence and will not be
>> surprised
>> >> >> >when the app restarts after the message is completed as this is
>normal
>> >> >> >procedure when a program is updated.
>> >> >> >
>> >> >> >Thoughts ?
>> >> >> >
>> >> >> >
>> >> >>
>> >> >
>> >> >
>> >>
>> >
>> >
>>
>
>

#4241 From: "alanrichey42" <alan@...>
Date: Tue May 3, 2011 7:57 am
Subject: Re: Black 'Loading....' message
alanrichey42
Send Email Send Email
 
OK, as I understand it, we are in a binary situation.  We either let you control
all this refreshing or we add a 'Function oncache(e)' and then we have to do it
all ourselves.

So do start using flags I will have to do all the re-caching myself ?


--- In nsbasic-app@yahoogroups.com, "George Henne" <gh@...> wrote:
>
> Adding a delay might make sense for a big app - but certainly not for a
> small one. You might be able to do something with flags.
>
> >Build in a one second pause ?
> >
> >--- In nsbasic-app@yahoogroups.com, "George Henne" <gh@> wrote:
> >>
> >> Yes - but any message that is put up gets wiped out immediately as the
> >> program restarts.
> >>
> >> >Doesn't the 'cached' event signify it has finished ?
> >> >
> >> >--- In nsbasic-app@yahoogroups.com, "George Henne" <gh@> wrote:
> >> >>
> >> >> The "Loading" message has been fixed in the next build.
> >> >>
> >> >> I don't see a way to have a "Restarting..." message at this time, but I
> >> >> agree it would be a good idea.
> >> >>
> >> >> >Thanks George, looks good, although there is a slight bug where a CRLF
> >> >> >creeps in between "Update" and "Loading" that on occasions pushes the
> >> >> >'Loading' word off the bottom of the black window.
> >> >> >
> >> >> >Could I suggest that adding a "Restarting.." message on
> completion would
> >> >> >make it perfect :-) On my app nothing happens for 5 seconds while the
> >> >> >app is restarted and I can see users tapping the screen and wondering
> >> >> >why it isn't reacting.
> >> >> >
> >> >> >Cheers
> >> >> >
> >> >> >Al
> >> >> >
> >> >> >--- In nsbasic-app@yahoogroups.com, "George Henne" <gh@> wrote:
> >> >> >>
> >> >> >> Great idea - done in next release.
> >> >> >>
> >> >> >> >Could I suggest this message is changed to 'Updating...' ?
> >> >> >> >
> >> >> >> >When I keep seeing the 'Loading..' message I feel that a user might
> >> >> >> >think that is going to happen every time and requires an Internet
> >> >> >> >connection, and will be put off when the app restarts.
> >> >> >> >
> >> >> >> >If it was changed to "Updating..." ,or even better "Updating app..",
> >> >> >> >then they would realise it is a rare occurence and will not be
> >> surprised
> >> >> >> >when the app restarts after the message is completed as this is
> >normal
> >> >> >> >procedure when a program is updated.
> >> >> >> >
> >> >> >> >Thoughts ?
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >> >
> >> >
> >>
> >
> >
>

#4242 From: "gopalakrishna" <sgjoisa@...>
Date: Tue May 3, 2011 11:25 am
Subject: app not working in device
sgjoisa
Send Email Send Email
 
Hi all !
I am trying write an application which consists trignometric calculations .
Testing it in Chrome browser and working there . But in my android 2.2 device
only data entry form loads . Button_onClick procedure is not working . Is it a
bug ?

#4243 From: "George Henne" <gh@...>
Date: Tue May 3, 2011 12:23 pm
Subject: Re: app not working in device
ghenne
Send Email Send Email
 
From the description, it's tough to say what it could be.

Have you tried running it in Chrome from the deploy site with the
debugger open?

>Hi all !
>I am trying write an application which consists trignometric
>calculations . Testing it in Chrome browser and working there . But in
>my android 2.2 device only data entry form loads . Button_onClick
>procedure is not working . Is it a bug ?
>
>

#4244 From: "starradiodrive" <adrianbrookbank@...>
Date: Wed May 4, 2011 11:07 pm
Subject: websockets...
starradiodrive
Send Email Send Email
 
hi there,

I'm needing to use websocket in local lan between ipad and desktop.. I've got
the VB example server application running on desktop, when I try and connect
using the example websockets application using my local IP
ws://192.168.1.44:13000 it's not connecting...

Any ideas?

Thanks all.

AJ

#4245 From: "johvog" <johvog@...>
Date: Fri May 6, 2011 1:35 am
Subject: my app no-show on mobile
johvog
Send Email Send Email
 
Guys,

I am trying to see how a tiny app works on my iphone, so I deployed it and tried
to find it. On iPhone and iPad, Google says "Your search -
http://www.nsbapp.com/cshtrckr - did not match any document". It runs fine in
all desktop browsers, though.

Anybody climbed this wall yet?

#4246 From: "johvog" <johvog@...>
Date: Fri May 6, 2011 2:39 am
Subject: Re: app not working in device
johvog
Send Email Send Email
 
Got it running? If so, could you share the problem and the fix ? I may be
experiencing a similar issue - see message #4245.

--- In nsbasic-app@yahoogroups.com, "gopalakrishna" <sgjoisa@...> wrote:
>
> Hi all !
> I am trying write an application which consists trignometric calculations .
Testing it in Chrome browser and working there . But in my android 2.2 device
only data entry form loads . Button_onClick procedure is not working . Is it a
bug ?
>

#4247 From: Thomas Gruber <computerhusky@...>
Date: Fri May 6, 2011 6:25 am
Subject: Re: my app no-show on mobile
computerhusky
Send Email Send Email
 
Hi,
works on my Android device and iPhone. Don't search, enter the correct URL.
Tom
Am 06.05.2011 um 03:35AM schrieb johvog:

 

Guys,

I am trying to see how a tiny app works on my iphone, so I deployed it and tried to find it. On iPhone and iPad, Google says "Your search - http://www.nsbapp.com/cshtrckr - did not match any document". It runs fine in all desktop browsers, though.

Anybody climbed this wall yet?



#4248 From: Thomas Gruber <computerhusky@...>
Date: Fri May 6, 2011 6:27 am
Subject: Re: Re: app not working in device
computerhusky
Send Email Send Email
 
Hi,
the "clear box" button works. I don't know what the other button is supposed to do, seems to achieve nothing.
Tom
Am 06.05.2011 um 04:39AM schrieb johvog:

 

Got it running? If so, could you share the problem and the fix ? I may be experiencing a similar issue - see message #4245.

--- In nsbasic-app@yahoogroups.com, "gopalakrishna" <sgjoisa@...> wrote:
>
> Hi all !
> I am trying write an application which consists trignometric calculations . Testing it in Chrome browser and working there . But in my android 2.2 device only data entry form loads . Button_onClick procedure is not working . Is it a bug ?
>



#4249 From: Thomas Gruber <computerhusky@...>
Date: Fri May 6, 2011 7:13 am
Subject: Re: Re: app not working in device
computerhusky
Send Email Send Email
 
Hi,
I looked at your app in the Chrome debugger, and the buttons seem to work as intended.

But: testing your app in Chrome I saw that there seems to be a strange "GET" statement, with the URL
I don't know whether that's part of your code, or something NS Basic has generated?
Kind regards
Tom

Am 06.05.2011 um 04:39AM schrieb johvog:

 

Got it running? If so, could you share the problem and the fix ? I may be experiencing a similar issue - see message #4245.

--- In nsbasic-app@yahoogroups.com, "gopalakrishna" <sgjoisa@...> wrote:
>
> Hi all !
> I am trying write an application which consists trignometric calculations . Testing it in Chrome browser and working there . But in my android 2.2 device only data entry form loads . Button_onClick procedure is not working . Is it a bug ?
>



#4250 From: "George Henne" <gh@...>
Date: Fri May 6, 2011 10:12 am
Subject: Re(2): Re: app not working in device
ghenne
Send Email Send Email
 
Thomas,

Where are you seeing that?


>Hi,
>
>I looked at your app in the Chrome debugger, and the buttons seem to
>work as intended.
>
>But: testing your app in Chrome I saw that there seems to be a strange
>"GET" statement, with the URL
>http://1.2.3.11/bmi/www.nsbapp.com/cshtrcr/nsb/images/backgroundStripes.png
>I don't know whether that's part of your code, or something NS Basic has
>generated?
>Kind regards
>Tom
>
>Am 06.05.2011 um 04:39AM schrieb johvog:
>
> 
>Got it running? If so, could you share the problem and the fix ? I may
>be experiencing a similar issue - see message #4245.
>
>--- In nsbasic-app@yahoogroups.com, "gopalakrishna" <sgjoisa@...> wrote:
>>
>> Hi all !
>> I am trying write an application which consists trignometric
>calculations . Testing it in Chrome browser and working there . But in
>my android 2.2 device only data entry form loads . Button_onClick
>procedure is not working . Is it a bug ?
>>
>
>
>

#4251 From: "johvog" <johvog@...>
Date: Fri May 6, 2011 10:54 am
Subject: Re: my app no-show on mobile
johvog
Send Email Send Email
 
Did that, just as you said, and it works now. Thanks


--- In nsbasic-app@yahoogroups.com, Thomas Gruber <computerhusky@...> wrote:
>
> Hi,
> works on my Android device and iPhone. Don't search, enter the correct URL.
> Tom
> Am 06.05.2011 um 03:35AM schrieb johvog:
>
> > Guys,
> >
> > I am trying to see how a tiny app works on my iphone, so I deployed it and
tried to find it. On iPhone and iPad, Google says "Your search -
http://www.nsbapp.com/cshtrckr - did not match any document". It runs fine in
all desktop browsers, though.
> >
> > Anybody climbed this wall yet?
> >
> >
>

#4252 From: "George Henne" <gh@...>
Date: Fri May 6, 2011 2:31 pm
Subject: Re: websockets...
ghenne
Send Email Send Email
 
Can you verify that the desktop socket is working properly?

>hi there,
>
>I'm needing to use websocket in local lan between ipad and desktop..
>I've got the VB example server application running on desktop, when I
>try and connect using the example websockets application using my local
>IP ws://192.168.1.44:13000 it's not connecting...
>
>Any ideas?
>
>Thanks all.
>
>AJ
>
>

#4253 From: Computerhusky <computerhusky@...>
Date: Fri May 6, 2011 2:58 pm
Subject: Re: websockets...
computerhusky
Send Email Send Email
 
Firewall on desktop? Is port 13000 open? TCP +UDP?
Tom

Von meinem iPhone gesendet

Am 06.05.2011 um 16:31 schrieb "George Henne" <gh@...>:

 

Can you verify that the desktop socket is working properly?

>hi there,
>
>I'm needing to use websocket in local lan between ipad and desktop..
>I've got the VB example server application running on desktop, when I
>try and connect using the example websockets application using my local
>IP ws://192.168.1.44:13000 it's not connecting...
>
>Any ideas?
>
>Thanks all.
>
>AJ
>
>


#4254 From: "johvog" <johvog@...>
Date: Fri May 6, 2011 3:02 pm
Subject: removing a deployed app
johvog
Send Email Send Email
 
Does anybody know (1) how to remove an app deployed for testing on the nsbapp/
server, (2) if not removed manually, for how long does it persist on the server,
and (3) can more than one test app be deployed at the same time?

Messages 4225 - 4254 of 18177   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

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