Error while using invoke code activity

Hi All,

I am trying to write code using invoke code activity but getting error as mentioned in below screenshot.

1 Like

@aksh1yadav please help me on this

what is the code that your trying to invoke ! ?

Dim MODIDocument As New Document()

@vvaidya as mentioned in above post i have tried using assembly reference but showing some error.
can u please look into this?


remove assembly one first line from invoke code. and import namespace in namespace panel.
MODI you are using for OCR?

yes i am using OCR.
How to remove assembly ,can u elaborate
which namespace i have to import