![]() |
Cannot retrieve Custom Property correctly |
Post Reply
|
| Author | ||
glennj
Newbie
Joined: 07 February 2006 Status: Offline Points: 24 |
Post Options
Thanks(0)
Quote Reply
Topic: Cannot retrieve Custom Property correctlyPosted: 16 May 2006 at 10:39am |
|
|
I am trying to retrieve a custom property when an event is double-clicked in the calendar. The following code set-ups up the example event
And this is the sub routine that is called on the double-click
Problem is I never get the correct value for the custom property. Instead I get a seemingly random 8 digit number! How can I retrieve the custom property that I'm setting above sucessfully? thanks.
|
||
![]() |
||
sserge
Moderator Group
Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 May 2006 at 3:59pm |
|
|
If your value DiaryEntryId is declared as Integer, it should be working just fine.
Also, second string should look like: Set NewEvent = AxCalendarControl1.DataProvider.CreateEvent Do you use VB6? -- WBR, Serge |
||
![]() |
||
glennj
Newbie
Joined: 07 February 2006 Status: Offline Points: 24 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 May 2006 at 12:10pm |
|
|
Should be, but it doesn't I'll try get a simple example project to demonstrate up here. I'm programming in vb.net... but have seen the vb6 example project and am using it for reference. |
||
![]() |
||
glennj
Newbie
Joined: 07 February 2006 Status: Offline Points: 24 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 May 2006 at 10:18am |
|
|
OK, here is an example vb.net project demonstrating the error I'm coming across. Could you please take a look and see what the problem might be? Many thanks |
||
![]() |
||
sserge
Moderator Group
Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 May 2006 at 2:28pm |
|
|
hmmm, your sample works pretty fine for me.
when I'm double clicking events, message box displays numbers 1, 2, 3 correspondingly. I'll look further but could you please clarify what is your environment? windows version? locale? any other details? |
||
![]() |
||
glennj
Newbie
Joined: 07 February 2006 Status: Offline Points: 24 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 May 2006 at 3:29pm |
|
|
Weird hey! At least my code was correct... I'm running Windows XP Pro with SP2 and god knows how many random Microsoft updates! .Net 2.0 installed. UK English settings. Developing in Visual Studio 2003, using Sql Server 2005. When I click on any calendar entry I get "Hit: 33619969"
|
||
![]() |
||
glennj
Newbie
Joined: 07 February 2006 Status: Offline Points: 24 |
Post Options
Thanks(0)
Quote Reply
Posted: 31 May 2006 at 10:07am |
|
|
Any update on this problem? thanks |
||
![]() |
||
sserge
Moderator Group
Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 June 2006 at 2:51pm |
|
|
Hi,
I believe this problem is already fixed in 10.2 which has been released recently. -- WBR, Serge |
||
![]() |
||
glennj
Newbie
Joined: 07 February 2006 Status: Offline Points: 24 |
Post Options
Thanks(0)
Quote Reply
Posted: 05 June 2006 at 5:44am |
|
|
I'm running Xtreme Suite ActiveX v9.81, how can I get hold of the fixed version? My product downloads have expired etc and I really want a working version! |
||
![]() |
||
sserge
Moderator Group
Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
Quote Reply
Posted: 05 June 2006 at 9:28am |
|
|
hi glennj,
Please submit a request to get fixed version to IssueTrack support area, and I'll attach fixed version for you there. -- WBR, Serge |
||
![]() |
||
glennj
Newbie
Joined: 07 February 2006 Status: Offline Points: 24 |
Post Options
Thanks(0)
Quote Reply
Posted: 05 June 2006 at 9:36am |
|
|
Do you mean the Support Request Form? Thanks |
||
![]() |
||
sserge
Moderator Group
Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
Quote Reply
Posted: 05 June 2006 at 9:42am |
|
|
yep, it'll allow us to attach a fix for you in a secured way...
|
||
![]() |
||
glennj
Newbie
Joined: 07 February 2006 Status: Offline Points: 24 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 June 2006 at 1:21pm |
|
|
Excellent, I now have the latest version of the controls and it works perfect... So on to another question Rather than remove my controls and add them again using the latest version (which would cause a headache), what is the simplest way up upgrading my VB.Net project to use the latest version of the controls? I presume I remove the references and re-add them... but what would the correct reference be for the controls? If I simply select the Calendar control from the COM list it doesn't work, and doesn't look like the same file (in fact there were 2 references before). thanks again |
||
![]() |
||
sserge
Moderator Group
Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 June 2006 at 12:57pm |
|
|
After you installed a new version and opened your project in VB.NET environment, it should ask you something like: "A component has a newset version, would you like to upgrade your solution?", and pressing "Yes" would resolve this problem...
Otherwise, you can reinsert the control under the same name after adding a new version to the toolbox. And the last solution is to ask for an upgrade utility in support area ![]() -- 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 |