RE: Vim OLE and C# - Solution

2007-04-18 Thread David Fishburn
> -Original Message- > From: David Fishburn [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 12, 2007 1:12 PM > To: vim@vim.org > Subject: Vim OLE and C# > > > I have the following VB code: > > Dim Vim As Object > Set Vim = CreateObject(&quo

Vim OLE and C#

2007-04-12 Thread David Fishburn
I have the following VB code: Dim Vim As Object Set Vim = CreateObject("Vim.Application") Vim.SendKeys ":e " I want to do the samething in C# (of which my skills are quite weak). I have the following: object Vim; Vim = Activator.CreateInstance(Type.GetTypeFromProgID(