Skip to main content

[archive] Appointment / Scheduler / Calendar

  • January 4, 2005
  • 35 replies
  • 2 views

Show first post

35 replies

Dominique Sacre
Forum|alt.badge.img+2

[Migrated content. Thread originally posted on 03 January 2005]

Hi all,

I'm looking for an active-x component that allows for automatic appointment / scheduling / calendar views similar to the outlook calendar.

Does anyone have any suggestions?
Jason,

I believe that I discovered this problem originally. Here is the list that I release:

GBSchedule.ocx
GBSubclass.ocx
GBXMLParse.dll

I hope that extra one takes care of it for you.

Rob

Dominique Sacre
Forum|alt.badge.img+2

[Migrated content. Thread originally posted on 03 January 2005]

Hi all,

I'm looking for an active-x component that allows for automatic appointment / scheduling / calendar views similar to the outlook calendar.

Does anyone have any suggestions?
In the sample of dan Maltes (gbschedule.zip) you can modify an
method or property as by
MODIFY GBSCHED @StartTime = "08:00 AM".

But how do i translate
Call Schedule1.Rooms.Add(?Room1?)

as handle (Croomcol) wil not load (klasse error 340)

Thanks

Ed

Dominique Sacre
Forum|alt.badge.img+2

[Migrated content. Thread originally posted on 03 January 2005]

Hi all,

I'm looking for an active-x component that allows for automatic appointment / scheduling / calendar views similar to the outlook calendar.

Does anyone have any suggestions?
error 340 is class not registered. Are you sure you have registered the class?

Dominique Sacre
Forum|alt.badge.img+2

[Migrated content. Thread originally posted on 03 January 2005]

Hi all,

I'm looking for an active-x component that allows for automatic appointment / scheduling / calendar views similar to the outlook calendar.

Does anyone have any suggestions?
Ed,

As long as you register the following controls,

GBSchedule.ocx
GBSubclass.ocx
GBXMLParse.dll

you should be able to add rooms with code similar to:

INQUIRE SCHEDULE1 @ROOMS IN SCHED-ROOMS.
MODIFY SCHED-ROOMS @ADD("Room1") GIVING SCHED-ROOM.

Of course, you could combine that in one step if you want, depending on whether you need the intermediary handle (SCHED-ROOMS).

Good Luck.

Rob

Dominique Sacre
Forum|alt.badge.img+2

[Migrated content. Thread originally posted on 03 January 2005]

Hi all,

I'm looking for an active-x component that allows for automatic appointment / scheduling / calendar views similar to the outlook calendar.

Does anyone have any suggestions?
You could try

MODIFY SCHEDULE1 @ROOMS::ADD("Room1") GIVING SCHED-ROOM

but I've had problems inline invoking methods of collection objects before and have to get handles to them first, like Rob's code does. Never been an issue for me in VB which gives more concise code.

Dominique Sacre
Forum|alt.badge.img+2

[Migrated content. Thread originally posted on 03 January 2005]

Hi all,

I'm looking for an active-x component that allows for automatic appointment / scheduling / calendar views similar to the outlook calendar.

Does anyone have any suggestions?
The sampe program Robstan added in forum 'Graphical Programming / ActiveX > Gravitybox' works fine.

Thanks.

Dominique Sacre
Forum|alt.badge.img+2

[Migrated content. Thread originally posted on 03 January 2005]

Hi all,

I'm looking for an active-x component that allows for automatic appointment / scheduling / calendar views similar to the outlook calendar.

Does anyone have any suggestions?
ok, i tried the sample and i'm able to put some data in. It works great. But i'm not able to get for example an appointment out of the calendar and display it for instance in a entry field.

So, does anyone got an idea how it's done?

thanks

DD

Dominique Sacre
Forum|alt.badge.img+2

[Migrated content. Thread originally posted on 03 January 2005]

Hi all,

I'm looking for an active-x component that allows for automatic appointment / scheduling / calendar views similar to the outlook calendar.

Does anyone have any suggestions?
You would need to get that appointment item's handle and then inquire on it for whatever properties you need. For example the following gets the first scheduled item and places the start date in a working storage field:

     
01 SCHED-HANDLE                     HANDLE OF @Schedule.
01 SCHED-ITEMS-HANDLE               HANDLE OF @CScheduleCol.
01 SCHED-ITEM-HANDLE                HANDLE OF @CScheduleEl.
...

INQUIRE SCHED-HANDLE @ScheduleItems IN SCHED-ITEMS-HANDLE.
MODIFY SCHED-ITEMS-HANDLE @Item(1) GIVING SCHED-ITEM-HANDLE.
INQUIRE SCHED-ITEM-HANDLE @StartDate IN WS-START-DATE.


Dominique Sacre
Forum|alt.badge.img+2

[Migrated content. Thread originally posted on 03 January 2005]

Hi all,

I'm looking for an active-x component that allows for automatic appointment / scheduling / calendar views similar to the outlook calendar.

Does anyone have any suggestions?
Thanks,

It seems to work.

By clicking on an appoitment i want to display some data in working storage fields. I have found this eventprocedure.
But how do i know which scheduled item i have clicked on. Do i have to set some kind of pointer when i add an Appointment in the schedule?
In the manual of the gravitybox they talk about setting an "id" by using the count method.

regards

dd

Dominique Sacre
Forum|alt.badge.img+2

[Migrated content. Thread originally posted on 03 January 2005]

Hi all,

I'm looking for an active-x component that allows for automatic appointment / scheduling / calendar views similar to the outlook calendar.

Does anyone have any suggestions?
This should work:

CALL "C$GETEVENTDATA" USING EVENT-CONTROL-HANDLE,
   WS-SCHED-INDEX, 0, 0.
MODIFY SCHED-ITEMS-HANDLE @ITEM(WS-SCHED-INDEX)
  GIVING SCHED-ITEM-HANDLE.