08-31-05 12:49 PM
Hi Mark,
see here:
http://blogs.technet.com/stefan_gos.../06/108512.aspx
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"Mark Mahacek" <mmahacek@mcoe.org> wrote in message
news:Ozj6ZmbrFHA.2596@TK2MSFTNGP09.phx.gbl...
> Please let me know right away if I need to go to another newsgroup for
> this.
>
> We are coding our MCMS site using VB.NET, as that's what we know best. I
> have a book that has some good controls in it, but their code is in C#.
> I've been able to convert most of these without a problem, but I'm having
> problems with the following snipet:
>
> C# Statement
> if(channelItem is Channel)
> { ... }
> channelItem is the variable name, and is type ChannelItem.
>
> I tried to convert this to the following in VB:
> if channelItem is Channel then
> ...
> end if
>
> However it says that "Channel" is a type and cannot be used as an
> expression.
>
> I would go right to a VB or C# group, but this uses MCMS specific object
> types
>
> Thanks in advance.
>
> --
> Mark Mahacek
> Merced County Office of Education
>
>
>
[ Post a follow-up to this message ]
|