Re: Stopped working with IE8 « Result #1 Today at 2:46pm »
Does your home server have a static IP address on your local LAN?
I had this sort of problem recently and it wasn't my Internet-facing IP address, but the local LAN address of my server that changed.
I rebooted the server after a Windows update and it was assigned a different IP address by my wireless router which usually doesn't happen. The router, however, was configured to forward to the OLD IP address.
At the time, I was in a hurry, so I just updated the forwarding address in the router setup. The best long term solution, though, is to give the server a static IP address.
I never got this working. It was working before, I didn't change anything except the upgrade to IE8. Every RB and router setting is the same as before. Everytime I use http://www.whatismyip.com/ it shows the same IP address.
Re: Stopped working with IE8 « Result #2 Today at 2:20pm »
I never got this working. It was working before, I didn't change anything except the upgrade to IE8. Every RB and router setting is the same as before. Everytime I use http://www.whatismyip.com/ it shows the same IP address.
Re: this are only a test.... « Result #3 Today at 2:10pm »
Most interesting. I have now come to the conclusion that the problem lies mainly within the way the "DIV" statement is handled. If I change it to html "<div id='main'>" then put [begin] within the division all is fine. So far.
Branching from the button to [begin] no longer generates an error this way.
Re: this are only a test.... « Result #4 Today at 12:32pm »
In this version of the test everything works the way I want except for one thing. Division "abox" is displayed outside of the division "main".
So how do I get "abox" INSIDE of division "main" as intended?
Is this place dead or what?
Code:
dim ask$(35,6)
ask$(1,1)="Who is an amateur operator as defined in Part 97?" ask$(1,2)="A person named in an amateur operator/primary license grant in the FCC ULS database" ask$(1,3)="A person who has passed a written license examination." ask$(1,4)="The person named on the FCC Form 605 application" ask$(1,5)="A person holding a Resticted Operating Permit" ask$(1,6)="A"
ask$(2,1)="What is the ITU?" ask$(2,2)="The International Telecommunications Utility" ask$(2,3)="The International Telephone Union" ask$(2,4)="The International Telecommunication Union" ask$(2,5)="The International Technology Union" ask$(2,6)="B"
this are only a test.... « Result #5 Yesterday at 3:06am »
The heart of this test I have worked out. A question appears and four answers, with buttons appear below it.
When you click "next", the given answers all disappear nicely as they should.
What I want to do now is, to show the proper answer only inside the green bordered box.
Perhaps using a function to show one or the other? Ideas welcome.
Code:
dim ask$(35,6)
ask$(1,1)="Who is an amateur operator as defined in Part 97?" ask$(1,2)="A person named in an amateur operator/primary license grant in the FCC ULS database" ask$(1,3)="A person who has passed a written license examination." ask$(1,4)="The person named on the FCC Form 605 application" ask$(1,5)="A person holding a Resticted Operating Permit" ask$(1,6)="A"
ask$(2,1)="What is the ITU?" ask$(2,2)="The International Telecommunications Utility" ask$(2,3)="The International Telephone Union" ask$(2,4)="The International Telecommunication Union" ask$(2,5)="The International Technology Union" ask$(2,6)="B"
most interesting chain of events « Result #6 on Dec 6, 2009, 11:36pm »
Can't quite figure this one out but doesn't really matter as it works. When you click the button programming is diverted to the block named "check". All I have it doing is sending that event back to another block "check2", inside the main division.
If I put the print "hello" item in "check" nothing is printed. Very very strange.
cssid #box1,"{width:25em; margin:1em; border:solid 2px #00f; background:#CFF; padding:1em; }" div box1 ' holds the question print "what is the question?"
cssid #box1,"{width:25em; margin:1em; border:solid 2px #00f; background:#CFF; padding:1em; }" div box1 ' holds the question print "what is the question?"
Re: Need to understand.. for security reasons « Result #8 on Dec 6, 2009, 7:06am »
Session timeout is set to 10 minutes.... But regardless to the session timout being set to 1 minute or 60 minutes, I would need to be able to obtain the actual IP at anytime and any action... not just upon initial connect / compile.
Joined: Aug 2007 Gender: Male Posts: 555 Location: Austria Karma: 4
Re: Need to understand.. for security reasons « Result #9 on Dec 6, 2009, 4:58am »
What is your session timeout set to?
_s=xsDCTLhFUvqyPYeo ... this is the unique session key _k=kQecHjQK ................ don't know exactly what this is, but seems to be related to the LINK command, I think
Need to understand.. for security reasons « Result #10 on Dec 6, 2009, 3:54am »
I'm trying to understand what exactly RB is doing in the following case..... I have her a little test program that just does not do anything else but showing the UserAddress$ with a link back to itself.
When I click reload, it of cause just returns the same address again and again. But, when I copy the link of the compiled project... eg something like this http://www.somewebserver.com:8080/seaside/go/runbasicpersonal?_s=xsDCTLhFUvqyPYeo&_k=kQecHjQK and then open this link in a browser on a far away computer (other country via RDP and so a different IP), it still shows me the same IP of my home machine.. .even after hitting refresh. Any ideas? Maybe even a workaround? Need to be able to always obtain the current IP even when using links in a compiled project.
Well, just experimented a bit more... seems like the UserAddress$ is captured only once when the project is being compiled and so is not being recaptured after that. I would like to request that the useraddress can be reacquired dynamically, so that it is possible to verify the IP continously in a compiled project.
Re: Any interest in a new RB hosting service « Result #11 on Dec 5, 2009, 11:28pm »
I won't have mySQL or PHP ready for the January roll out, but it is certainly something to consider because Carl is planning to add mySQL support to a future version of Run Basic.
float problem « Result #14 on Dec 5, 2009, 1:16pm »
When the code is run, you will see the div answer falls below the button and starts within the div but. This is not correct. Div answer should begin just to the right of div but.
Re: wishlist: clear div contents « Result #15 on Dec 5, 2009, 1:10pm »
There is no "Can not", there is only "Do". Actually, RB does have a simple way of doing it which involves the CSS. A simple command would make it a whole lot easier. Research "Display" in CSS.
Re: solved - Refresher course: checking buttons « Result #16 on Dec 5, 2009, 12:17pm »
The simple solution is the placement of the "Wait". Which is directly after the buttons. That causes the printing done in "check" to appear within the "main" division, NOT outside of it.
Joined: Jan 2008 Gender: Male Posts: 101 Location: Finland Karma: 0
Re: wishlist: clear div contents « Result #17 on Dec 5, 2009, 12:04pm »
If i understand right, you do want to clear one div, with out refreshing page? If so, then it is not possible with RB, but with Ajax or related method.
Re: Refresher course: checking buttons « Result #19 on Dec 5, 2009, 11:40am »
thanks for the efforts, but both examples still print the replies OUTSIDE of the main box. I see no reason why the branching can't be done within the "main" division. But I'll still play around with it and see how many variations I can come up with.
Joined: Aug 2007 Gender: Male Posts: 555 Location: Austria Karma: 4
Re: Refresher course: checking buttons « Result #22 on Dec 5, 2009, 4:19am »
The following code will print yes.
global reply$ cssid #main,"{width:30em; height:30em; border:solid 2px #f00;}"
[begin] call main wait
sub main ' cls ' uncomment to display div only once div main button #b1,"A",check #b1 setkey("A") if EventKey$<>"" and EventKey$=reply$ then print "yes" end div
print "Main .... "; EventKey$ print "Reply ... "; reply$ end sub
sub check handle$ print "Sub ..... "; EventKey$ reply$=EventKey$
sub check handle$ print "Sub ..... "; EventKey$ reply$=EventKey$ end sub
The program executes all lines till it hits the WAIT command, where it sits waiting for button to be pushed. If the button gets pushed, the event handler sub is executed and the program flow is returned to the WAIT command.
The main program will never be executed another time.
The reply$ variable must be global, since regular variables inside of procedures are not visible to other parts of the program.
XML parser problems « Result #24 on Dec 5, 2009, 2:40am »
I'm kind of new to xml.. but is it normal, that the xml parser quits working when there is the "&" character in the xml file? RB reports "semicolon expected"
I I realize that revving up my end of things certainly does help, and I will definitely put some time and energy into RB pretty soon now.
We do need a new release.
Yes, that seems to be the main issue. The website hasn't been updated for a year or so and makes the RB Project look pretty much abandoned.... besides the look of the site what dos not really reflect the possibilities of RB. It would be more than cool to see a new version coming up sometimes soon! And please take a look at the Tracker http://runbasic.wikispaces.com/Tracker for user-suggestions. Would be nice to see at least some of the requested features in the next release.
Refresher course: checking buttons « Result #28 on Dec 4, 2009, 10:26pm »
In the following simple code, why does "yes" never show up? When button is clicked, code is directed to the subroutine. The two lines get printed outside of the box as expected. But the expected print of "yes" never happens. Tried with a global and that failed.
Re: Any interest in a new RB hosting service « Result #29 on Dec 4, 2009, 10:12pm »
Yes, I'm planning to bring a new Run Basic hosting service online early next month. Most of the pieces are already in place. I'm working on some technical issues and doing testing.
I'll post details here as things progress. Stay tuned!
Do a google search on SQLite manager. There are several available. They all have to follow the SQLite rules when creating a DB. So they all should work with RunBasic.