Here is my code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Resources;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
static AutoItX3Lib.AutoItX3Class au3;
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
au3 = new AutoItX3Lib.AutoItX3Class();
au3.WinActivate("Untitled - Notepad", "");
}
}
}
So far this works great if the .exe. I think I need to use something like Getmanifest but I am not sure how to incorporate it.
Edited by smcombs, 29 March 2009 - 08:21 PM.




