Skip to Content
avatar image
Former Member

Powerbuilder 12.6 Build 4121 Import PDF to Blob

this codes works since several years. Suddenly when importing some PDF Documents, we get the error "Bad Runtime Reference" in this line: "lblob_1 = ole_1.ObjectData". But some PDF Documents still work correct.

the complete script:

li_code = ole_1.insertfile(ls_file)
if li_code = 0 and isnull(li_code) = false then
lblob_1 = ole_1.ObjectData
end if

has anyone any idea?

greetings Frank Steinmann

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Mar 20, 2017 at 03:05 PM

    Can you tell us what the OLE control is? Is this a 32bit or 64bit exe?

    Add comment
    10|10000 characters needed characters exceeded