New Blog From Bob Z

There’s a new post up from Bob, Five Designers For 4 Platforms.

It gives you a straight up view of the designers. Windows, Reports, WinForms, Compact Forms, and Web Forms.

They are pretty similar, which is what the team has strived for from very early in the piece (as Bob says). You will find that they all work in a similar manner. That means learn one to learn them all.

It’s good to see screenshots of Clarion 7. What this means for release dates and such I have no idea. I’m sure some people will complain that Bob has just posted fluff. It might be fluff, but most people want to see a bit of fluff. It is the communication that is so often asked for.

Here we have screenshots, we have the CEO (or whatever title Bob holds) talking directly to us. He’s giving us a bangup look at what we’ll be working in, what newbies will wander around in when they get their first play with the new clarion. And that is good.

Aussie DevCon 2007 .. Part 3 (Saturday Content)

This is definitely spanning more posts than I figured. But then, I wrote more notes than last year. A lot more.

Anyway, we are looking at the Saturday content today, which was the most diverse of the days in terms of speakers and .. content. Ha.

Bob, Bruce, Geoff, Russ .. and myself.

Actually, looking at things, this will be a huge post. Hmmm, it’s a good thing people love reading lots of small fonts and dull language.

You’ll notice that as my talk approaches, the notes become more and more .. less. Ha ha.

Let us gird our loins and rush onwards to the battle! I mean .. to the content!

 

Bob Z .. Clarion 7 – the New RTL, Controls and Menus

 

  • We’re looking at Visual Styles (Tabbed Styles) .. Menu .. etc etc
    • You’re free to change the highlight bar to whatever you want.
    • Simple embed point, take full control .. whatever.
    • Icons in the highlight bar .. make it look a lot better.

 

  • Tools-Options -> Use smart tags
    • Rather than go and access commonly used properties .. have a tag window that when clicked comes up with the Menu Editor, selecting the context’d control you were coming off. 

 

  • XP Themes example
    • Tabs Locations
      • The movement of the tabs .. the text doesn’t get distorted (as opposed to the .NET runtime??)
    • Themed Progress Bar
    • Test List, Drop & Combo
      • Fully themed .. don’t have to do anything to get that.
    • Point of this is that you get all controls fully themed by default, just recompile
    • Now that sheets and tabs are fully themed, the prompts need to be checked transparent if you’re using a non-white??? Theme. Not sure about this.
      • Ohhh, TRANSPARENT controls have a background that is the color of the theme.
      • In Clarion 6 and previous, controls such as prompts were not populated with the transparent attribute, because the background was always
      • The body of the sheet tab will pick up the theme color.
      • If it doesn’t have transparent ticked, then it will have the color of the window assigned to it.
    • The "Type" ing of fonts .. True, Clear, .. the drawing of text in all controls has been replaced, and they will display right, but default.
      • If they didn’t have ClearType in by default, weird stuff (in Vista) would happen.
    • Okay, you set the color of the tab .. and at runtime, the header gets the color .. the actual body stays the same as the theme.
    • 4 different tab styles .. 0 (Default), 2 (Colored), 1 (B & W), 2 (Boxed)
    • The User can change their themes .. not sure, faded out for this bit.
    • Control Collection Editor .. for example, from the Sheet properties, you can click to edit the Collection of Tabs.
    • When you want to highlight certain tabs .. give it a color .. if you want to de-emphasise a tab, give it no color.

 

  • Back to the School App
    • Compiling with both C6 and C7 .. we are looking at the different between the two apps.
    • First try didn’t work .. we got themes in both apps. Obviously Bob is trying to show us that when you compile in other the C7 you don’t get the themed support.
    • Showed that you can Opening Working Folder

 

  • By default, brings in the included DLLs into the directory.

 

  • Showing the compile in Clarion6 didn’t work.

 

  • You can have a separate redirection file for .. each .. Project? App? Not sure which one.
    • No, in the Clarion Version options. So you set it for the version of Clarion you are using.

 

  • Bob talked for a while about the output settings by default .. apparently in the Alpha there was a lot of "discussion" as to where the exe outputted .. in Clarion7 they had just done the bin\\debug or bin\\release .. like most other compilers .. but lots of 3rdParty folk didn’t like it.
    • Possible to continue working when compiling (it’s on a different thread).
    • But not possible to compile a second thing at once .. because MSBuild must compile sequentially.
    • Bob showed us in C6 9056 .. "Extended UI" .. enable the XP Menu, and then choose a color type, which is a theme file?
      • What is the Color Type?
        • The color on the body of the tab (that is, the header)
      • compiling in C6
      • something happened, it could have been something between having C7 and C6 opened at the same time ..???? but Bob’s C6 was very very slow doing any compiling, generating .. the ABC stuff at the start.

 

  • Three things missing from the AppGen
    • File Integration, and the .. missed them.

 

