VSTO Outlook Attach to an event on folder creation - outlook

Every time a folder is manually created by the user I need to subscribe to some folder events such as ItemAdd.So how can I handle when a new folder is created and then subscribe to its events?

Use the Folders.FolderAdd event which is available in the Outlook object model and which is fired when a folder is added to the specified Folders collection. The Folder that is added is passed as a parameter, so you can subscribe to the ItemAdd event instantly.
See FoldersEvents_Event.FolderAdd Event for more information.

Related

kendo UI Scheduler Add but keep window open

I am using a template for adding/editing an event. What I would like to do is be able to add an event but keep the window open and retain the entered data so the user can change a couple of fields and save that other event. There are 2 save buttons, "SAVE", and "SAVE and ADD NEW". The first button will save the entered event and close the dialog window. The second button will save the entered event but will keep the window open, user changes one or more fields, then save that new event (repeat as necessary).
Any advice or pointing me in the right direction is appreciated.
You can try using the "save" event of the Scheduler to make copy of current event and then call the "addEvent" method of the Scheduler with it. Check the Scheduler API below:
Scheduler: API

which event does vtiger popup trigger when its closed?

Hi I need to capture the event that triggers a popup when it is closed, for example in tickets i need to get the account that the user has selected after the popup closes, sorry about my english, it's not my mothertongue language, thanks to everyone
In vTiger, every action passes through index.php which vtiger treats as a front controller OR you can find the repective JS file inside repective module folder inside web folder.

Outlook Add-In Development - Show event in calendar

I have a CSV File on my File-System with a list of events, and I need to read the events from this File and just show them up in the Outlook calendar along with other appointments, meetings etc, that are actually in outlook.
So I don't won't to Save to the Server or Send any of these events read from file, just use the calender to show them.
Is that possible?
Thanks
No, Outlook w3ill only show the appointments that exist in the given folder.
As Dmitry noticed, the Outlook object model doesn't provide anything for that (i.e. display items that don't exists in the folder).
But you may consider displaying your own form inside Outlook instead of the built-in one for displaying events and appointments from the CSV file and Outlook calendar.
There are sevaral ways to get the job done:
Use adjucent Outlook windows. See Adjacent Windows In Outlook for more information.
Display a home page for the folder. The WebViewURL property of the Folder class allows to set a string indicating the URL of the Web page that is assigned to a folder.
ADX provides the WebViewPane layout which is actually based on the web view technology. But in that case you will be able to use any.Net controls on the form.

ActiveX control events aren't raised while calling its methods from an MS Access form's Open event

We have an ActiveX grid control written in VB6. One of its method, Group, used to group rows, raises the AfterAutoGroupRowCreated event so the developer can adjust the look and contents of every group row created during the automatic process of grouping.
When our ActiveX grid is hosted on an MS Access form and we call the Group method while populating the grid in the form's Open event, the AfterAutoGroupRowCreated event isn't triggered. But this event definitely works as expected in other development environments, and even in MS Access if we call Group from the form's Load event.
Is it a well known issue of MS Access, when any events of ActiveX controls aren't triggered while "executing" the Open event, or are we doing something wrong?

Find out what Controller is triggering an event in symfony2

I need to trigger an event ONCE in my symfony2 project for each web
i have created an event that is dispatched whenever kernel.controller occurs, the problem is that this makes the event run six or seven times and I only want it to run once.
any ideas or suggestions?
if so,I wouldn't mind being able to know what controller triggered the event so I can put the code I want to put there!!

Resources