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

calender Day view

 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: calender Day view
    Posted: 11 November 2009 at 1:46am
I have a using calender control. How to change the Calender View type? (vb.net)


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: 12 November 2009 at 11:16am
Turn "Project Properties - Compile - Option strict" to be Custom or Off
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.125 seconds.