RE: Help with Filesystem

2010-11-16 Thread David Boccabella
Thanks guys. I'll have a look but my target is the NETMF and I'm not sure how much space I will have spare after the other code is developed. Currently I'm reading up on BinaryReaders and putting a byte array into a structure. If my structure is all numerics (ints) or char[] then there should

RE: Help with Filesystem

2010-11-16 Thread Ian Thomas
Yes, as Mark points out, a lot of the VB6 stuff was migrated to .NET (long ago). There is quite a bit of helpful info in the language help, on MSDN (plus the VB6 to VB.NET Wizard, etc). _ Ian Thomas Victoria Park, Western Australia _ From: ozdotnet-boun...@ozdotnet.com [mail

Re: Help with Filesystem

2010-11-16 Thread Mark Hurd
If you don't mind using the Microsoft.VisualBasic namespace (and assembly, but not Microsoft.VisualBasic.Compatibility), the FileSystem module is still available to you in C#, with FileOpen, FileClose, FileGet and FilePut, with RecordLength and RecordNumber parameters. -- Regards, Mark Hurd, B.Sc

RE: Help with Filesystem

2010-11-16 Thread David Boccabella
Ok. So it’s a calculate and SEEK I just remember the old (and simple) VB6 system of defining a record and then just using GET and PUT to handle it, and was hoping that there was a ‘modern’ way to do it. Take Care Dave **

Re: Help with Filesystem

2010-11-16 Thread mike smith
You're a man of multiple hats, I see :) Looks easy them. Why don't you just go with the seek(recno * recsize) you proposed? (I'd still pad it to the natural blocksize though) Mike On 17 November 2010 13:21, David Boccabella < davidboccabe...@anubis-systems.com> wrote: > I am using the SD ca

RE: Help with Filesystem

2010-11-16 Thread David Boccabella
I am using the SD card with a FAT file system. Many thanks Dave David J. Boccabella Proprietor Anubis Systems Phone: 0433 808 525 Fax: 3200 0085 Email: davidboccabe...@anubis-systems.com

Re: Help with Filesystem

2010-11-16 Thread mike smith
On 17 November 2010 11:13, David Boccabella wrote: > Hi folks > > I have a NETMF project I am trying to work on – but the code from C# > Framework 4.1 should work. My target is an SD card and I do not have any > database capabilities like SQL.. > > > > In the old VB6 days you could create random

Re: Creating Insert, Update, Delete and Select Stored Procedures the easy way

2010-11-16 Thread Nathan Schultz
My experience has been that T4 seems quite clunky and the development experience just isn't there yet. There's no real integration of meta-data, and I miss code-preserve blocks found in MyGeneration / Code Smith, etc. Partial classes provide a solution - and it might just be me, but I find them mes

Help with Filesystem

2010-11-16 Thread David Boccabella
Hi folks I have a NETMF project I am trying to work on - but the code from C# Framework 4.1 should work. My target is an SD card and I do not have any database capabilities like SQL.. In the old VB6 days you could create random files, and by defining the record length you could easily move fr

RE: Value to background colour converting in a template column

2010-11-16 Thread Greg Keogh
Sorry folks, I accidentally posted this in the oz-dotnet group instead of the oz-WPF group. Flippin' Outlook intellisense -- Greg

Value to background colour converting in a template column

2010-11-16 Thread Greg Keogh
As you may have seen, over the last few days I eventually found that to format the DataGrid cell of a dynamically created column of byte[] I had to apply a template to the column and I had to add a converter to the binding. The template looks like this: