Print Page | Close Window

Calendar View Type

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=15583
Printed Date: 11 May 2024 at 2:27am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Calendar View Type
Posted By: bijiforyou
Subject: Calendar View Type
Date Posted: 11 November 2009 at 1:39am
I have a using calender control. How to change the Calender View type?


Imports System.Drawing
Imports System.Collections
Imports System.ComponentModel
Imports System.Windows.Forms
Imports System.Data
Imports XtremeCalendarControl

Public Class Form1
    Private Sub CmdDayView_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CmdDayView.Click
        If CalendarControl.ViewType <> CalendarViewType.xtpCalendarDayView Then
            CalendarControl.ViewType = CalendarViewType.xtpCalendarDayView
        End If
     End Sub
End Class


Run time have a error :  "calenderViewType" is ambiguous in the namespace 'XtremeCalenderControl'

How to solve that problem...?



-------------
BijiForYou



Replies:
Posted By: mdoubson
Date Posted: 18 November 2009 at 11:50pm
This is MFC forum - check ActiveX one please

-------------
Mark Doubson, Ph.D.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net