Bruce (Capesoft) .. Making Your Clarion Apps Compatible With And Designed For Windows Vista

 

  • Cover what you need to know, to start thinking about
  • How does Vista impact us as Clarion Programmers?
  • And, How does Vista affect our programs running at our customers ..
    • These are the two questions
  • What’s everyone talking about?
    • UAC
      • Making windows more secure by asking the user to allow programs to do things ..
      • Bruce then showed the Mac ad
      • Showing lots of different windows that UAC pops up
        • You can have 7 dialog boxes pop up (not all UAC)
    • Best way to handle UAC
      • Show a UAC error
      • With a trusty magnum .45
    • Go ahead and try to program with UAC turned on
      • Because the Users will have it turned on
        • This is a myth ..??
        • But go ahead and try.
        • Average time to failure seems to be less than 2 weeks (to try and program with UAC on)
      • The camel may be strong, but the knees are buckling
  • Clarion 6 on Vista
    • Keep it out of the Program Files directory
    • Runs fine even with Aero turned on (minor cosmetic issues)
    • SV blog contains more info
  • Vista for Users
    • UAC will probably be on .. although MS might take a lot of it out.
    • Your program needs to be Vista compatible.
    • Turn on UAC (on a test machine) for testing
  • What NOT to do
    • No INI files in the windows dir
    • Registry
      • only write to HKEY_CURRENT_USER, or better yet, not at all.
        • Registry is not the most reliable of data sources
    • Personal opinion
    • No Data files (including INI files) under the Program Files dir .. use GetFolderPath or ds_GetFolderPath
      • These procs (the api) gets the proper data folders, which have changed from XP to Vista
  • What TO do
    • Sign your apps

 

Geoff Spillane .. SetupBuilder 6 – Vista Ready – A Practical Demonstration

 

  • How SetupBuilder can overcome some of the problems faced with development on Vista
    • but also to show how SetupBuilder can manipulate the files and folders to do some housekeeping, to take some basic tasks, make it very easy to use .. to use the Power of SetupBuilder. It’s main power is in the scripting language. Friedrich has made it so you can dragNdrop .. so you don’t have to learn a new language.

 

  • Code Signing .. Vista’s reaction
    • Showing the UAC window, the first one .. "Cancel or Allow" .. heh heh
    • Audible warning as well that happens (ha ha .. very funny)
    • A Code Signed application is a much more genuine window
      • Different color, different wording .. far less aggressive
    • Signing
      • People hiked their prices up with Vista ..
      • If you have a current sub with Lindersoft for SetupBuilder, then you get a significantly reduced price for a cert. with COMODO.
      • But also, for those who haven’t bought SB .. for $25 (US) you can purchase a Lindersoft Community Membership, which then gives you the reduced price for the COMODO cert.
    • Geoff takes us through the purchasing of a cert. from COMODO through the Lindersoft site.
    • Okay, now he’s going into SB -> the General Information .. and you put in the Digital Signature information
    • It sets up the code signing for the Installer .. but you also need to code sign the Uninstaller? But the Uninstaller doesn’t exist, it’s built at runtime .. so Friedrich did some fancy footwork, and code signs it at runtime.

 

  • Code Signing your applications (as opposed to your Installer)
    • So now we go into the Script Editor in SB
    • Geoff drags the Script Function .. the "Code Sign Application" function .. which brings up a window dialog to fill in the necc. Info.
    • We see SB code signing the application, and then the Installer/Uninstaller after this.

 

  • Embedding your Vista Manifests
    • A quick fix :: (for people with sizable apps)
      • Throw in a Vista manifest, set it to require Administrator
        • You then get the friendly warning .. but you still get a warning, although only once I believe
    • Geoff runs through how to add a Vista Manifest in SB, using the script functions .. dragNdrop, fill in the window .. badabing, badaboom.

 

  • How do we put things in the right place?
    • SB makes it very easy
    • Geoff showed us how
    • Including Registry Entries .. same kind of deal .. fairly easy.

 

  • Handling Shortcuts
    • Very easy interface .. here, as everywhere else, SB explains itself

 

  • If you don’t have a complicated install, you can work with dialog windows, but if you do have a complicated one, well, you lead through and work in the scripting .. very powerful

 

  • Shortcuts again
    • Showing how to add a ‘choice checkbox" for the User to choose whether the icons get installed.
    • seems to be you would discover most of how SB works simply by using it .. seems very straight forward.

 

  • Using SB to do some house keeping
    • Dealing with Files and Folders
      • SB elevates it to Administrator level

 

