Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Windev (pcsoft)  doesn't detect classes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Windev (pcsoft) doesn't detect classes

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


Joined: 06 September 2006
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote aboldoc Quote  Post ReplyReply Direct Link To This Post Topic: Windev (pcsoft) doesn't detect classes
    Posted: 06 September 2006 at 7:08pm
I'm trying to declare a variable in windev (www.pcsoft.com) like this:

MyEvent is CalendarEvent


but CalendarEvent seems to be a type not recognized in Windev.

What I have done is to put in my window an Activex control (XTreme Calendar Control).

I can see methods, atributes of the activex (XTreme Calendar Control) but I can't use the classes.

For example, the line

ActiveX1>>Enabled=False

works fine.

What I'm missing?
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 07 September 2006 at 7:40am
Hi,

Looks like there is a problem with references to the library. Check whether Calendar's OCX is referenced for your project (or your environment).

Also you may try adding library prefix before class name, like
XtremeCalendarControl.CalendarEvent


--
WBR,
Serge
Back to Top
aboldoc View Drop Down
Newbie
Newbie


Joined: 06 September 2006
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote aboldoc Quote  Post ReplyReply Direct Link To This Post Posted: 08 September 2006 at 6:32am
I solved by adding code like this in Windev (pcsoft)

NewEvent is object OLE dynamic
NewEvent =new object OLE "Codejock.CalendarControl.10.3"
NewEvent = ActiveX1>>DataProvider>>CreateEvent

NewEvent>>Subject = "My Subject"



Alvaro Boldo

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.141 seconds.