I am working with a very simple VB.Net winform app in which I am trying to run a AutoHotkey Hello World sub . The code is shown below. I get a cannot create ActiveX component error. Any help in resolving the error would be appreciated.
Dim ahk As Object
ahk = CreateObject("AutoHotkey.Script")
ahk.ahktextdll("MsgBox Hello World!" & Chr(13) & "ExitApp")