Answer the question
In order to leave comments, you need to log in
How to pass the String in which the file is located to the VBA method from .Net?
The situation is, there is an API made in VBA, it has a method to which you need to transfer the file.
In VBA it looks like this:
Dim ff As String, Scan As String
Open App.Path & "\ScanNotaryActs.tif" For Binary Access Read As #ff
Scan = Input(LOF(ff), #ff)
Close #ff
in API- Scan is passed to the function.
How to reproduce this on .Net? (C# ideally).
Answer the question
In order to leave comments, you need to log in
It was decided by washing down the VB library from which the API is called.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question