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

Re: PowerBuilder 11.5 & C++ DLL issue


Re: PB 12.6 - Oracle DB Profile does not save Password

$
0
0

Hi Beverly

 

Thanks for answering, It is Pb 12.6 Build 3506

 

I already read an old discussion with the same problem and there is a CR 770618 so do you know the advance about this CR?

 

Regards

 

SandraE

Re: PB 12.6 - Oracle DB Profile does not save Password

$
0
0

Sandra,

 

The issue appears to be fixed.   Can you download and apply EBF 24160: 12.6 SP00 PL02 (build 4035)?

 


Go to http://support.sap.com -> Support Packages and Patches -> A-Z Index -> P -> Sybase PowerBuilder -> SYBASE PowerBuilder 12.6 -> Windows Server on IA32 32bit

 

 

Thank you.
Beverly Duquette

Re: How to call VC++ dll whiich return char[] data type value in powerbuilder

$
0
0

Hello Chris:

 

Thanks for your response sir.

I am new to VC++.  Where do I mark my method as "_stdcall"?

I appriciate your help Chris!

Kind Regards,

David

Re: PowerBuilder 11.5 & C++ DLL issue

Re: PB 12.6 - Oracle DB Profile does not save Password

$
0
0

Hi Beverly

 

I have reviewed all EBF's Buglist but I haven´t found any BugID that fix the problem and I don't see CR 770618 that has the error...

 

Thanks for you help

 

SandraE

Callling .net dll from using CCW

$
0
0

Hi Everyone,

 

 

I am using PowerBuilder Classic 12.5 build 2511 and Microsoft Visual Studio 2010.

 

 

I followed the steps in the example of Bruce Armstrong about sending an email through SMTP (TeamSybaseCSharp.CSharpSMTP).

 

 

In the C# dll project, i used .net framework 3.5. using the socket class to establish a connection with a scale and read the weight.

 

 

If i call the dll from a C# winform project works fine and returns the weight, but if i call from PB to the dll returns an empty string.

 

 

In my PB code, ConnectToNewObject returns 0 and everything seems ok.

 

 

Any suggestions?

 

 

Thanks and regards

 

 

Declare Non Visual Object PB 12.6 .Net

$
0
0

Hi All,

 

In PB Classic I can drag and drop a non visual object to a window en Access the events of that object. How can I do that in PB.Net

 

Regards,

Adrian


Re: Declare Non Visual Object PB 12.6 .Net

$
0
0

Hi adrian;

 

  PB.Net does not support the drag & drop NVUO feature like PB Classic. You have to use the PB Outline Outline tab and then use the RHMB on the Nonvisual Object item. From there you can select the ADD option and then select an NVUO from the resulting list.

 

  Its certainly a lot easier in PB Classic to just drop the NVUO from the System Tree on the Window and have it appear in the Window's NVUO controls list automatically. 

 

Regards ... Chris

Re: Declare Non Visual Object PB 12.6 .Net

$
0
0

Would this not be a Visual User Object though?

Re: SQL Server 2012 Always On ?

Re: 12.6 classic XMLHTTP, OLEObject, OPEN, SEND and POST

Re: Declare Non Visual Object PB 12.6 .Net

$
0
0

Chris,

 

Yes, it's a Visual Object but inside that object there is a Non Visual Object that is refrenced inside.

 

WebControl.WebView

 

Where the WebControl is a Visual Object and The WebView is a Non Visual Object.

 

Capture1.PNG

Re: Rowscopy Question

$
0
0

Hi Richard,

 

I'm wondering why do you have an external DWO that is identical to a DWO created with a select statement. You can use the same DWO in both controls (dw_1 & dw_2) and after retrieving the data for dw_1 do the rowscopy.

Re: Rowscopy Question

$
0
0

Its complicated.

 

The second datawindow is populated from multiple datawindows not just dw_1. dw_1 is only one of many sources.

 

The second dw is not related to a sql statement and does not need to be

 

Thanks

Richard


Re: PowerBuilder 11.5 & C++ DLL issue

$
0
0

I think what you want is:

 

__declspec (dllexport) <ReturnDatatype> __stdcall <functionname> ( <ArgDatatype> <ArgName> )

Re: Rowscopy Question

$
0
0

FWIW: Other good reasons to use another DWO could be ...

 

1) Used to produce XML, TAB, CSV, etc using a different XML schema and or file factors.

2) Used for printing where the format is quite different than the source DWO.

3) Used to export to a spreadsheet using / adding different characteristics.

4) Designed for specialized filtering & sorting - way beyond the source DWO.

 

etc

 

Re: Declare Non Visual Object PB 12.6 .Net

$
0
0

Would you not then treat the whole .Net assembly as a "Control" (aka Custom Visual User Object) that contains a suite of VUO + NVO "helpers" objects in one package?

Re: 12.6 classic XMLHTTP, OLEObject, OPEN, SEND and POST

Data Source Design options: Convert to syntax or Convert to Graphics ?

$
0
0

Hi, guys. How are you ?

 

 

We are using PB 12.5.2  .NET build 5602 here.

 

Our system has a great number of datawindow objects, about 4.000 dw objects.

Most of them were created and saved in the "Convert to syntax" mode.

About 10% of our datawindows, though, were saved in the "Convert to graphics" mode.

 

I am not sure, but I have a guess that "graphic mode" may be causing some non-specific runtime errors,

 

Have any of you given a thought about this subject?

 

I've  found an old post  in this link  Datawindow convert to graphics - sybase.powerbuilder.datawindow

 

that suggests that all DW objects should be saved in graphic mode, but I guess that doesn't apply in Powerbuilder .net

 

Thanks!

Viewing all 7329 articles
Browse latest View live


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