Please tell me if there is any way to access the vb.net dll in Ranorex.
I am coding in C#.
Vb.net dll in ranorex
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Vb.net dll in ranorex
Hi,
Regards,
Markus
Ranorex Support Team
Yes, you can use vb.net dlls, just add the dlls as reference to your C# project.Please tell me if there is any way to access the vb.net dll in Ranorex.
Regards,
Markus
Ranorex Support Team
-
- Posts: 20
- Joined: Tue Sep 20, 2011 7:12 am
Re: Vb.net dll in ranorex
Please provide me the syntax for the same.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Vb.net dll in ranorex
Hi,
You can use it like you would use a C# dll.
I have created a small VB.net sample solution "VBDll" which includes a Class named "Class1.vb" and this class includes a method named "test":
Markus
Ranorex Support Team
You can use it like you would use a C# dll.
I have created a small VB.net sample solution "VBDll" which includes a Class named "Class1.vb" and this class includes a method named "test":
public Shared Sub test() MsgBox("Hello World") End SubAfter i have added the created dll to my normal C# solution I executed the method with the following code:
VBDll.VBDll.Class1.test();Ragards,
Markus
Ranorex Support Team