Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Calendar
  New Posts New Posts RSS Feed - Calendar View Type
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Calendar View Type

 Post Reply Post Reply
Author
Message
bijiforyou View Drop Down
Newbie
Newbie
Avatar

Joined: 11 November 2009
Location: India
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote bijiforyou Quote  Post ReplyReply Direct Link To This Post Topic: Calendar View Type
    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
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 18 November 2009 at 11:50pm
This is MFC forum - check ActiveX one please
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.148 seconds.