VB6 - Error with merge

About the programming interface for the virtual PDF printer driver.

Moderator: jr

VB6 - Error with merge

Postby patapatty » Wed Nov 16, 2011 1:32 pm

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
patapatty
 
Posts: 3
Joined: Tue Nov 15, 2011 11:19 am

Return to Programming

Who is online

Users browsing this forum: No registered users and 3 guests

cron