![]() |
Active.GetSelection Problem |
Post Reply ![]() |
Author | |
fmenditto ![]() Newbie ![]() Joined: 21 October 2006 Location: Italy Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() Posted: 27 October 2006 at 6:04am |
Hy, I have a big problem with GetSelection function. It works only if you explicit declare the three variable :
dim dtbegin as date, dim dtend as date, dim bnallday as boolean
CalendarControl.ActiveView.GetSelection dtbegin, dtend, bnallday
instead if you use variant variable
dim dtbegin, dtend, bnallday
CalendarControl.ActiveView.GetSelection dtbegin, dtend, bnallday
you receive the error 13 for type non correct.
So you can't use the function in Vbscript because all the variable in VbScript are variant and is not possible to explicit declare ...
Are there a work around for this ?
Thanks very much |
|
![]() |
|
sserge ![]() Moderator Group ![]() Joined: 01 December 2004 Status: Offline Points: 1297 |
![]() ![]() ![]() ![]() ![]() |
Hi,
To avoid such problem we've added a property CalendarView. Selection. Use it instead. GetSelection will be a hidden member from the next version... -- WBR, Serge |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |