This website uses cookies to improve service and provide non-personalized ads. By using this site, you agree to this use. See our Privacy Policy and Cookies Info .
Yes, I agree. No, I do not agree.

SmartMarine 3D - Show recent objects in the work space

| 2013/12/09 14:48

Database platform: MS SQL server Product: SmartMarine 3D, SmartPlant 3D (SM3D, SP3D) Task: Show in the work space all objects created or edited recently For troubleshooting and for monito

C# Is the Logged User a member of specific Windows Domain Group?

| 2013/10/19 11:10
C sharp code
using System.DirectoryServices.AccountManagement;
string userName = SystemInformation.UserName;
string UDN = SystemInformation.UserDomainName;
string domainUser = UDN + "\\" + userName;
PrincipalContext pc = new PrincipalContext(ContextType.Domain);
UserPrincipal user = UserPrincipal.FindByIdentity(pc, IdentityType.SamAccountName, domainUser);
GroupPrincipal group = GroupPrincipal.FindByIdentity(pc, "Domain_Group_Name");
bool is_member = user.IsMemberOf(group);
TAGS:

Remote Desktop microphone redirection

| 2013/10/19 08:48
Install and configure the microphone on the local PC and set redirection at Remote Desktop Connection 

Remote Desktop Connection microphone redirection



Allow audio recording at hostHKLM\SYSTEM\CurrentControlSet\Con
TAGS: |

The Marine Design Forum discontinued

| 2013/01/15 18:55

15 January 2013

Due to Tribon (M1, M2, M3) software retirement, the Tribon related marine design forum support has been discontinued.

TAGS:

Virtualization and CAD

| 2012/11/19 08:17
Virtualization and CAD software (AutoCAD and similar) at the end of year 2012.
Recently tested XenApp, XenDesktop and Server 2012 with Hyper-V + Nvidia Quadro 4000 and Windows 8 virtual machines.
The result
XenApp is OK with AutoCAD. However AutoCAD LT is not compatible with XenApp - limited to 2 Acad instances only.
TAGS: |

DataGridView add row - C#

| 2012/10/19 09:18
Considering DataGridView with 3 text columns defined.
string[] row = new string[] { "column1_content", "column2_content", "column3_content" };
DataGridView1.Rows.Add(row);


TAGS:

DataGridView copy to clipboard

| 2012/10/19 09:15
To copy the content of DataGridView cells to clipboard using MouseClick function                                                       
private void DataGridView1_MouseClick(object sender, MouseEventArgs e)
{
   DataGridView1.ClipboardCopyMode = DataGridViewClipboardCopyMode.EnableWithoutHeaderText;
   DataGridView1.SelectAll();
   Clipboard.SetDataObject(DataGridView1.GetClipboardContent());
}

TAGS: