Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Object is no Longer Valid
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Object is no Longer Valid

 Post Reply Post Reply
Author
Message
treimer View Drop Down
Newbie
Newbie


Joined: 28 January 2009
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote treimer Quote  Post ReplyReply Direct Link To This Post Topic: Object is no Longer Valid
    Posted: 03 February 2009 at 12:18pm
I'm getting an "Object is no Longer Valid" error when attempting to access any Custom Properties in the UpdateControlsFromEvent sub of frmEditEvent.  I'm using V12.1.1 with VB 6 and a Custom Data Provider.
 
m_pEditingEvent.CustomProperties.Count returns the number of Custom Properties I have added in CreateEventsFromRS.  If I print the Custom Propeties using pEvent.CustomProperties.SaveToString at the end of CreateEventFromRS, I see my custom values.  But, when I print the Custom Properties  in UpdateControlsFromEvent using m_pEditingEvent.CustomProperties.SaveToString, each of the Custom Properties contains a zero length string.
 
Any ideas of what's happening or better yet - what I'm doing wrong?
Back to Top
treimer View Drop Down
Newbie
Newbie


Joined: 28 January 2009
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote treimer Quote  Post ReplyReply Direct Link To This Post Posted: 16 March 2009 at 4:30pm

Bump...

Product: Calendar (ActiveX) version 12.1.1
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0
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.203 seconds.