Error: Only up to 6 modules are supported in this layout. If you need more add your own layout.

Can you come on next week and give us a short chat about what you are going to talk about at DevCon and why you want to go?

John{PROP:Hickey} & Arnold Young

I am coming to CIDC2013!

The last (and only!) Devcon I went to was the Aussie DevCon, Sydney 2007. Lots of fun though I only managed to meet a few of the visitors. Since then I have gotten to know a few more of you lovely Clarion folks online and I am looking forward to meeting everyone in person.

Of course I also hope to increase the profile for my Clarion related projects and demonstrate to everyone just how much their development lives can be improved 🙂 John and Arnold have helped out immensely with getting me over there for CIDC2013 and I am looking forward to a super conference!

If you do any work with embedding the WebBrowser control in any programming language you might find this helpful. I am kind of surprised that I had not heard of this until now, I just assumed that the WebBrowser control would simply use the most recent version of IE available by default but it turns out this is not the case!

http://msdn.microsoft.com/en-us/library/ee330730%28VS.85%29.aspx#browser_emulation

For IE 8 and later the default emulation mode is IE7 Standards mode!!

From what I have seen there are two different ways to make sure of which rendering mode is used by IE and depending on your situation one may be more suitable than the other.

I was playing with this technique a lot over the past few weeks. There is a lot of work coming up to integrate clarion with .Net components and if there was a way to do so without having to register them using regasm before they could be used that would be really, really awesome.

See the thread “COM Gurus – Need some help & advice” on comp.lang.clarion newsgroup for some further discussion.

Long story short, I was able to get it partly working. With the right manifest you can use a COM object from clarion just fine without registration. Unfortunately this does not extend to placing user controls in a Clarion OLE control which is pretty much all I was after.

Clarion calling .Net COM reg-free!

 

All is not lost, I think there are still a few ways this could be achieved but for now I have had to shelve the project in deference to more financially immediate concerns… such as you know, paid work Smile

See the repo I created on GitHub for an example project, more information and some links to where I think it could go next – https://github.com/fushnisoft/ClarionRegFreeCOM

-brahn

This post is a heads up to let you know that the syntax highlighting package for Clarion, SublimeClarion, is now available from Sublime Package Control!

If you have not done so already, first install Sublime Package Control as described here then install the SublimeClarion package via the command palette. .. couldn’t be easier! More details on command palette usage here.

 

image

-brahn

 

Ok, so before you ask why on earth would you bother let me explain 🙂

As part of my work over at ClarionAddins I am always looking for way to improve the user experience as well as stretching my knowledge of .Net programming. I thought it might be nice to use WPF but since the Clarion IDE is targeting v2.0 of the .Net framework this is not so easy. Hence this example!

Of course there are many resources out there related to this topic, see below, but nothing I could discover specific to v2.0 so for me it took a little work to get there. I learnt a lot about reflection along the way!

This code assumes that the v3.5 Framework is installed on the target machine. For production it would of course be necessary to test for this and react accordingly.

Here is a screenshot of this technique being used in an addin I am working on:

WPF UserControl in an Addin Pad!

-brahn