Can datawindows created in Powerbuilder be used?
does anyone know if datawindows created in older versions of
Powerbuilder can be used in datawindow.net?
If they can, which version of Powerbuilder can the
datawindows be created in? Could I for instance take an
existing datawindow created in Powerbuilder 7 and use it in
a .net app without any modification?
Thanks for any help you can give.
Yes they can. They need to be migrated to the version of DataWindow
..NET that you are using, but the DataWindow Designer that comes with
the product will do that for you.
Note: OLE and Rich Text DataWindows are not sup...Use PowerBuilder DLL in PowerBuilder
We use PB6.5.
We would want to use a DLL create from PB in a PB application.
We compiled an a PBL as DLL.
After we tried to use DLL in a user object external, but without success.
How can we do to use DLL create from PB or use in a new PB application some
object (visual and no) before compiled with PB?
Any help will be appreciated.
When you create a DLL from a PB library it is not really a standard Windows
DLL. I'm not sure what the difference is. If you are making calls from PB
then just use the standard PB calling syntax the ...creating dynamic datawindow using create...
I am using the create statement to create a dynamic datawindow that will be
of type Group. When a datawindow is created of type Group the title(if
added to the create statement)/date/ and page numbering are automatically
added. The only downfall is that the items automatically added have no
names associated to them. Unfortunately I need a name to represent the
line of datawindow code so that I can change x/y coordinates and other
properties of the object.
If you have any idea as to how i can add a name to already created
datawindow syntax objects such as Text, and Computed fields ...Creating DLLs using Visual Objects for use in PowerBuilder
Has anybody created a DLL with visual objects in Power++ ?
< ---- Part of this post contains text (modified) from an earlier post
of mine ---- >
I have run into the following problem on this.
1. I open a new project
2. I add a new DLL target (and delete the EXE)
3. I add a plain form Form1 (since the default Form1 is deleted by
deleting the EXE)
4. I add a new File test.cpp to the target, and in that the only
statements I add is
I Run->Build File at this stage and I get the following compile error in
Form1....Version of PowerBuilder (ref: Creating database for PowerBuilder)
I'm using PowerBuilder v8.0 and would like to create a
notification system for my practiculum project. I'd like to
use Access to create the database. Please enlighten me on
what should I create (e.g. tables, queries) for the usage of
Don't double post, it's bad etiquette.
Unless you have a very good reason to do so, we recommend you don't use
Access. Use SQL Anywhere instead - it's more stable - and a far better
database in my opinion. PowerBuilder (enterprise) supports just about every
database out there, so if you...Dynamically creating columns in a datawindow
I am trying to dynamically add columns to a datawindow and I am running into
some problems. The columns that I am creating are NOT database columns but
instead are part of a manual result set. Essentially, I am trying to use
the datawindow like a spreadsheet, but I do not know up front how may
columns I will need. I use the datawindow painter to create an object with
a small number of columns. I then delete those columns in the datawindow
painter and use the modify() function with the create syntax to start adding
in the columns that I want. All goes well until I add one...how to dynamic create a column in datawindow?
Use Modify (...) function, with CREATE control syntax. See more in
PowerBuilder help for Modify function.
"Ivan Lai" <email@example.com> wrote in message
> As subject
but the error is occur when I change the ID values to greater than 1.
"Wendell Rios" <firstname.lastname@example.org> ���g��l��
> Use Modify (...) function, with CREATE control syntax. See more in
> PowerBuil...how to dynamic create a column in the datawindow?
why i cant create a column in the dw using this script
"Create column(band=detail id=57 alignment='0' tabsequence=30 border='0'
color= '0' x='700' y='10' height='96' width='58' format='[general]'
name=call_notes edit.limit=0 edit.case=any edit.focusrectangle=no
edit.autoselect=yes font.face='MS Sans Serif' font.height='-8'
font.weight='400' font.family='2' font.pitch='2' font.charset='0'
return err...Error trying to use a datawindow created using CREATE
Should it be possible to do the following in 5.0.04:
ldw = create u_dw
ldw.dataobject = "dw_test"
li_Result = ldw.of_SetTransObject( SQLCA )
li_Result = ldw.retrieve()
The of_SetTransobject fails with a -1.
The following also fails:
ldw = create datawindow
ldw.dataobject = "dw_test"
li_Result = ldw.SetTransObject( SQLCA )
li_Result = ldw.retrieve()
The following works:
lds= create n_dw
lds.dataobject = "dw_test"
li_...creating new columns in a datawindow dynamically
I got the following problem.
I want to create a new column in a datawindow at runtime.
I have copied the syntax to create the new column from an exported dw:
dw_1.Modify('create column(band=detail id=2 alignment="2" tabsequence=10
border="5" color="0" x="216" y="3" height="54" width="194"
format="[general]" name=spalte2 visible="1~t0" edit.limit=0
edit.case=any edit.autoselect=yes font.face="MS Sans Serif"
font.height="-8" font.weight="400" font.fami...Powerbuilder crashes when opening or creating datawindow
Powerbuilder crashes when I try to open or create a new
datawindow in Pb9.0
I get this error
AppName: pb90.exe AppVer: 18.104.22.16807 ModName: pbdev90.dll
ModVer: 22.214.171.12407 Offset: 0002d23c
Delete the registry key
PB will automatically recreate it.
Terry Dykstra (TeamSybase)
product enhancement requests:
<kith> wrote in mes...dynamically creating a datawindow using syntaxfromsql
i'm dynamically creating a datawindow using syntaxfromsql to create a
datawindow object. i then import data into the datawindow that will be
saved as an excel spreadsheet.
my code looks something like this:
string ls_SQL, ls_Errors
ls_SQL = "SELECT '' as "headername1", '' as "headername2", ect. FROM
ls_SQL = SQLCA.SyntaxFromSQL(ls_SQL, '', ls_Errors)
ldw_Excel = CREATE...Could not add datawindow using powerbuilder 7
I have selected a new datawindow but was not added. Even tried to add
objects but was failed to do so. There were no errors generated. I was
able to add object or datawiindows before but after I have re-
installed my powerbuilder this problem occurs. Please help.
...Column Attributes in dynamically created datawindow?
I have a data window control which is populated "on the fly" from a query
which will return varying numbers of columns. I would like to be able to set
column attributes such as alignment and font for each of the columns. Can
anyone tell me how to do this?
I have tried:
For I = 1 to NumberofColumns
dw_8.object.#I.Alignment = 2
but it always chokes.
What do you mean by "chokes"? Do you get the error accessing property
Alternatively, you can do:
ls_objects = dw_8.Object.DataWindow.Objects
to get a li...