Quantcast
Channel: SCN: Message List - PowerBuilder Developer Center
Viewing all 7329 articles
Browse latest View live

Re: web service and SaveAs PDF


Re: web service and SaveAs PDF

$
0
0

Nice, nice, nice.

me too please.

 

Gimmy

Re: web service and SaveAs PDF

$
0
0

Hi Ta;

 

  You sure can!  

 

I just finished cleaning up the prototype code. I will let you guys know shortly where to download it! 

 

Regards ... Chris

Re: web service and SaveAs PDF

$
0
0

Hi Gimmy;

 

    I just checked with Santa Claus here at the North Pole in Canada (we also house the Magnetic north pole as well BTW) and he says that you have been very good this year. So .. OK - you can have a copy too ... Ho Ho Ho <LOL>!  

 

Regards ... Chris

Windows Task Manager - Get the Application Task Description?

$
0
0

Does anyone know of an example of getting the Application Task description from the Applications tab in the Task Manager?

 

As always thank you for your time!

 

Kyle

Re: Windows Task Manager - Get the Application Task Description?

$
0
0

Hi Kyle;

 

  Do you mean something like this ...

 

 

Regards ... Chris

Re: Windows Task Manager - Get the Application Task Description?

$
0
0

Hi Chris,

 

Actually I was referring to this:

Capture.JPG

 

I have everything from the Processes tab, just trying to determine if it's available through the PSAPI API, just haven't had any luck finding the right method to get it out of there. 

 

Thanks again!

Re: Google maps zoom and LatLong in powerbuilder

$
0
0

Ben,

Do you know how to call javascript function in MS WebBrowser from Powerbuilder?

thx!


Re: SaveAS PDF not working with PB component in EAServer

$
0
0

Hi Patrick;

 

  If your using a 64 bit version of MS-Windows, here is the procedure I use to install & configure GS for both EAS & IIs NVUO use ....

 

1) Download and install GS 8.71 64 bit version.

2) Install GS 8.71 and make sure that you set the GS_DLL environment variable ...

   ie: GS_DLL=C:\Program Files\GS\gs8.71\bin

3) Install the "Sybase DataWindow PS" printer from the GS 8.71 64 bit .INF file located in the GS install's LIB sub-folder

4) Optional: Add the GS BIN folder to your system path

5) Reboot your PC.

 

Now, PDF support should be working in PB 10 and higher on your 64 bit MS-Windows machines.

 

Note: v8.71 of GS has some key fonts that are not included in later releases of GS and these fonts are also no longer included with newer MS-Windows versions either. So what ever you do ...never delete GS 8.71 from your machine.

 

You can now upgrade GS as follows:

 

a) Download and install the latest GS version 9.x or higher 64 bit version

  Do not uninstall GS 8.71

b) Install GS 9.x and make sure that you set the GS_DLL environment variable ...

   ie: GS_DLL=C:\Program Files\GS\gs9.01\bin  (for example)

c) Delete the old "Sybase DataWindow PS" printer definition

d) Install a new "Sybase DataWindow PS" printer from the GS 9.x 64 bit .INF file located in the GS install's LIB sub-folder.

e) Optional: replace the GS 8.71 BIN folder in your system path with the GS 9.x BIN location.

f) Reboot your PC.

 

FWIW: This procedure works for me and all my clients every time! Tested with PB v10.5 through to PB v12.6.

 

HTH

 

Regards ... Chris

Re: SaveAS PDF not working with PB component in EAServer

$
0
0

Chris,

Unfortunately, it is not working. Still same. Standalone app is able to save to pdf file, not PB component in EAServer.

Any more thought/suggestion?

Re: SaveAS PDF not working with PB component in EAServer

$
0
0

Can you tell us ...

 

1) What version of MS-Windows you are using?

2) Is EAS running as a service?

3) Have you been able to produce PDF's from EAS before?

4) Are your DW's set to export to PDF using the "Distill" option?

5) What location are you trying to save the PDF?

6) Does the folder where you are saving the PDF have the correct permissions?

Re: Issues with Powerbuilder 12.6 .net version

$
0
0

Hi Ankur;

 

  Can you tell us why your trying to move off of PB Classic?

 

  Also, did you download the v12.6 of the PFC or are you migrating an old version forward?

 

Regards ... Chris

Re: Register Free CLR assembly with PB 12.5 IDE

$
0
0

The PB125.EXE has an internal manifest.  You can see what in it by exporting it.  You can see how to do that below, where I've done it for PB126.EXE.

manifest.PNG

 

On all Windows versions more recent than Windows XP, the presence of an internal manifest means that the operating system will ignore any external manifest you provide for the same executable.

 

You can either (a) use mt.exe to update the internal manifest file in PB125.EXE with your entries or (b) find some means of removing the internal manifest information from the PB125.EXE file, so the operating system will then recognize the external manifest.  The genman32 utility may be able to remove the manifest information for you.

Re: SaveAS PDF not working with PB component in EAServer

$
0
0

Try assigning a network login to EAServer in the Services widget under Control Panel.Often the PDF save won't work for the default local system account. It will be on the Log On tab.

Re: SaveAS PDF not working with PB component in EAServer

$
0
0

1. MS 2012 R2

2. Yes, running as service

3. No

4. Yes

5. C:\temp\

6. Full permission, Read\Write


Re: SaveAS PDF not working with PB component in EAServer

$
0
0

the PDF was created, but with 0K.

Re: SaveAS PDF not working with PB component in EAServer

$
0
0

You need to try my suggestion. Starting with Windows Vista, security restrictions on services were put in place that prevent Ghostscript from working. This is not a PowerBuilder specific issue. Ghostscript requires a user session and Windows Services no longer have a user session unless you specifically assign one to the service.

Re: SaveAS PDF not working with PB component in EAServer

$
0
0

Hi Patrick;

 

  I have a few of my Canadian government clients running EAS with PDF generation OK. However, they are running v5.5 though on W2008R2.

 

  I suspect that it might be W2012 that may be the issue with its higher level of UAC.

 

  Can you try starting EAS as a foreground application - not as a service - and see if that works. That might at least narrow down the problem to running as a service.

Re: Print Datawindow to PDF file without using GhostScript

$
0
0

Correct.  From the online docs:

 

"The Ghostscript method currently does not support OLE and RichText DataWindow objects. The XSL-FO method currently does not support OLE, RichText, graph, and composite DataWindow objects."

 

Saving the Data as PDF

Re: SendMessage API fails after converting the app into PB12.5

Viewing all 7329 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>