06-20-2014 01:56 PM
thats a nice little tool
Nothing specific about the plug in but i have a few errors pop up
No Value with requested Preference Key.OUTLOOKCOPY/COPYCALENDAR
No Value with requested Preference Key.OUTLOOKCOPY/COPYNEXTXXXDAYS
No Value with requested Preference Key.OUTLOOKCOPY/NEXTXXXDAYS
No Value with requested Preference Key.OUTLOOKCOPY/CUSTOMBEGINDATE
No Value with requested Preference Key.OUTLOOKCOPY/CUSTOMENDDATE
No Value with requested Preference Key.OUTLOOKCOPY/FORDATES
06-23-2014 12:48 AM
your initial question asked about a button, then it was suggested to "Add a new menu and handler."
Maybe you build a TOOL and not a plugin. Theese two are different:
A Plugin is located in the Plugins-Folder and loaded at ACT startup, if no entry in DependentDlls.xml is found.
A Tool (e.g. a button) must be placed on a Layout. Tools reside in the Tools-Folder in the ACT installation folder. You can place the button with the Layout editor but you'll first have to add it to the editor's Toolbox (Right-click in the toolbox).
The indeed not so very helpful SDK has two samples (Sage ACT! SDK\Content\Code Samples)
ContactNameControl is a Tool
CustomMenuPlugin is a Plugin
Add the following Post-build events to your project:
copy $(TargetPath) "C:\Program Files (x86)\ACT\Act for Windows\Tools\"
copy $(TargetDir)\$(TargetName).pdb "C:\Program Files (x86)\ACT\Act for Windows\Tools"
And under the debug Tab add "C:\Program Files (x86)\ACT\Act for Windows\ActSage.exe" as "Start external program"
then you can hit F5 to start debugging (start ACT) and you can set breakpoints so you might see what causes the problem.
Alternatively you could also post the sourcecode you have so far
06-25-2014 07:03 PM
Thanks for all your help Russell fantastic result