Y
Y
Yuri Devichensky2017-03-03 17:16:03
.NET
Yuri Devichensky, 2017-03-03 17:16:03

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

1 answer(s)
Y
Yury Devichensky, 2018-05-03
@yuvdev

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 question

Ask a Question

731 491 924 answers to any question