Skip to Content
avatar image
Former Member

error when trying to save to an xlsx file

I have an application (pb12.6 classic)

When I execute the command

if (dw_humboldt_out.SaveAs(s_path,XLSX!,TRUE,EncodingANSI!) < 0) then

it works fine on my machine... but, of course I have pb12.6 development installed

I have a person, who simply has the application installed, and it fails to create the file

Any ideas?

we are both running windows 7.... excel 2010

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 09, 2015 at 02:27 PM

    Hello Scot,

    Verify that library Sybase.PowerBuilder.DataWindow.Excel12.dll has been deployed to the GAC of target computers: PowerBuilder runtime files

    To be safe, use the PowerBuilder Runtime Packager (pbpack126.exe) to install necessary PB DLLs

    HTH,

    Jacob

    Add comment
    10|10000 characters needed characters exceeded