Page 1 of 1

Ranorex in VBA

Posted: Fri Nov 07, 2008 1:45 pm
by claudio.souza
I need to make calls for Ranorex functions in VBA (Access) :oops: .

Is there any way to acomplish it ?

Posted: Mon Nov 10, 2008 9:02 am
by Support Team
Hi Claudio,

I'm not sure if MS Access supports the use of DLLs from .NET (RanorexNET.dll) directly. The RanorexNET is not COM compliant. Please try to wrap some Ranorex methods within a VS.NET library project. In addition set the option "Register for COM interop" (located under Project Properties | Build) to get your DLL COM compliant.

best regards,

Christoph
Ranorex Support Team

samples

Posted: Mon Nov 24, 2008 12:08 pm
by claudio.souza
Support Team wrote:Hi Claudio,

I'm not sure if MS Access supports the use of DLLs from .NET (RanorexNET.dll) directly. The RanorexNET is not COM compliant. Please try to wrap some Ranorex methods within a VS.NET library project. In addition set the option "Register for COM interop" (located under Project Properties | Build) to get your DLL COM compliant.

best regards,

Christoph
Ranorex Support Team
Could you post a sample showing how to do that ? I'm new in .NET programming and probably use VB.NET.

Thanks in advance.

Posted: Wed Dec 10, 2008 12:14 pm
by Support Team
I'm sorry, but we can only provide Ranorex specific samples.

best regards,

Christoph
Ranorex Support Team