Gary K
Posts:12
 |
| 07/18/2008 12:03 AM |
|
Hi
I have installed the SDK and whilst I can go to New|Project|Guidance Packages|Interprise Plugin factory and select a plugin factory I cannot see the templates when I create a class library then right click and say Add.
Can I add these templates in manually or am I missing something?
Thanks
Gary
|
|
|
|
|
Ramil D
Posts:200
 |
| 07/18/2008 1:10 AM |
|
| Were you able to create a plugin solution first using either C# or VB? If so then if you plan on adding items into the projects created you can either use the Recipe of the Interprise Plugin Factory or just the standard "Add Item" from the IDE menu. For more information regarding plugin development I recommend you take a look at the Interprise Resource Center from your SDK installation. |
|
|
|
|
Gary K
Posts:12
 |
| 07/18/2008 2:46 AM |
|
What I am trying to do is follow the tutorial on this page;
http://www.interprisesuite.com/PluginBasics.htm
Which shows a class library being created then a plugin module and a plugin control being added to the solution. I dont see those templates and a) I dont know why and b) I need to know how to add them into the VS environment.
Thanks
Gary
|
|
|
|
|
Ramil D
Posts:200
 |
| 07/18/2008 5:57 PM |
|
| You might want to check out the Interprise Resource Center. Under 200 Tutorial there is a sample walkthrough in creating a simple hello world plugin section that you are looking for. |
|
|
|
|
Gary K
Posts:12
 |
| 07/21/2008 6:07 AM |
|
Hi Ramil,
OK I am now going down that road. I am following the HelloWorld plug-in example. I can get as far as adding the plug-in control but when I want to view the design (HelloWorldControlSection.cs [design] window) I get the following error;
An instance of type 'Interprise.Presentation.Base.BaseControl' was being
created, and a valid license could not be granted for the type
'Interprise.Presentation.Base.BaseControl'. Please, contact the manufacturer of
the component for more information.
Do you know why this is?
Regards
Gary
|
|
|
|
|
Gary K
Posts:12
 |
| 07/21/2008 6:23 AM |
|
Just as an update to this I followed the advice at; http://www.connectedbusiness.com/FORUMS/DeveloperForum/tabid/105/forumid/5/tpage/1/view/topic/postid/512/Default.aspx#512
That made no difference, I then created a new solution and tried again, same thing. Then I tried creating a VB solution (I only use c#) and still get the same error.
Any ideas????
Gary
|
|
|
|
|
Ramil D
Posts:200
 |
| 07/21/2008 7:21 PM |
|
| I am assuming you are using Windows Vista as your operating system. If so I recommend you reinstall the SDK and change the default install location from using the "Program Files" to a different folder. Furthermore you need to disable the UAC from your Control Panel\User Accounts. |
|
|
|
|
Gary K
Posts:12
 |
| 07/22/2008 1:13 AM |
|
Hi Ramil, Thank you for your patience and help. It now works and I'll add that to my list of 'things I dont like about Vista' list!! Regards Gary |
|
|
|
|
Ramil D
Posts:200
 |
| 07/22/2008 1:25 AM |
|
| Welcome aboard :D |
|
|
|
|
Gary K
Posts:12
 |
| 07/23/2008 9:05 AM |
|
Hmmm, perhaps I was a little hasty, there are no Interprise controls appearing in my toolbox. Can I add them in manually? Regards Gary |
|
|
|
|
Ramil D
Posts:200
 |
| 07/24/2008 9:28 PM |
|
| Yes you can add them manually. Look for the Interprise.Presentation.Component.DLL and Interprise.Presentation.Base.DLL from the installation folder of the SDK. |
|
|
|
|