VB6 - Error with merge

About the programming interface for the virtual PDF printer driver.

Moderator: jr

Post Reply
patapatty
Posts: 3
Joined: Tue Nov 15, 2011 11:19 am

VB6 - Error with merge

Post by patapatty »

Hi. I want to merge different files into one
I use this code
[code]
Dim elencoFiles(4) As String, i As Integer
For i = 1 To cnt
elencoFiles(i + 1) = currentdir & "\out\" & cnt & ".pdf"
Next i
Call p.Merge(elencoFiles, currentdir & "out\prova.pdf")
[/code]

But I receive this error: "Per la funzione o l'interfaccia sono state impostate delle restrizioni oppure la funzione utilizza un tipo di automazione non supportata in Visual Basic"

What can I do?

Thank's

Patrizia
Post Reply