Exercise 1: Build AutoCount Accounting 2.0 Plug-In: Difference between revisions
Content added Content deleted
(Created page with "{{NavigateDeveloper|collapsed}} __NOTOC__ Objectives: Create a new Plug-in project for AutoCount Accounting 2.0 This exercise is to build an AutoCount Accounting Plug-in Pac...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{NavigateDeveloper|collapsed}} |
{{NavigateDeveloper|collapsed}} |
||
__TOC__ |
|||
__NOTOC__ |
|||
Objectives: Create a new Plug-in project for AutoCount Accounting 2.0 |
Objectives: Create a new Plug-in project for AutoCount Accounting 2.0 |
||
This exercise is to build an AutoCount Accounting Plug-in Package, and successfully load the Plug-in at AutoCount Accounting 2.0 Plug-in Manager. |
This exercise is to build an AutoCount Accounting Plug-in Package, and successfully load the Plug-in at AutoCount Accounting 2.0 Plug-in Manager. |
||
{{Note|Project in this tutorial is created with Microsoft Visual Studio 2017 Community}} |
{{Note|Project in this tutorial is created with Microsoft Visual Studio 2017 Community}} |
||
===New Plug-In Project=== |
|||
[[File:VSNewProject.PNG|link=]] |
[[File:VSNewProject.PNG|link=]] |
||
# Create a new "Visual C#" Project |
# Create a new "Visual C#" Project |
||
Line 10: | Line 11: | ||
# Select "Windows Forms App (.Net Framework) |
# Select "Windows Forms App (.Net Framework) |
||
# Enter project name: MyPlugIn2 |
# Enter project name: MyPlugIn2 |
||
<br /> |
|||
===Add AutoCount Accounting 2.0 References to Project=== |
|||
[[File:BrowseReference.PNG|link=]] |
|||
# Add References Window |
|||
# Browse to AutoCount Accounting 2.0 folder |
|||
#*Default '''path of 64bit''' AutoCount Accounting is '''C:\Program Files\AutoCount\Accounting 2.0\''' |
|||
# DLL files are assemblies of AutoCount Accounting that can be added to project references |
|||
{{Note|Suggest to copy the dll to a folder and rename the folder to AutoCount Accounting version. Eg.: AC2.0.55.<br />So that programmer can maintain different versions of Plug-Ins.}} |
|||
<br /> |
|||
===Add Class PlugInMain.cs=== |
|||
[[File:CreatePluginMain.PNG|link=]] |
|||
# Add a class to project. |
|||
# Name the class "PlugInMain.cs" |
Revision as of 07:40, 16 November 2017
Go to top
|
Resources For AutoCount Software Developers
|
Objectives: Create a new Plug-in project for AutoCount Accounting 2.0 This exercise is to build an AutoCount Accounting Plug-in Package, and successfully load the Plug-in at AutoCount Accounting 2.0 Plug-in Manager.
Project in this tutorial is created with Microsoft Visual Studio 2017 Community |
New Plug-In Project
- Create a new "Visual C#" Project
- Framework is .Net Framework 4.5
- Select "Windows Forms App (.Net Framework)
- Enter project name: MyPlugIn2
Add AutoCount Accounting 2.0 References to Project
- Add References Window
- Browse to AutoCount Accounting 2.0 folder
- Default path of 64bit AutoCount Accounting is C:\Program Files\AutoCount\Accounting 2.0\
- DLL files are assemblies of AutoCount Accounting that can be added to project references
Suggest to copy the dll to a folder and rename the folder to AutoCount Accounting version. Eg.: AC2.0.55. So that programmer can maintain different versions of Plug-Ins. |
Add Class PlugInMain.cs
- Add a class to project.
- Name the class "PlugInMain.cs"