Support Portal

for ProcessRobot and WinAutomation

Start a new topic

Using external dll library in a process

It would be  better if we can access a .net dll external assembly directly from inside process studio action, instead using power shell.


ADMIN

Hello Supratman,


Thank you for your suggestions.


May I ask why do you think that this would be useful? Do you have a use case in mind?


Feel free to elaborate.

Sometimes i am creating a custom function inside a dll, or if we want to use already made dll for specific purpose ex : https://www.newtonsoft.com/json



It is complicated if we access it using powershell.



ADMIN

Hello Supratman,


Thank you for the information.


Could you please be more specific? Have you created a script that you run through ProcessRobot/WinAutomation? 


In which language? and how do you run it through our product?

Yes.

A simple dll in c#.

I run it using power shell.

ADMIN

Thanks Supratman!


I have forwarded your request.

Sample power shell code that i use


[Reflection.Assembly]::LoadFile("E:\sampledll.dll")

$action = new-object Class.Methods

$action.function($Mailserver,$Userid,$UserPassword,$Mailfolder,$Fromcontain, $Clientname)

Login or Signup to post a comment