09-15-2015 10:32 AM
Read this thread:
Basically the main thing you want to do is implement IPlugin interface and they you can have studio implment the method stubs. From there you need to read thread, but hold onto the application object with a class variable as that is you key to accessing all the methods of the sdk.
09-16-2015 08:03 AM
A wise man on one of these threads said to start with the windows version and leave plugins alone for now.
I have Act! via Web installed. To follow the wise man's advice, do I need to uninstall Act! via Web and install Act! via Windows?
09-16-2015 08:43 AM
09-16-2015 09:29 AM - edited 09-16-2015 02:59 PM
Then we're back to my original problem. I put all the dll files from the GlobalAssemblyCache folder into another folder. Then I set a Reference Path to that folder. The next instruction says to "add a reference to Act.Framework, Act.Shared.Collections, and Act.Shared.ComponentModel. I don't know that that means. Does that mean add a Using stmt at the top of my pgm? If it does, those three libraries don't show up when I type "Using" so I can't do that.
Here are the instructions I got from this thread:
All the dlls you need are in the installation media, and can be found in a folder under the C: drive.
If you installed Act 17 Premium, the path will be, "C:\Act!_Premium_v17\ACTWG\GlobalAssemblyCache" - I got all the dlls from here.
I would suggest you copy this entire folder and save it somewhere else on your drive, and call it the same name as the Act version (e.g. Act17).
2. from the "Reference Paths" section,
3. add a reference to this folder.
This will make all assemblies available to you. - I did this.
4. Now add a reference to: - how to do this?
5. After adding the references, be sure to select all three, and turn off the "Copy Local" property, or else your build folder will be filled up with all the libraries these 3 rely on. -don't know how to do this.
6. You should never have to package these Act dlls with your application, because if Act is installed properly, your application will load all neccessary dlls from the Windows/.Net GAC.
7. From the build tab, change the platform target to x86.
From here, you should be ready to develop an app that uses Act SDK. You will need an object for Act.Framework.ActFramework. Once you have the ActFramework object, you can simply call the LogOn method, and supply your database's PAD file path, and username and password. Below is some sample code for connecting to the Demo database.
- I'm just trying to get this far....
09-16-2015 01:47 PM
This link describes how to add a reference in VS 2015. It talks about the reference node in instructions. You may not see that by default. In the toolbar at the top of the solution explorer pane, there is a button to show all files. Click that to show the references node (and everything else). To turn off the Copy Local option, right-click the specific reference (after it's added) and hit Properties. Otherwise, you can select and press F4 (default) to open the Properties pane for that reference. Then, just toggle the Copy Local property.
09-16-2015 02:27 PM
Thanks for the quick reply!
I'm looking in the Reference Manager for
I couldn't find them anywhere. I did a search in all the areas listed on the left and nothing. Do I need to do something else for them to appear?
09-17-2015 11:08 AM
09-17-2015 12:52 PM
OK, the instructions I followed before led me to another folder full of DLLs; not as many as where you led me.
So, I copied all the DLLs from your folder to the local folder I had set up before. Since that folder now has many more DLLs than before, I hope the Using stmt shows Act! libraries. When I reference path the DLL folder, do I have to build the solution once so they will be found?
09-17-2015 01:07 PM
OH, HAPPY DAY!!
The extra DLLs allowed me to Reference Act.Framework and Act.Shared.Collections. I still could not reference Act.Shared.CompenentModel.
When I added a Using stmt, I could see Act.Framework. So I'm a lot closer.
My question now is, what would Act.Shared.CompenentModel have done if I could have referenced it?
09-27-2015 03:27 PM
I'm having a problem accessing the ContactList class/object. That makes me think I can't access any of the entities. Was I supposed to include a specific Using stmt or include a reference to make that accessible?