Ranorex in VBA

Class library usage, coding and language questions.
claudio.souza
Posts: 6
Joined: Fri Nov 07, 2008 12:11 pm

Ranorex in VBA

Post by claudio.souza » Fri Nov 07, 2008 1:45 pm

I need to make calls for Ranorex functions in VBA (Access) :oops: .

Is there any way to acomplish it ?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Post by Support Team » Mon Nov 10, 2008 9:02 am

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

claudio.souza
Posts: 6
Joined: Fri Nov 07, 2008 12:11 pm

samples

Post by claudio.souza » Mon Nov 24, 2008 12:08 pm

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.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Post by Support Team » Wed Dec 10, 2008 12:14 pm

I'm sorry, but we can only provide Ranorex specific samples.

best regards,

Christoph
Ranorex Support Team