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

Re: License - Grace Mode?

$
0
0

Thanks Bruce!

 

That did it for me.  Used the Hard Drive Serial Number and both come up with valid Licenses now.  Appreciate the heads up on the utility.  Never used that before.

 

Jeff Gibson

Intercept Solutions - Sybase SQL Anywhere OEM Partner

Nashville, TN


Re: Application memory usage

$
0
0

Exactly what I need to display but I need the API calls. I'm in PB 12.1 regular.

Re: How to deal with a huge report

$
0
0

Are they viewing them online, printing them, or something else?

 

If viewing, then retrieve as needed might help.

Re: Will powerbuilder 12.1 (classic) work on 64 bit servers / databases

$
0
0

Hi Scot

You will need to have a 32bit Oracle client installed to any machine running the application, It doesn't matter if the DBMS is 64bit, you can connect with a 32bit client as well.

 

Regards Konstantinos

Strange PB datawindow "feature"

$
0
0

Hi All,

 

One of our customers discovered that by doing a copy Ctrl-C on a DW list, he can do a Paste on notepad and get all the contents of the DW list.

This could be a cool feature, if not for the unexpected problem that the list includes passwords and other information that users are not supposed to see.

 

I've tried capturing the ctrl-c on pbm_dwnkey, and then calling PeekMessageA, but this is not preventing the copy.

 

// Prevent Ctrl-C

blob{28}     lblb_Msg

IF KeyDown(KeyShift!) AND KeyDown(KeyC!) THEN

PeekMessageA(lblb_Msg, 0, 256, 264, 1)

    message.processed=TRUE

    message.returnvalue=0

End If

 

 

Anybody run into this feature, and any ideas about how to overcome this?

 

We're on PB12.5.1 Build 4595 (though I don't think it's related to this version, as it also occurs on PB10.5)

 

Thanks.

 

Mick Hillel

Re: Strange PB datawindow "feature"

$
0
0

Ahhh ... If you use the PFC Menu (or a descendant there of) - have a look for a Menu Item that has the Crtl+C short-cut assigned. Then in the "extension" layer - over-ride the code to disable it. I suspect that is where your special copy behaviour is coming from.  

Content moderation is in effect....

Re: How to deal with a huge report

$
0
0

We use a PB viewer window to view the results so that is currently not an option.  I do plan on offering the SaveAs option for our scheduled reports but right now it is not applicable.

 

On the same lines as the PSR - how would you 'secure' this since it has to be written to the file system?

 

Chris


Re: How to deal with a huge report

$
0
0

I had the same problem with GetFullState before. The solution for me was to break the result set up into two parts and ultimately return two blobs back to the calling thread. I could be wrong but I think I had to use the GetChanges\SetChanges methods to put the report back together. I'll have to look at the code to say for sure.

SetTransobject detection

$
0
0

I'm not sure if .net has it, but if there is a datawindow.title property that you can set to see which control is throwing an error.

 

dwc_1.Object.DataWindow.Message.Title="Some Title"

 

When an error occurs, the error window should have that title on it. If each DW has a different title, you'll know where to start looking for the missing settransobject call.

Re: SetTransobject detection

$
0
0

What Chris said. And you may just be abbreviating, but SetTransObject is different than SetTrans and is usually preferred. It is pretty common for SetTransObject to be done in the open (or postopen) event of the form, for each DW it contains, that most of us never see such problems. I will also note that some parameters in Modify will break the STO (they are noted in Help) as well changing the dataobject. Repeat STO as needed.

Re: SetTransobject detection

$
0
0

Yes - the only way to find it is to debug it.  If the error is captured and displayed via dberror (and it sounds like it is), then you can put the breakpoint in dberror of your base class.

Re: SetTransobject detection

$
0
0

I haven't tried this in PB.Net but it works well in Classic.

 

I have an ancestor DataWindow object that has a function of_getobjectname with this code:

 

PowerObject lpo_parent

String ls_object


lpo_parent = this.GetParent()

ls_object = this.ClassName()

Do While lpo_parent.TypeOf() <> Window! and IsValid (lpo_parent)

    ls_object = lpo_parent.ClassName() + "." + ls_object

    lpo_parent = lpo_parent.GetParent()

Loop

 

Return ls_object

 

The dberror event calls this function when displaying the error message so that I know where it happened.

Invalid License Data - Visual Studio Shell

$
0
0

OK,

 

Let me see if I can one up the grace period license question I asked...

 

Just installed PowerBuilder 12 and PowerBuilder 12.5.  At the end of the installs and at the end of the updates, I get the following error.  It was somewhat more generic in 12, but it's basically the same thing in 12.5.

 

invalid license.JPG

 

All the way to telling me a reinstall is required.

 

The funny thing is....  Everything works.  PB Classic is working just fine, and PB .NET (both 12 and 12.5) are running fine as well.  When I check the license info on the about window, everything looks smooth in the .NET environment.

 

My bet is that this is a problem with something else.  I'm just curious if anybody else has seen this during their installs/updates of PB 12 or PB 12.5.

 

Any info would be appreciated!!

 

TIA!!

 

Jeff Gibson

Intercept Solutions - Sybase SQL Anywhere OEM Partner

Nashville, TN

Re: Invalid License Data - Visual Studio Shell

$
0
0

You get that error anytime you try to run the Visual Studio shell directly, since the only thing there is the shell.  I'm not sure what part of the startup attempted to do that.

 

In any event, as long as PB.Net comes up fine you're in good shape.

 

You may see that error again if you attempt to "open" things in Windows Explorer that Visual Studio has associated with itself.


SlideLeft Not Working

$
0
0

I am trying to use the SlideLeft property in a report DW.  I am trying to slide computed columns in a group trailer band.  Is this not possible?  TIA.

Re: Graph Datawindow

$
0
0

Hi Partha,

 

The graph you attached looks like a line graph to me. If I understand what you're saying just change the graph type of what I described from Line to one of the Column or ColStacked.

 

hth,

Mark

Re: Graph Datawindow

$
0
0

Hi Partha;

 

   I agree with Mark ... a LINE Graph DW is all you need to build. You just need to make one plotted line mapped to fixed value and the other line to the variable data values. That should give you pretty much the same result as the picture you attached to your posting.

 

Regards ... Chris

Re: Invalid License Data - Visual Studio Shell

$
0
0

We get similar errors when installing plugins to the PB12.1 .NET IDE, such as AnkH (for Subversion integration). Ignoring the errors seems fine, we've never had any problems.

Re: delay calling webservices

$
0
0

Hi again

 

My webservices continued with this issue, it only worked fine on my development environment.

 

We look everywhere for a cause and this is what I found http://communitycentral.metastorm.com/t5/BPM-Version-9-Installation-and/Slow-App-Pool-Startup-IIS-6-amp-IIS-7-Servers-with-no-Internet/td-p/276999

 

I applied that solution and seems to be working, but this is not the development environment is a real productive one so I don't want to leave it disabled.

 

How can I use a real certificate created with my own infraestructure of digital certificates and sign my invoked webservice (webservice2 developed on pb11.5)? and what happens to the another ddl that PowerBuilder creates on the client side?

Viewing all 7329 articles
Browse latest View live


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