Thanks for the reply!
I checked the other thread, however my issue is slightly different in a sense that I am using the same search method both in SDK and in PSE.
In the code I'm using AFSearchMode.StartInclusive and in PSE I' using the "Starting Between" option which are correspondent to each other as pointed out by the firts user to reply in the other thread.
Moreover, the events which are not loaded begin and end within the time range, so it should't present this problem...
But thanks anyway for posting the other thread.
Interesting, this make me wonder if it is related to start and end time you inserted. When looking at the AF SDK reference:
AFElement.GetEventFrames Method (AFSearchMode, Object, Object, String, AFCategory, AFElementTemplate, AFSortField, AFSor… it mentioned about the start and end time parameters in detail. Did you use DateTime? because the start, end time must be AFTime, DateTime, PITime, String, or numeric. A DateTime (or a DATE from COM or VB6 clients) must be expressed as the coordinated universal time (UTC).
I hope this help.
Yes! This was it! I converted it to UTC and it works now. It was because of the timezone difference!
Thanks a lot, Ricky!