Groups | Blog | Home
all groups > dotnet compact framework > december 2007 >

dotnet compact framework : Mobile Client Software Factory July 2006 (refresh)


Harry Simpson
12/11/2007 2:35:02 PM
Just installed Mobile Client Software Factory July 2006 (refresh).msi to
take a look at it and created a new Mobile Cab Application in VS2005 and it
creates what appears to be a C# app. The Guidance package also is all C#.

While C# is a fine language, I use VB.NET. Did I download the wrong factory
or can I still use VB.NET in combination with these bits?

TIA
Harry

ctacke/
12/11/2007 2:43:14 PM
VB projects can consume C# assemblies just fine (so a C# project in a
solution with VB projects works), you just can't add C# code files to a VB
project. So the anser is that it depends on how you intend to consume the
classes.


--

Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com



[quoted text, click to view]

Simon Hart [MVP]
12/12/2007 9:33:01 AM
The Mobile Software Client Factory is all C# including all source and demos.
If you really want it in VB.NET, you could use Reflector.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com


[quoted text, click to view]
Harry Simpson
12/12/2007 10:16:51 AM
Thanks Chris,

I was just trying to look at the Mobile Client Software Factory and wondered
why there was no VB.NET sample code even if it hit the C# DLLs within the
solution. I'll continue to try to find some better documentation to
enlighten myself with.
I opened the new project
|--Guidance Packages-
|------Mobile Client Software-
|----------Factory CAB Application
|------Guidance Package Development-
|----------Guidance Package

Just wondering if there is a VB.NET new Composite UI Mobile Application
project or is it only offered for C#?

TIA
Harry




[quoted text, click to view]

ctacke/
12/12/2007 10:40:53 AM
You're out of my area of knowledge. I know of the MCSF, but I've never felt
compelled to use them. I know the MS Press book of the CF (Wiggley, Foot
and Moth) covers the MCSF, but I'm not sure if they cover VB (and I don't
feel like walking to my bookshelf to look right now - sorry).


--

Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com


[quoted text, click to view]

Harry Simpson
12/12/2007 11:04:20 AM
LOL, that's why I like you Chris. you're honest! ;-) I've got the book in
front of me so save your steps.
Their book is all C# code but the MCSF stuff may also just enable C# project
creation as a guidance ext. in the ide now.....

[quoted text, click to view]

Paul G. Tobey [eMVP]
12/13/2007 8:25:29 AM
And, if there's some assembly out there that you want to use and it's in C#,
you should be able to use it from VB.NET anyway. I find VB.NET to be
somewhat less expressive (and quite a bit less flexible; no unsafe code),
and a lot less logical in its syntax choices than C#. Just like any other
situation, you need to be able to read multiple languages to really program
effectively. P/Invoking is so important to doing so many things with the
..NET CF that you just about have to be able to read C, declarations at
least, to get anything done, for example...

Paul T.

[quoted text, click to view]

Harry Simpson
12/13/2007 8:25:36 AM
Not to fire up the ol fires but why not in VB.NET too. Are there any MVPs
still using VB.NET in device development? Is C# the defacto language now?
Did I miss the memo?

Thanks
Harry

[quoted text, click to view]

ctacke/
12/13/2007 8:41:03 AM
Dick Grier uses almost only VB.NET. I think the remainder of the MVPs (in
the mobile area anyway) use C# because it's simply what we like. Most of us
can read and write VB, we're just faster in C#, so that's what we use.


--

Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com



[quoted text, click to view]

Simon Hart [MVP]
12/13/2007 9:49:02 AM
It seems the industry is moving to C#, not sure why this is but it is
happening. We are hiring at the moment and every CV (resume) that lands on my
desk contains C# and in some cases C# and VB.NET. So this tells me, many
folks are including C# whether they are strong with it or not. Unless of
course they generally are good with both.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com


[quoted text, click to view]
Harry Simpson
12/13/2007 11:09:32 AM
I agree that reading is critical but when I'm trying to wrap my brain around
a new concept or structure, it is easier to use the language I'm used to -
makes me wonder if my shop shouldn't switch to C# since as you've pointed
out, most have jumped to C#.

Thanks
Harry

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
[quoted text, click to view]

Ginny Caughey [MVP]
1/2/2008 9:00:12 PM
Simon,

I think this may be more the case on the mobile side than the desktop. But
as Chris says, the reason most of us use C# is that's what we know best.

--
Ginny Caughey
Device Application Development MVP


[quoted text, click to view]
AddThis Social Bookmark Button