A
AdamM
Hi all,
When I run my VbScript, I get the error: "ActiveX component can't create
object: 'getobject'. Error 800A01AD". Any ideas what I did wrong?
Here's my VBScript:
dim o
set o=getobject(,"ConsoleApplication2.Program")
msgbox o.TestString
And here's my C# application that's running when I try to access it from
VbScript:
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication2
{
public class Program
{
public string TestString = "testing 123";
static void Main(string[] args)
{
Console.ReadLine();
}
}
}
When I run my VbScript, I get the error: "ActiveX component can't create
object: 'getobject'. Error 800A01AD". Any ideas what I did wrong?
Here's my VBScript:
dim o
set o=getobject(,"ConsoleApplication2.Program")
msgbox o.TestString
And here's my C# application that's running when I try to access it from
VbScript:
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication2
{
public class Program
{
public string TestString = "testing 123";
static void Main(string[] args)
{
Console.ReadLine();
}
}
}