How can I get the mac address of the local machine?
I found it can be done using some iphlpapi.dll calls but can't figure out how.
Can someone please give me the code to do that?
Thank you!
Hi.
I'm using PB9 with asa db ver 7.0
I need to use these 2 function of the transaction object, but can't find em in the help file.
does the select_identity() retrieve the last identity inserted by the transaction object or the global asa db variable @@identity?
how does the get_save_identity()...
I needed to create a dw dynamically, so I can't use a "dw_test".
Anyway, I just found an error:
// create datastore syntax
ls_syntax = sqlca.syntaxfromsql( as_select, 'style(type=grid)', ls_error_syntax)
here i used sqlca.syntaxfromsql()
that's why the ds always used sqlca to make the syntax...
Hi.
I would like to create a datastore from an SQL SELECT.
This is the code i wrote:
/*******************************************/
// here is my SELECT
ls_select = "select * from dba.b04_doc"
// create datastore syntax
ls_syntax = sqlca.syntaxfromsql( as_select, 'style(type=grid)'...
Hi.
I need to empty a variable-size array, just as if it has just been declared.
for example:
1) integer li[]
2) li[] = {1,5,9}
3) ....
After this I want li[] array as it was after point 1, with upperbound(li[]) = 0.
Is it possible?
Thank you!
Powerbuilder 9.0.1 build 7119
Matbe you change the size of the window after the constructor event. open the source code of the window ad look for any unwanted width/height/state change.or try modifying window's width and height properties (or state) in the open event or with a button.
What's the window type property set to?
That's probably because you didn't install correct drivers (or the same drivers you installed the first time).
You should download and install official updated drivers.
There is a key in the registry that holds the name of that peripheral, but it's not easy to edit because it looks locked.
If...
I would really like to know how to make a non-rectangular window!
Could you please tell me where to find the source code of that (or tell me how to make it)?
Thank you!
I can't use the handle function because I don't have an "objectname" but a string as argument.
The Try/Catch block doesen't help me preventing the error (and I don't think it was made for that). Anyway I tried to use it:
w_data_sheet w_sheet1
try
OpenSheetWithParm(w_sheet1, '', 'w_prova'...
Hi,
In my program i can open a window typing its name in a box.
My problem is that if I write the name of a non-existent window the program crushes with the following error:
" Application terminated. Unknown object type...."
- Is there a way to know if the object exists in the pbl list?
- Is...
I finally did it.
I tried with the hidden Datawindow but it had a really slow retrieve ( about 1 min ) because it had to execute the function (and the select) a lot of times.
Then I made a Datawindow with the SQL SELECT of the function. I used filters and GetItem to get the value I needed and...
The function gets a value from the database with an SQL SELECT (a bit heavy) and returns that value (modified).
I couldn't find another way to do that
I have that problem in every datawindow that has a computed column valued with a function, but this one is so heavy that the pc is slowed down...
hi.
I have a datawindow with a computed column.the value of the computed column is the result of a global function (written by me.located in a pbl).
I tried to put a brakepoint in the global function.
debugging, if the computed field is shown, the program calls the function withot stopping (100%...
hello
is it possible to hide an xml element (if it is null, as an example) in the export/import template?
can I hide an element's attribute too?
my xml schema doesn't validate an xml file with an empty string element but does validate if the element doest appear at all.
thank you
Hello
I have starded my first job a month ago and i had to study powerbuilder 9.0 on my own(i used fastrack to powerbuilder 6.5 manual).
I need to export rows in a DataWindows and generate the xml and xsd files. My problem is that the xsd file has to show restrictions on elements, like this...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.