Russ Eggen .. ABC Compliant Classes (And Templates)

 

  • ABC Standards defined
    • Included in apps when used
    • Must work out of box
    • Allow Developer to make changes
    • Support embeds for public methods
    • Generates correct code, whether embeds or not
    • Allow extending the class
      • Without once touching the base code
    • Classes must be able to be exported when using as DLLs
    • Changing which base class is used
  • Coding the CLASS
    • Russ opened up TextPad ..
    • Created a new Projct in C6
    • Then went back to TextPad
    • Wants to put together a very simple class, to show us a few things
    • So sets up TextPad for the coloring etc of the code

Missed a bit, phonecalls .. went to loo ..etc etc

  • Russ has kept going with the coding of the Class .. it’s Clarion this time .. ahhh, he’s got the .clw open in C7.
  • !ABCIncludeFile(ABC) would link in to all apps whether used or not.
  • Three ! (!!!) changes it to a tooltip in the C7 parsed autocomplete.
  • C7 part
    • Setting the Link Flags is very important .. the source GPF’s without them.
    • Eg. _DEMOLinkMode_
  • Back to the Slideshow
  • Coding the Templates
    • So we have a class in LibSrc
    • Russ then goes into TextPad again, starts coding a simple Template.
      • Reminder to make the Template ABC Compliant .. (the default, if you leave it blank, is Clarion (Legacy)
        • So put FAMILY(‘ABC’) at the end of the #TEMPLATE first line.
      • Need a #PREPARE statement for ABC Compliance .. (Russ also lets us know that his own preference is to code the #ENDPREPARE right now, so as to not forget.
      • Okay, above the #PREPARE there needs to be a #BOXED(‘Default prompts’),AT(0,0),WHERE(%false),HIDE .. and #ENDBOXED
        • This is for setup code going on behind the scenes, and you don’t want the prompts visible
      • This doesn’t yet cause the "Loading ABC Defaults" window .. that’s in the #PREPARE statement (not the #BOXED)
      • Russ then went through the #PREPARE body
        • #CALLs ..
      • The template code to EXPORT all Class stuff (which is a previous point of ABC Compliance)
        • #AT(%BeforeGenerateApplication) .. #ENDAT
    • In the middle:
    • #CALL(%AddCategory(ABC),’DEMO’) this takes ‘DEMO’ and prepends it to the ABC link stuff above
    • #CALL(%SetCategoryLocation(ABC),’DEMO’,DemoClass)
      • That’s all you need to make sure it’s exported for DLLs

Okay. I missed a fair bit of Russ’ stuff, mostly because i was in and out of the loo and on the phone with the wifey, talking about my talk. And honestly, for an hour or two, I was pretty wiped out after the exertion of singing and dancing for the crowd. Heh heh.

Apologies Russ!

However all is not in vein. Ha ha. Or vain.

Dave Beggs came to the rescue. I’ll now display his notes verbatim.

Cheers Beggsy!

 

Included in apps when needed

Work out of box

Allow developer to make changes

Embeds for all public methods

Generates correct code whether embeds used or not

Allows extending the class without touching base class code.

Automatic Exporting of the Class if DLL

Allow changing of the base class used

Coding the class

!ABCIncludefile(ABC) would link in to all apps whether used or not

ShowMessage   Procedure() ! ,Extends            The ! ,extends makes it show up in the embed tree

If you put a comment in a class with three !!! then it becomes the tooltip in the C7 parsed autocomplete

Coding Templates

#Template(Democlass,’Devcon Class’),Family(ABC)   ! the default family is Clarion!

#Extension(DemoClass,’Global Demo’,APPLICATION

#Boxed(‘Default prompts’),at(0,0),where(%false),Hide

  #Insert(%OOPHiddenPrompts(ABC))  !in abboop.tpw – calls group ooppprompts – basically loading all classes in memory

#EndBoxed

#Prepare

   #Call(%readabcfiles(ABC))  ! read the abc header files if not already read

   #Call(%SetClassDefaults(ABC),’DC’,’DC’, ‘Democlass’)   !the second one would have the applicationtemplateinstance in a local class

#EndPrepare

#Atstart

   #Call(%readabcfiles(ABC))  ! read the abc header files if not already read

   #Call(%SetClassDefaults(ABC),’DC’,’DC’, ‘Democlass’)   !the second one would have the applicationtemplateinstance in a local class

    ! this is like an init – set the class defaults   this is ths same as the #preopare – the 2 calls needed at both atstart and prepare

#Endat  !not #Endatstart!

#AT(%BeforeGenerateApplication)  !This will generate the export files for multi dlls

#Call(%AddCategory(ABC),’DEMO’ )  !Demo will be made into _demolinkmode_ and _demodllmode_ – MUST BE UPPERCASE

#Call(%SetCategoryLocation(ABC),’DEMO’,’Democlass’)

#Endat

#tab(‘Global Message Instance’)  ! allows the developer to change the class name

   #Button(‘&Message Stuff’)       ! done on a button so you can use the with, and

#With( %Classitem,’DC’)          ! make the global prompt come up as a single instance

      #insert(%GlobalClassPrompts(ABC))

#EndWith

#Endtab

#Tab(‘demo base class’)     !Allow the developer to change the base class

Prompt(‘&DefaultClass’:’. From(%PClassname)),%Classname,DEFAULT(‘Democlass’),REQ

#EndTab

#At(%GatherObjects)

  #Call(%ReadABCFiles(ABC))

  #Call(%AddObjectList(ABC),’DC’)    !puts a value in %thisobjectname

  #Call(%ObjectList,%ThisObjectName)

  #Set(%ObjectListType,’DemoClass’)

#Endat

#AT(%GlobalDataClasses)

#Call(%SetClassItem(ABC),’DC’)

#Insert(%GenerateClass(ABC),’DC’,’Global Instance’),NoIndent   !Generate the code

#EndAt

#If (%Baseclasstouse())

#Call(%Fixclassname(ABC),%Baseclasstouse())

#For (%pClassMethodPrototype),Where(%MethodEmbedPointValid())

#Call(%SetupMethodCheck(ABC))

#At(%DemoClassMethodCodeSection),Priority(5000),Description(‘ParentCall’),Where(%parentcallvalid()) ! Add Parent call embed code

#Call(%GenerateParentCall)

#Embed(%DemoclassMethodDataSection,’Demo class data section’)

#?Code

#Embed((%DemoclassMethodCodeSection,’Demo class codesection’)

#Call(%GenerateNewLocalMethods(ABC)

#AT(%GobalData)

#At(#ProgramProcedures),Where(%ProgramExtension <> ‘DLL’ or ~%GlobalExternal)

  ! this knows whether to include in multi dll

#Call(%GenerateVirtuals

#group(%Parent Call   ! this is called as a function and retuerns the abc version which could not be done as the template wouldt have recognized abc earlier.

Local templates

Classprompts, not globalclassprompts

Default instancenames setclassdefault in prepare – use activetemplateinstance

Finally Russ has skeleton template.

Also 36 page pdf template

 

Bruce + Jono .. Fun With Capesoft

 

(notes taken from Bruce’s actual words .. I realised too late that I should have been doing this all along, rather than trying too hard to understand and write in my own words .. ha ha)

 

  • takes Jono about an hour and a half to knock the app together

 

  • first group of products
    • Around the concept of LookNFeel
    • We judge things based on what they look like, we shouldn’t, but we do.
    • Most of the car purchase is emotional.
    • Emotional attachment comes with benefits
      • Saving you time
      • Saving money
    • There are a lot of little things that we put together
      • In the app, there’s a very subtle shade of background color
    • Draw heading at the top of the window
      • A 21st century look to it
    • On the Form .. entry fields are rounded
    • If you turn you tabs into a Wizard .. you get a line down the bottom under the buttons
    • Large fonts tends to exaggerate everything, so this looks much better in normal mode
    • You can have icons on your Draw headings
    • AnyFont .. allows you to change your font at runtime.
      • When changing from major versions, we change the font, the style, the heading ..
      • Looks different, works the same (People love this)
      • Changing the CharSet of the fonts .. eg. Greek letters
      • A lot of users who don’t have perfect eyesight anymore, nice not to be looking at a 6 point font.

     

    • TearOff
      • Ken got a standing ovation (phoned up Bruce one day) in the middle of a demonstration .. went to the menu item, clicked .. and got a Toolbar window
      • Put icons, icons in text, dock the window

     

    • Hyperactive
      • Allows you to make meaningful data do things.
      • Internet, Email address, word docs, Skype .. how do we make our users use them?
      • Question about Terminal Services etc .. what Api is being called .. 
        • Bruce said he wasn’t sure, but others said it works fine

     

    • KeepingTabs
      • Remembers which tab you were on
      • Trivial .. but makes a huge difference to Users
      • Can store the info wherever you want

     

    • EasyHelp
      • Who likes writing help? Apart from Russ .. maybe that’s the exception that proves the point!
      • Can write your own help at runtime
      • OR more importantly, someone else can write the help for you at runtime.
      • Capesoft uses their Distributors and Dealers to write their help.
      • Question from Warren .. are there tools available for copying help from other files?
        • A: it’s a Topspeed file, so trivial to do it yourself
      • Automatically populates tips and other things from the Dictionary

 

  • Second Group of products are ones that we have tried to be creative with data .. "Addicted to Browses"
    • Insight Graphing
      • It was really nice to seeing guys adding graphs to applications this week.
      • Lots of different types
      • Do heaps of stuff with them .. right-click copy, add to presentation, drilldowns, send to different places, print .. etc etc.
      • Zoom Out, Zoom In, Copy, Save As ..

     

    • HotDates
      • Calendar view of your data
      • Very illuminating, you can see a lot of things from this that you can’t normally
      • The example of the guy who took a sick day on a Wednesday every 6 weeks, had mapped his entire year out
      • Can go month, year ..
      • DragNDrop the records around
      • Go to the form from any of the records
      • Grab one, move it somewhere
      • You can insert, cutNpaste, copyNpaste ..
      • It’s actually adding the records like a browse

     

    • File Explorer
      • GPS coordinates, plugged into Google Maps .. get the place where they had the sighting
        • "Changing a Sighting record"

     

    • Send To
      • Wonderful story
      • Client is leaning over Bruce’s shoulder, getting the browse right, the sort order .. he said "Great, print that!" .. Bruce said no, we have to go to a report.
      • Which is insane .. so kill two birds with one stone
      • Did a proof of concept, then handed it to someone else to code, which is the better way to code .. get all the glory and don’t do the hard work
      • Send it to printer, file, email, ftp or the clipboard ..
      • And when it’s going there, you can decide the format
      • PDF, HTML, Excel, Word, CSV, XML .. you can add your own format if you like
      • It preserves all the formatting, the colors, the graphics, assuming the destination format supports those elements.
      • If your browse is really wide, when it goes to the printer .. prints over multiple pages .. multiple columns of pages .. there was a Sideways reference here, from old Apple days
      • Q: will this work with Clarion .NET
      • A: no idea yet, don’t have it
      • Q: do you have to have Office installed?
      • A: if Excel doesn’t exist, it will be greyed out on the window, gracefully
      • Q: if you don’t want Excel, do you need Office Inside?
      • A: yes you do.

     

    • Office Inside
      • Office Inside does have a nice feature, if the user gives you a file in excel format .. the Import of an Excel file straight into a TPS or whatever file you have
      • Through a wizard interface
      • You can do it one off, or leave the wizard interface for the User to use
      • Bruce’s First Law .. People Lie
      • Bruce’s Second Law (which has been repealed) .. Never Call the Customer a Liar to their face
      • Bruce’s Postal Law .. the further away things are, the faster they get to the destination

     

    • GPF Now
      • I made a comment this week, and people laughed
        • "GPF’s are your friend"
      • But I was serious
        • They are a very important programming tool
        • What is wrong .. and Where it’s wrong
        • What is the biggest problem?
          • We don’t know how to interpret the information
      • "Would you like to GPF?"
        • For the masses (because real programmers code in HEX) we wrote a little app
          • A whole pile of information in the window that comes up after pressing "GPF Now" ..
      • What build of windows
      • What key was pressed
      • What thread was running
      • The line number of the program
      • The procedure, the module
      • All of the line numbers that were used on the way to this line

     

    • NetTalk WebServer
      • The Online Account app on the web
      • A simple clarion exe, no dependencies, no IIS, no Apache
      • Accessible via any browser
      • There’s a danger here, with all these examples
        • You think this is the way this has to look, and get set in the pattern
        • You have complete control as a programmer over what the thing looks like
      • Jono clicks through Invoices, line items, Customers .. showing off various aspects of the Web Serving.
      • Customers->Change button-> a dropdown for Country
        • The Shipper Codes change with the change of DropDown
      • Customers->Invoices Tab->
      • In Jo-Burg, people deployed on Monday the week after the Capesoft Training
      • Online Calculator example
        • BMI Calculator
        • Don’t need a button, because all the fields are dynamic .. but you can if you’d like
        • All of this is done with Clarion code, no custom Javascript in this particular app
        • Q: ????
        • A: we are not taking an existing application and transferring it to the web server
      • What we’ve got are browses and forms for you to create (you can reuse your reports)

     

    • RightReports
      • Spend a few minutes with a brand new product
      • Available in alpha (we have a closed alpha group)
      • RightReports is the ability to include in your own application (all source code, no dlls)
      • The main reason why we went down this road is that you have the ability to write your own code, your own functions that the report engine will make use of
      • Went to the loo
      • A very simple report, Invoice
      • Q: Dropping in Graphs
      • A: hopefully one day

Bob’s Post In Full

I spoke about Bob’s post to the community in a previous post. He’s given me permission to regale it here in all it’s glory. So here ’tis.

——–

Update on the Clarion UKCUG meeting

I’m back in the USA after a great trip to the UK and France. The Clarion UK user group meeting in Cambridge was a very good time. I had a chance to meet with some great folks, and it was a superb location. My thanks to Richard Rose for organizing the event, and to all of the developers who attended. I had a chance to speak with many of those who attended, and I came away with a clearer understanding of what developers want and need for both Clarion 7 and Clarion.Net.

Between Scott and myself we covered the gamut, from updates to the Clarion 7 UI feature set, to the new functionality in the Project system, Class Browser, Window and Report Designers, source code Editor and much more. Then I did code walkthroughs and ran live Clarion WinForm applications, WebForm apps, Web services, and Mobile applications. My presentation alone ran about 4 hours.

Because we covered so much new territory it’s natural to expect that some of the information would be misinterpreted, and upon my return I found that some information posted at devdawn.com and at clarionmag.com is a bit off the mark and has created some confusion.

I’ll try to clarify a few things here, addressing the items posted that were not quite accurate, and also answering some questions sent in via email to our sales/support team that were generated from the incorrect information.

  • Clarion.Net can use every driver that we currently ship
  • All of the standard Clarion file access syntax is supported and is unchanged, i.e. OPEN, NEXT, PREVIOUS, GET, REGET, etc
  • Clarion.Net can utilize any .Net data provider. A .NET Framework data provider is used for connecting to a database, executing commands, and retrieving results.
  • The .NET 2.0 Framework includes the data provider for SQL Server (for Microsoft SQL Server version 7.0 or later), the data provider for OLE DB, and the data provider for ODBC.
  • Almost every SQL backend provides their own .Net data provider
  • The data provider for ODBC lets you connect to any data source where an ODBC driver is available.
  • The Topspeed and Clarion drivers are being ported to .Net managed code as native providers; all of the other drivers are accessed via a bridge layer that is built into the Clarion.Net RTL. The bridge layer is invisible. In other words your code reads exactly as it does today using any version of Clarion, regardless of what driver you are using.

    To make this crystal clear, here is some code that I used to fill a Queue to show databinding of a Queue to a DataGrid control (and to a DataGridView control). It should look very familiar.

    (EDIT (Stu) :: Apologies for the List Bullets, tried my best, but couldn’t get rid of them all using stlye="list-style-type: none;", which is wierd, but anyway, decided to just leave them all in

    MainForm.FillQueue PROCEDURE()
    CODE

    • OPEN(People)
      • IF ERRORCODE() THEN
        • MESSAGE(ERRORCODE()&’-‘&ERROR())
    • END
    • SET(People)
      • LOOP
        • NEXT(People)
        • IF ERRORCODE() THEN
          • BREAK
        • ELSE
          • SELF.QPeople.Id = PEO:Id
          • SELF.QPeople.FirstName = PEO:FirstName
          • SELF.QPeople.LastName = PEO:LastName
          • SELF.QPeople.Gender = PEO:Gender
          • ADD(SELF.QPeople)
        • END
      • END
  • You also have the option to access your FILEs using a combination of the ADO.Net objects; DataTable, DataSet, and DataAdapter. I showed an example of this at the meeting.

    Hopefully the above points will clear up the confusion regarding drivers and file access options in Clarion.Net.

  • As regards the post that stated the Clarion 7 compiler had been ported to .Net managed code – it is incorrect. The Clarion 7 compiler is native code.
  • As regards the post that read "64bit Native Compilers for .NET". It is also a bit of the mark. The 64-bit version of the .NET Framework 2.0 enables .NET applications to run on 64-bit workstations as 64-bit native applications, and in most cases, applications developed using the 32-bit .NET Framework can be ported to the 64-bit version of the .NET Framework without any source code modifications.

    I think the confusion stems from the fact that I asked the attendees .. how many of you would be interested in a 64bit native compiler .. i.e. a port of the Clarion 7 compiler so as to produce 64bit native code.

  • As regards the post that indicated that you’d be unable to access TPS files from other .Net languages. I showed a simple example where in Clarion.Net we read a TPS file, filled a Queue and then loaded (databinded) the Queue into a .Net DataGrid control, and then opened a WinForm to display the data. We then took a C# application, and in 3 lines of code created an instance of the same Clarion.Net WinForm and showed the form displaying the data from within the C# app.

I hope all of the above clears up any items that were confusing. We’ll be posting all of the information presented at the UK meeting right here in a series of movies, and if you have any other questions on the information that came from the meeting feel free to post them here, or in the Clarion Community forum.

Clarion All Road-Mapped

Bob Z has posted again, regarding the Clarion Roadmap.

It’s great (awesome even, although I use that word far too frequently) to see this communcation. Getting another look inside, seeing how the development is going, what purpose and direction they (SoftVelocity) have.

Keep it up Bob!

Here are two snippets of interest ("Spirit" being Clarion 7, and "Hidalgo" being Clarion .NET) ::

Spirit is currently scheduled to be completed and released this year (2006). It will support development of Win32 applications using any version of Clarion from 1.5 to 7.0. We’re considering releasing tech preview builds to Core Subscription users as we get closer to RTM, and before that organizing an Alpha release team, primarily to allow 3 rd party vendors to prepare new editions of their products.

The current plan is to release Hidalgo in calendar year 2006. Prior to the RTM for Hidalgo we’re considering releasing Clarion.Net subscriptions and tech preview builds, but that will depend largely upon how quickly we can get the heap of new language syntax documented, and the new Template sets tested.

Bob Calms The Storm

Bob Z has posted on the Softvelocity Blog re the Clarion UKCUG meeting.

It’s a clarification post, addressing misinformation that occured on Dev Dawn (and consquently ClarionMag.

This will be a good thing for the community I believe.

Bob is blogging, talking to the community. One of the most common complaints I read on the newsgroups is SV’s lack of communication.

Dev Dawn was reporting straight away, and despite me not being there, going through Mark, it turned out okay.

I responded to each and every clarification that was shown to me. I’m not at all worried about changing what I’ve already written if it’s wrong, it would be silly to be so arrogant as to take that stance. But I’d do it again in an instant (with some more wisdom intact of course, perhaps a micro-second slower :)), because we’re the community. We pass info around.

Noone can be responsible for how someone else reacts to the information but that individual themselves, the only thing to do is to make sure the information is accurate.

So thanks to Bob for blogging. Clarifying. Communicating.