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

Re: print a picture

Thanks for all the help. I applied all the suggestions. The picture is still not being displayed. The only difference I noticed is the image file c:\Member\memb4.bmp is not truncated anymore. I don't...

View Article


Image may be NSFW.
Clik here to view.

Re: print a picture

View Article


Re: print a picture

which band in the DW is the picture control is sitting in? maybe try to use modify method and then issue a dw_card.setredraw(true).

View Article

Re: print a picture

Thanks again for all the suggestions, It seems like my problem is in the filewriteEx. It is returning a negative number (-25890) and the filelength is returning -1.writepic = FilewriteEx (tempfile,...

View Article

Re: print a picture

FileWriteEx () returns a long value.You wrote before, that the Filewrite is o.k.?! What about the width and height?dw_card.object.p_1.originalsize = Falsedw_card.Object.p_1.width =...

View Article


Re: print a picture

Make sure that writepic is defined as a long and tempfile is an integer. After FileWriteEx you need to close the file. tempfile = FileOpen(....)writepic = FileWriteEx(tempfile,...

View Article

Re: print a picture

Thanks very much. Your help is very appreciated.I corrected the datatype of writepic to long and I have a correct return value of 33922.The filelength64 is still returning -1.And My biggest problem is...

View Article

Re: print a picture

What do you see in Windows Explorer? Does it show the correct size? Can you open the file in Windows image viewer or other image editor? Why are you setting the width/height to 8x5? I would think...

View Article


Re: print a picture

Are you sure, that the file is in BMP format? Can you try other files? Not the one loaded from the database. Try to view the file in an editor/ hex-editor to see the header information of the file....

View Article


Re: print a picture

I can see the picture of the member in Windows Explorer or in windows image editor when I clicked on the file (ls_image). I changed the sizes and even commented out those two lines. It did not make any...

View Article

Re: print a picture

I think the file is a bmp, I viewed it in other editors and there is no issue. I changed the datatype of filelength to longlong. The result is still -1 and no picture visible in datawindow at...

View Article

Re: print a picture

How many rows do you have in the datawindow and on which layer is the picture?Can you try to use static values and preview it in the datawindow painter?

View Article

Custom row indicator for webforms datawindows

Hi all, I'm trying to implement a custom row indicator for some datawindows of a webform target. Thing is that I dont want to code clicked event in dw_ in order to avoid postbacks. So, I tried some...

View Article


Re: Opening default email application with attachment in PowerBuilder

hi ahmed here is some code of using outlook as ole

View Article

Re: print a picture

Hi Placide,   I'm not sure that this will help you, but I recently coded a similar situation and it worked fine for me. The code I used is SELECTBLOB image_blob INTO :lblb_pic FROM imageWHERE...

View Article


Application Server configuration

Hi, Can someone pls give me a step-by-step info on how to configure an Application Server in PB 12.5 Classic? Application Server like JBOSS, WebLogic. I'm at a total loss since there are NO clear...

View Article

Re: Application Server configuration

Hi  ;   FYI: 1) PB 12.5.x Classic can no longer build web applications. Both its Web Target and WebForms features have been removed due to being discontinued. 2) On the application server side ... PB...

View Article


Re: Office 2013 ole

Any updates on how to resolve this? I am having the same issue.  We upgraded to Office 2013 and my OLE object SaveAs is failing.  Anyone got it working?  Praveen

View Article

Re: Office 2013 ole

Hi Praveen, did you have an explicit error message? In order to get more infos about the error, put a TRY CATCH statement around the problematic line.for ex: TRY     lOleWord.TypeText('this is a...

View Article

Problem Maximizing Window

I have a window that I'm trying to use as a dashboard.  So, if the user chooses to open the dashboard it opens a maximized sheet in the mdi frame of the application that I would like to persist while...

View Article
Browsing all 7329 articles
Browse latest View live


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