Installed CLR versions

2011-06-16 Thread Ian Thomas
Apart from the utility clrver.exe (and the latest, v4.0.30319.1 is needed to report both 2.0 and 4.0), how can I determined the installed versions of the CLR on a machine? I can't discover a .NET function to report this. Ian Thomas Victoria Park, Western

Re: Installed CLR versions

2011-06-16 Thread David Burela
Does this help? http://stackoverflow.com/questions/951856/is-there-an-easy-way-to-check-net-framework-verison-using-c -David Burela On 16 June 2011 16:54, Ian Thomas il.tho...@iinet.net.au wrote: Apart from the utility clrver.exe (and the latest, v4.0.30319.1 is needed to report both 2.0 and

Re: Installed CLR versions

2011-06-16 Thread DotNet Dude
Maybe check the registry: HKLM\Software\Microsoft\Net Framework Setup\NDP On Thu, Jun 16, 2011 at 4:54 PM, Ian Thomas il.tho...@iinet.net.au wrote: Apart from the utility clrver.exe (and the latest, v4.0.30319.1 is needed to report both 2.0 and 4.0), how can I determined the installed versions

Re: Installed CLR versions

2011-06-16 Thread Wallace Turner
Hi Ian, I need to test the client has the correct framework installed. I use something like this: (turn heads Tuple-haters) |public static boolHasDotNetFrameworkMatching(decimal targetVersion, int targetServicePack) { foreach (Tupledecimal, int versionin

RE: [OT] ozdotnet own posts

2011-06-16 Thread Peter Maddin
I always get my own posts to this group. When I first joined the oz...@list.ozwpf.com user group, I did not get my own posts but I do now (not that I contribute that often) Regards Peter From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Wallace

Re: Installed CLR versions

2011-06-16 Thread Matt Siebert
I had to make my bootstrapper (dotNetInstaller) detect .NET 4. At the time, the best advice I could find was to use the registry keys mentioned in that SO post. This has been working reliably for some time. If you're using WiX you can use the WixNetFxExtension and add PropertyRefs for the

Re: [OT] ozdotnet own posts

2011-06-16 Thread noonie
FYI, I'm using Gmail to subscribe and see my posts without any issues. -- noonie On 17 June 2011 09:08, David Connors da...@codify.com wrote: On Fri, Jun 17, 2011 at 7:08 AM, Greg Kennedy gkenne...@gmail.com wrote: I've always assumed that gmail was responsible for not showing your own

Re: [OT] ozdotnet own posts

2011-06-16 Thread David Connors
On Fri, Jun 17, 2011 at 9:30 AM, noonie neale.n...@gmail.com wrote: FYI, I'm using Gmail to subscribe and see my posts without any issues. Yes, but you're seeing the threaded gmail view which is the copy of your posts in your sent items integrated into the thread - as opposed to getting a new

Re: Installed CLR versions

2011-06-16 Thread mike smith
On Thu, Jun 16, 2011 at 7:17 PM, Ian Thomas il.tho...@iinet.net.au wrote: Thanks for suggestions. It's probably as simple to check the framework folders installed on the machine (and to test that each has some valid files and is not empty), as to try to interpret the registry subkeys. I

Re: [OT] ozdotnet own posts

2011-06-16 Thread mike smith
On Fri, Jun 17, 2011 at 9:34 AM, David Connors da...@codify.com wrote: On Fri, Jun 17, 2011 at 9:30 AM, noonie neale.n...@gmail.com wrote: FYI, I'm using Gmail to subscribe and see my posts without any issues. Yes, but you're seeing the threaded gmail view which is the copy of your posts

Re: [OT] ozdotnet own posts

2011-06-16 Thread noonie
Cool... Works for me. Probably why I turned off post acknowledgments ;-) -- noonie On 17 June 2011 09:34, David Connors da...@codify.com wrote: On Fri, Jun 17, 2011 at 9:30 AM, noonie neale.n...@gmail.com wrote: FYI, I'm using Gmail to subscribe and see my posts without any issues. Yes,

Datagrids in C# on Compact Framework

2011-06-16 Thread Simon Kuldin
Hey ppl, I'm getting stuck around using a Datagrid in my Compact Framework C# project. I have: - A Bindingsource that has the Datasource correctly linked to my class (which is generated from a webservice) - I then have a Datagrid on which I have set its Datasource to be

Re: Datagrids in C# on Compact Framework

2011-06-16 Thread Scott Barnes
foreach(DataGridColumn col in MyGrid.Columns) { if (col.HeaderText == TheOneWhomShouldBeIgnored) col.Visible = false; } Ahhh...Compact Framework..how you mock us all with your maturity ;) hehehe. --- Regards, Scott Barnes http://www.riagenic.com On Fri, Jun 17, 2011 at 1:31 PM, Simon

RE: Datagrids in C# on Compact Framework

2011-06-16 Thread David Loo
Hi In the designer click on the DataGrid and you should see a little arrow that you can click on it, this will give you an option the edit the columns. Alternatively you can write some code and have it set during run time. David Loo From: sim...@prism-solutions.com.au To:

RE: Datagrids in C# on Compact Framework

2011-06-16 Thread Simon Kuldin
Well it does not seem to have either a DataGridColumn type, nor is there a Columns collection in the Datagrid. Simon Kuldin | Senior Technical Consultant | PRISM Suite 3, 214 Bay St Brighton, VIC 3186, Australia P: +61 3 9596 8633 M: 0408 310 957 W: www.prism-solutions.com.au

RE: Datagrids in C# on Compact Framework

2011-06-16 Thread Simon Kuldin
Hi David, I know what you are referring to, however in this case it isn't available. I wonder if it has to do with being on the Compact Framework? Simon Kuldin | Senior Technical Consultant | PRISM Suite 3, 214 Bay St Brighton, VIC 3186, Australia P: +61 3 9596 8633 M: 0408 310 957