Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Jean-Yves

Pages: 1 ... 3 4 [5] 6
61
Hi,

I wonder whether anyone has seen this behaviour with containers in VisPro Rexx:

I have a container (details view) within a notebook page.  I can load up data into it no problem.  However, no matter which row I select, the VpGetItemValue (using index) always returns me the last row's values, even though the index returned does change as I click through the rows .

The container has a symbol of CNT_CGI and I have an Edit button who's When Clicked/Selected event code is as follows (this is test code to just show some message boxes: I have commented out the fuller version but the same bug of the last row's values returned persists):

Code: [Select]
Arg window self

/* Get index of selected item */
index = VpGetIndex(window, 'CNT_CGI', 'SELECTED', 0)

if index = 0 then
    response = VpMessageBox(window, 'Error', 'No CGI item was selected')
else do
    value = VpGetItemValue(window, 'CNT_CGI', index)

    cgiName = value.1
    message = 'You selected the' cgiName 'CGI entry'
    response = VpMessageBox(window, index, message)
end

value = ''
index = 0

The initial VpGetIndex() call seems to work as when I click through entries, the 'index' variable is shown to change and returns consistent values for the rows I click on (eg if row 1 is 1234567 and row 2 is 567879, I always get 1234567 for row 1 and always get 56789 for row 2)

But the cgiName value is always the last row's value

The problem seems to be with the subsequent VpGetItemValue() call.  For some reason it seems to disregard the value of index.

Any ideas?

PS - I tried using a list box as thses use the same methods, and it works fine for those (ie always returns me the correct row's single value).


62
Applications / Re: About eComStation Pricing
« on: October 10, 2014, 11:41:37 am »
$30 would be for a non-commercial license though.

Companies would still pay the premium which they can afford.

Unless I misunderstood Martin's initial thoughts?

63
Applications / Re: About eComStation Pricing
« on: October 10, 2014, 10:48:39 am »
Hello Martin.

I would very much like to see a non-commercial license. I'd pay $30 no problem to upgrade from 1.2R to the latest version. $50 even. The current price is very much geared towards corporates and not enthusiasts, which ultimately is a problem as it is the enthusiasts who are likely to be developing new innovations and keeping the OS fresh.


64
Applications / Re: My lost apps...
« on: October 10, 2014, 10:41:42 am »
No I don't think so.  Unless I sent dink a copy of the admin tool - but his site is no longer live. And I didn't personally know anyone else who used OS/2 or eCS after I left the banking IT world, so no one to share coding tips with other than online.

However, I have already begun the Admin Tool rewrite as it's a nice self contained project that should be relatively easy to do and a nice break from my day coding (databases, web back ends).

65
General Discussion / Re: 1.2R vs 2.1
« on: October 10, 2014, 09:52:39 am »
Thank you guys, that's very helpful.

I'll hold off for now then - I just wanted to make sure I was not missing out on anything major. As I run eCS in a VM, drivers on the whole are not a problem - it's a pretty good experience

66
General Discussion / 1.2R vs 2.1
« on: October 09, 2014, 08:43:51 pm »
Hello,

Is there a list somewhere of all the changes since 1.2R up to 2.1?

I'm trying to decide whether the £90 asking price is worth it given that there may not be any further updates.

I must say I've really caught the eComStation bug again since installing it the other day!

Thanks

67
Applications / Re: My lost apps...
« on: October 09, 2014, 08:38:06 pm »
Yes of course. Although only one of the apps now survives as anything but screen shots :(

Thanks everyone for the advice re Rexx re else engineered source code. I had no idea that was possible. Alas though, the admin tool for web/2 and the file manager have no exe either. 

What I'm most upset about is I trashed bunch of old hard dri es only a few weeks ago. The source was probably on one of those...  silly boy!

68
Applications / My lost apps...
« on: October 09, 2014, 11:44:32 am »
Digging through old backup CDs, I found screenshots of some apps I built for eCS in the early 2000s. Alas, no source code remains and I only have the executable for one of them (also on hobbes)

All apps were built using VisPro Rexx.

Felix/2, a simple file manager. From memory this never got very far beyond basic file operations (copy, move delete)




QLayConfig/2 to manage the QLay Sinclair QL emulator config file (QLay is a DOS based emulator that runs very well under OS/2). The executable is available from hobbes




Admin Tool for Web/2 to manage the Web/2 webserver config files. I'd completely forgotten about this one! :)  I am quite annoyed about losing the source code for this as it seems pretty feature complete but I never got around to uploading it to hobbes (or if I did, I cannot find it there)








Actually, I may have a pop at re-creating the Web/2 admin tool  as a nice little project to re-learn VisPro Rexx

69
Programming / Re: ObjectVision
« on: October 05, 2014, 05:54:35 pm »
Thanks Ivan. 

70
Programming / Re: ObjectVision
« on: October 05, 2014, 03:23:48 pm »
Hmmm. The zip extracts to .img files, which means I'd have to create floppies from those.  I think I have a USB floppy drive somewhere, but even if I do, I'm not sure whether VirtualBox will suport it.

I've been scouring the internet for the native OS/2 version (which has the benefit of allowing Rexx scripting in addition to the value/event tree logic) but aside from a few references to it in passing, no one seems to have it, not even old software shops or abandonware sites.

So, if anyone does come across a copy of the native OS/2 version, I'd be very grateful if they'd let me know.


71
Programming / Re: ObjectVision
« on: September 29, 2014, 10:47:06 am »
Ah thanks :)

I'll give that a go.

I do remember that there was a native OS/2 version though. The windows version might work though.

There was, Version 1.x was 16bit but there was a version 2 (and possibly v2.1) for 32 bit OS/2 v2, however it came out only shortly before Borland dropped the development of Object Vision altogether and it was slower than the 16 bit version. A late beta of OV was shipped on an early Devcon disk, possibly DC1.

That sounds right - I was pretty sure we had a native version of v2 rather than running under Win-OS2. 

72
Programming / Re: ObjectVision
« on: September 27, 2014, 11:21:46 pm »
Ah thanks :)

I'll give that a go.

I do remember that there was a native OS/2 version though. The windows version might work though.


73
Programming / ObjectVision
« on: September 27, 2014, 06:35:48 pm »
I don't suppose that Borland ObjectVision 2 for OS/2 is available for download anywhere?   I've just found some OV files on a floppy disk that I must written in the 1990s but I can't for the life of me remember what they relate to!

 

74
Programming / Re: VisPro Rexx printed manual
« on: September 12, 2014, 12:51:55 pm »
I think I have been very stupid!  I just looked on Hobbes and the VISPROREXX-3_1_1.wpi description says that that includes the manual as a PDF already!!!

I can't check right now as I don't have access to an eCS machine here, but I'll look tonight if that is the case.  If it is, bingo! :D

With regards the Vx-Rexx, I am sure you are fine - I don't think anyone would mind the manual being made available. I've grabbed a copy anyway! Thank you.  :)

75
Web applications / Re: Web/2 and PHP5
« on: September 12, 2014, 12:25:07 pm »
OK, I'll try that.

Many thanks, I really appreciate you taking the time to help out.

Pages: 1 ... 3 4 [5] 6