Clarion AnyScreen - Clarion

I am still banned from posting to the SV NG’s.
More that a year now.
Still don’t know why because I asked SV and they just did not provide me with a reason why I was blocked.
Maybe also because I complained about the $1600.00 that I paid for the so called .Net product.

Regards
Johan

just tried AnyScreen, works more or less satisfactory. Found bugs/typos in AnyScreen.inc file, all NAME(‘AnyScreen:Functname’) attributes should be NAME(‘RisNet:Functname’), for example AnyScreen:SetProperty function declaration:

!AnyScreen:SetProperty  PROCEDURE(LONG Feq, LONG Prop, ? cValue, LONG Index = 0),NAME('AnyScreen:SetProperty'),DLL(_ABCDllMode_)  !- wrong NAME attribute
AnyScreen:SetProperty  PROCEDURE(LONG Feq, LONG Prop, ? cValue, LONG Index = 0),NAME('RisNet:SetProperty'),DLL(_ABCDllMode_)

Hi Mike - Good find. Did you let them know?

No I am read-only in 3 newsgroups (C10, C11, AnyScreen) for some time now.

Hi Mike,
Good spot.
I’ve added you post to the AnyScreen newsgroup with attribution.

Mike,

I assume you can still post a PTSS. I certainly can even though I am banned from the NGs. No guarantee SV will read or do anything with the post, but at least that is their choice.

Douglas

His reply to Graham states that it is already fixed for next build, but OK to modify your own copy in the mean time.

How can I set Cyrillic fonts for AnyScreen?

Strange, MesNews show 3 newsgroups as read only, but some my posts today were delivered.
ng_ro

Perhaps out of the dog house or off the …hit list.

I am trying to set up MesNews and am getting a message “Failure : the server is untraceable”. In the server address I have http://discuss.softvelocity.com:8132/ but I also tried it with just http://discuss.softvelocity.com. I also tried using nntp: instead of http:. Any idea why I might be getting this error? I do have my original C6 license number and it has worked on the old dBabble newsgroup program.

In my MesNews I use:

Please update the how-to with new info if necessary:

https://clarionhub.com/t/how-to-access-the-official-softvelocity-newsgroups

That did it, well, that and unchecking “This server needs a secure connection (SSL)” on the Authentication tab.

Hi, I am trying AnyScreen HTML5 client for the first time in development mode. My question is this. Is there any way to pass parameters on the URL to the anyscreen developed app? I am building an asset management database where a QR bar code placed onto a label stuck to an asset is translated into a URL by a tablet or smartphone’s camera, for example the QR bar code is something like https://assets.mydomain.com:12001?itemcode=1001 (This brings up safari on the device and would take the user to a web site

The anyscreen app would be running on the server assets.mydomain.com listening on port 12001 but I want the app to grab the itemcode of 1001 and then I can have code fetch the item and display the form to the client user.

Is this possible?

–Jerry Ray

If you look at the Anyscreen help, there’s a function for that. ClientCommandLink.

But I think I remember that you have to parse the return value out yourself.

As I posted in April 2020:

It’s nice that you can get at the parameters so we can parse them out
ourselves, but it would be more Clarion-like if it worked at least
partially like COMMAND() where you can pass a parameter name and
retrieve a result.

It would be somewhat useless to have something like COMMAND(‘1’), but
if it worked like COMMAND(‘MyParam’) then that would be very useful.

First thing to remember about ClientCommandLink is that the string may be URLEncoded
How I handle that and the parsing is using the SystemStringClass and SETCOMMAND eg

commandLink SystemStringClass
saveCommand SystemStringClass

if AnyScreen:Active()
saveCommand.FromString(command())
commandLink.FromString(AnyScreen:ClientCommandLink())
commandLink.UrlDecode()
setcommand(commandLink.ToString())
end

glo:user_name=command(‘user_name’)

if AnyScreen:Active()
setcommand(saveCommand.ToString())
end

Once you’ve URLDecode(d) the string you can use SETCOMMAND and from that point on treat it as a ‘normal’ command line and use named strings to get at the passed parameters (in the example above user_name.

1 Like

anyone got a commercial site running yet?

we have some stuff we want to put up for small group access to some simple tables of data.

Not a commercial site, just a small app to allow input from university department users.

Unfortunately, AnyScreen 1.2 is still lacking such that I would not subject the users to the obvious idiosyncrasies for getting a single wizard form worth of input.

Hopefully, more bug fixes are on the way.

What specific features did not work? any list you have drawn up?

that we can test?