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:

Windows application (process) start from C# code

| 2012/10/19 09:06
Run notepad application example
using System.Diagnostics; // REQUIRED
private string programStartupDir = "";
private string logFile = "";
...
private void Form1_Load(object sender, EventArgs e)
{
   programStartupDir = Directory.GetCurrentDirectory();
   programStartupDir += "\\";
   logFile = programStartupDir + "Application_Log.txt";
}
...
private void menuItemShowLogFile_Click(object sender, EventArgs e)
{
   Process showFile = new Process();
   showFile.StartInfo.FileName = "notepad.exe";
   showFile.StartInfo.Arguments = logFile;
   showFile.Start();
}



TAGS:

Cannot uninstall Windows program ?

| 2012/10/19 08:23
Microsoft Support provides utilitu that helps uninstalling software that can't be removed using Add/Remove Programs
Fix problems with programs that can't be installed or uninstalled
http://support.microsoft.com/mats/Program_Install_and_Uninstall

It helped me to uninstall Citrix receiver from my laptop.

TAGS: