| Angus Logan [MVP] 2004-10-08, 7:48 am |
| Hi Ed,
What error message are you getting & what version of CMS & what language (I
assume ASP ?)
Regards
--
________________________________________
Angus Logan (MCAD/MCDBA/MCP/MVP for MCMS)
Product Specialist
Microsoft Application Solutions
Data#3 Limited
E angus_logan@data3.com.au
BLOG www.anguslogan.com
________________________________________
"Ed" <anonymous@discussions.microsoft.com> wrote in message
news:28dc01c4ad27$62fb9080$a601280a@phx.gbl...
> Hi,
>
> I'm trying to create a new channel from the channel I am
> currently in with VBScript. I'm getting errors with the
> following code:
>
> Dim objNewChannel As Channel =
> CmsHttpContext.Current.Channel
>
> objNewChannel.CreateChannel.Name = "test"
> objNewChannel.CreateChannel.DisplayName = "test"
>
> Could anyone you tell me what I'm doing wrong please?
>
> Any examples would be really helpful too.
>
> Thanks,
>
> Ed
|