Martyn's blog for the Revelation Software community, sharing ideas, news, views and more. NOTE - Views and opinions expressed in this blog are personal and do not necessarily represent those of Revelation Software.
Wednesday, 27 May 2009
New Look Sprezz!!
I have moved the Sprezzatura blog link and David’s tech blog to the top of the links on my blog. Please let me know of any other blogs that you find useful with regards to developing with Revelation and I’ll include those in the link list as well.
Tuesday, 26 May 2009
How to close a Window whose WRITE event sends a CLOSE event to the form?
The Solution? Just ask the window if it is closing! Use retstack to see which programs are running, if WINDOW.CLOSE is in the stack, you are already closing. The code is as follows:
0002 * Pre-write ... Do some stuff ...
0003 Call Forward_Event()
0004 * Post-Write ... Do some stuff ...
0005 stack = retStack()
0006 cmd = "CLOSE.WINDOW"
0007 is_closing = IndexC(stack,cmd,1)
0008 if is_closing else
0009 Call Send_Event(@window, 'CLOSE')
0010 end
Friday, 22 May 2009
OpenInsight running under Windows 7
Tuesday, 19 May 2009
Jump to an insert in the new System Editor++
Friday, 15 May 2009
Jump to a script in the Form Designer
Thursday, 7 May 2009
JSON
“JSON (pronounced /ˈdʒeɪsɒn/, i.e., "Jason"), short for JavaScript Object Notation, is a lightweight computer data interchange format. It is a text-based, human-readable format for representing simple data structures and associative arrays (called objects).” (Source – Wikipedia - http://en.wikipedia.org/wiki/JSON).
Thursday, 30 April 2009
Commuter Routine Generator
The commuter routine generator includes an option to create ‘case statement stubs’ in the commuter routine for all controls and supported events on the form. You would usually only select those that you want to include, but there might be times when you would want them all. When checking the box, OpenInsight (from version 9.0.1) will not only double check that you really want to create the empty case statement stubs along with your define stubs, but it will also notify you of how many stubs will be created so that you can make a more informed decision.
Tuesday, 28 April 2009
RCL4.DLL
I am still running into developers reporting issues with OpenInsight being left running in the task manager when OpenInsight is closed. This is mostly on Vista machines, but I thought it worthwhile to include another posting here dedicated to this issue. It will not be any surprise to you that this results in some undesirable behaviour. Revelation therefore jumped on this issue very quickly and the latest RCL4.dll file resolves that issue.
Saturday, 18 April 2009
Server failure at our ISP
I apologise for any inconvenience that this might cause and I will be grateful if you could send an email to info@revsoft.co.uk or info@sprezzatura.com should you require an assistance.
Friday, 17 April 2009
OpenInsight running on 64-bit Servers
Following a support thread with one client recently, I thought that it might be useful to post some useful information on the topic, even though this is in the WORKS forum on the main Revelation web site.
There are primarily two main points to note:
- To run OpenInsight you will need to ensure that you include the OpenInsight registry settings in the 32-bit virtual (WOW64) registry.
- If you are planning on using OpenInsight’s OEngineServer service (SocketServer, OECGI2), then you must ensure that you install 32-bit Java for OpenInsight to use and not the 64-bit version, otherwise the SocketServer will fail. In the recent case, this meant downgrading Java from version 6 (64-bit) to version 5 (32-bit).
Once correctly configured, OpenInsight (both desktop and web) should run without any problems. However, it is highly advisable to ensure that you are using the Universal Driver 4.5 (Windows) and a late version 8 or 9.x of OpenInsight.
In addition, there is a useful MSDN article entitled 32-bit and 64-bit Application Data in the Registry that you should refer to, as well as searching for ‘32-bit applications 64-bit server’ in the Microsoft resource and please don’t forget to search the Revelation WORKS forum for real world help as well.
NOTE: This posting will be updated as more information is made available to me. Please also use the comments facility in this posting to post your hints tips and experiences with configuring OpenInsight on 64-bit machines. Please remember to include your version of OI.