How to make add-ins for sidebar
This is a seperate project based on the sidebar from CnS Desktop. Its standalone and any sidebar addins made for desktop will also function in this sidebar.
2 posts
Page 1 of 1
Hello,
For those of you who are already familiar with the creation of add-ins for CnS Desktop you should have no problems creating them for the sidebar. The guide found here: viewtopic.php?f=107&t=1118&start=0 is valid for the sidebar so I wont repost the guide again.
Only a couple of settings are required for the sidebar so once you have the template loaded into VB please find this code in your Class.vb file:
The next thing is is you wish to include a thumbnail preview of your sidebar add-in you first need to add the image to your projects resources and change its "Build Action" propertie to "Embedded Resource". Then you need to find this setting in your Class.vb file:
Please remember that because of the sidebars small size your add-ins should not be wider than 175 pixels in width.
You can download the blank template here which is pre-configured for sidebar add-in projects.
Download: I look forward to seeing what you all come up with cooll;
For those of you who are already familiar with the creation of add-ins for CnS Desktop you should have no problems creating them for the sidebar. The guide found here: viewtopic.php?f=107&t=1118&start=0 is valid for the sidebar so I wont repost the guide again.
Only a couple of settings are required for the sidebar so once you have the template loaded into VB please find this code in your Class.vb file:
Code: Select all
This needs to be changed to:Private iLocation As String = "BarRight"
Code: Select all
We do that so CnS Desktop knows where to place tha add-in and because the Sidebar can only use add-ins created for use on the sidebar.Private iLocation As String = "SideBar"
The next thing is is you wish to include a thumbnail preview of your sidebar add-in you first need to add the image to your projects resources and change its "Build Action" propertie to "Embedded Resource". Then you need to find this setting in your Class.vb file:
Code: Select all
You now need to change this to include the name of your thumbnail image file like this:Private iExtra2 As String = ""
Code: Select all
Then change the other settings like add-in name, description, creator, support url and then save/build your project and your finished. Just add the completed .dll file into your sidebar add-ins folder and you should now be able to add it to the sidebar cooll;Private iExtra2 As String = "Thumbnail.png"
Please remember that because of the sidebars small size your add-ins should not be wider than 175 pixels in width.
You can download the blank template here which is pre-configured for sidebar add-in projects.
Download: I look forward to seeing what you all come up with cooll;
You do not have the required permissions to view the files attached to this post.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
2 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023