Community
Showing results for 
Search instead for 
Do you mean 
Reply

Newbie: How to perform showing a special contact or company?

Accepted Solution Solved
New Member
Posts: 2
Country: Germany
Accepted Solution

Newbie: How to perform showing a special contact or company?

[ Edited ]
Hi, I stored the ID (guid) of a previously shown contact. Now I programatically (using a custom control or plugin) want to recall and show this contact in the ActApplication again. (Using ACT!10.) Is there any sample code therefore (c# would be graet, vb is also welcome)? Calling this contact in a contactlist-object works, but what I miss is the way to control the Application (UI/Frontend) itself to show the selected contact. Same problem with calling the companies, too. Thanks in advance. James
Message Edited by jeu009 on 09-10-2008 02:32 AM

Accepted Solutions
Solution
Accepted by topic author jeu009
‎09-25-2015 03:20 AM
New Member
Posts: 2
Country: Germany

Re: Newbie: How to perform showing a special contact or company?

Found by myself.
It's

private void button1_Click(object sender, EventArgs e)
{
ActApplication ActApp = Act.UI.ActApplication.Instance;
ActApp.UIContactManager.ShowContact(this.pContact);
}

Greetings
James

View solution in original post


All Replies
Solution
Accepted by topic author jeu009
‎09-25-2015 03:20 AM
New Member
Posts: 2
Country: Germany

Re: Newbie: How to perform showing a special contact or company?

Found by myself.
It's

private void button1_Click(object sender, EventArgs e)
{
ActApplication ActApp = Act.UI.ActApplication.Instance;
ActApp.UIContactManager.ShowContact(this.pContact);
}

Greetings
James