how can i use powerbuilder to develop an activex/ole/ocx? help me please!!!
Please do not cross-post.
--
<hopethishelps/>
Roy Kiesler [TeamSybase]
MySybase -- http://www.sybase.com/mysybase
"tadsun" <tadsun@163.com> wrote in message
news:jIQ8Mt7BCHA.200@forums.sybase.com...
>
>
>
...
OLE printing from a datawindowI have created a datawindow with an OLE map,OLE image and Some text summary
in it.
I am able to print the OLE map alone on the datawindow and it comes quite
with the same size but unfortunately the OLE image doesn't come with the
same size and it comes like a very small size of the original size.
Now, when I put all the above on the datawindow and print, nothing is there
on the printout except one part of a circle in the left corner of the
paper.
Any help will be appreciated.
thanks in advance.
ajay
I myself got the answer and that is simply to put the
command \
long l...
PowerBuilder Bugs: Using VB ActiveX control (OCX) in PowerBuilder 6.0I'm going to write some VB ActiveX control (using Microsoft VB6.0 SP3)
to be used in PowerBuiler 6.5,
but I found that it's very easy to crash in PowerBuilder,
Here is the test case:
1) Create a very simple VB ActiveX control (only one button without any
script) in Visual Basic
2) Create a PB project to open a Main Window (w_1) with an ole object of
VB ActiveX control
3) Open another Window (w_2) with an ole object of VB ActiveX control
(can be same as previous or other control)
4) Click the OLE object in w_2 to make it get focus
5) Close w_2 -> it will crashed
If ...
Printing a Datawindow in PowerBuilderI have some problems properly printing a datawindow in PowerBuilder. When I
print a document the printer will print the top half of the ast line on the
third and bottom half of the line on the fourt page.
In my datawindow I only have aboout four fields but the last one is a SQL
Server "TEXT" field, so this field can store many pages of information.
In the PowerBuilder Data Window I have the field set to auto size height.
Another thing I have noticed that it prints differently on different
computers, meaning it may print fine on one computer and not on another.
S...
OLE/OCX in DataWindow Bug??SGVsbG8sDQoNCiAgSGVyZSBpcyBhIG15c3RpZnlpbmcgcHJvYmxlbSBJJ3ZlIGVuY291bnRl
cmVkIHRyeWluZyB0byBlbWJlZCBhbiBPQ1gNCmluIGFuIGRhdGF3aW5kb3cgaGF2aW5nIHRo
ZSBPTEUgcHJlc2VudGF0aW9uLXN0eWxlLg0KKFBCIDcuMC4zIEJ1aWxkIDEwMDA5IG9uIFdp
bmRvd3MgMjAwMCkgIEFueSBhZHZpY2Ugd291bGQgYmUgZ3JlYXRseQ0KYXBwcmVjaWF0ZWQu
DQoNCkhhdmluZyBjcmVhdGVkIGEgZGF0YXdpbmRvdyBvYmplY3Qgd2l0aCBhbg0KIC0tIE9M
RSBQcmVzZW50YXRpb24gc3R5bGUNCiAtLSBTUUwgUXVlcnkgZGF0YSBzb3VyY2UNCiAtLSBz
cGVjaWZpZWQgYW4gT0NYIGZvciB0aGUgZGF0YXdpbmRvdw0KIC0tIHNwZWNpZmllZCBhIGR1
bW15IFRhcmdldERhdGEgY29sdW1uIGluIHRoZSBEYXRhIHRhYiAodGhpcyBzZWVtcyB0bw0K
YmUgbmVj...
OLE/OCX in datawindow (PhotoPRO)Has anyone got experience in embedding OLE controls in datawindows?
I'm interested in how to access that control per row and how to
load/store data between the control and
- from/to an source external from database (blob/file) depending on the
methods and properties this controls got for loading/saving and
depending on the row (where the filename is stored in another database
column),
- a database blob column.
Especially I want to use the Pegasus PhotoPRO (2.0) ActiveX control to
give a preview of pictures (different for each row) and other database
columns where the image is...
PowerBuilder Datawindow ActiveX Control.Hi,
I tried to use the PowerBuilder Web ActiveX control in Visual Interdev. It
gave me an error that it can?t be represented visually, and I couldn?t use
it.
I also tried to use in Visual Basic6, but it gave me a message that I don?t
have License to use it, although the ActiveX is registered and I have
original copies for all the software that I have.
Can you please advice on this??
Note: The ActiveX worked OK when I tried to use it from inside
PowerBuilder.
Thanks?
...
OLE/OCX in datawindow (PhotoPRO)Has anyone got experience in embedding OLE controls in datawindows?
I'm interested in how to access that control per row and how to
load/store data between the control and
- from/to an source external from database (blob/file) depending on the
methods and properties this controls got for loading/saving and
depending on the row (where the filename is stored in another database
column),
- a database blob column.
Especially I want to use the Pegasus PhotoPRO (2.0) ActiveX control to
give a preview of pictures (different for each row) and other database
columns where the image is...
Does anyone use OLE container in Datawindow as OLE (Excel Chart/Worksheet/Microsoft Graph) presentation style or OLE object in Datawindow? Please Help.Blank
Hello folks,
How can I use an OLE container in Datawindows?
The situation as follows:
I have a datawindow with OLE (Excel Chart/Worksheet/Microsoft Graph)
presentation style or grid datawindow with OLE object (Excel
Chart/Worksheet/Microsoft Graph) in detail band.
I have the next result set of datawindow (SQL select/ SP / External)
fields: anytext, anynumeric
values: first, 1
first, 2
first, 3
second, 1
second, 2
second, 3
I mapped OLE data as follows
Group by: anytext
Target Data: anytext
...
Does anyone use OLE container in Datawindow as OLE (Excel Chart/Worksheet/Microsoft Graph) presentation style or OLE object in Datawindow? Please Help.Blank
Hello folks,
How can I use an OLE container in Datawindows?
The situation as follows:
I have a datawindow with OLE (Excel Chart/Worksheet/Microsoft Graph)
presentation style or grid datawindow with OLE object (Excel
Chart/Worksheet/Microsoft Graph) in detail band.
I have the next result set of datawindow (SQL select/ SP / External)
fields: anytext, anynumeric
values: first, 1
first, 2
first, 3
second, 1
second, 2
second, 3
I mapped OLE data as follows
Group by: anytext
Target Data: anytext
...
Does anyone use OLE container in Datawindow as OLE (Excel Chart/Worksheet/Microsoft Graph) presentation style or OLE object in Datawindow? Please Help.Blank
Hello folks,
How can I use an OLE container in Datawindows?
The situation as follows:
I have a datawindow with OLE (Excel Chart/Worksheet/Microsoft Graph)
presentation style or grid datawindow with OLE object (Excel
Chart/Worksheet/Microsoft Graph) in detail band.
I have the next result set of datawindow (SQL select/ SP / External)
fields: anytext, anynumeric
values: first, 1
first, 2
first, 3
second, 1
second, 2
second, 3
I mapped OLE data as follows
Group by: anytext
Target Data: anytext
...
Does anyone use OLE container in Datawindow as OLE (Excel Chart/Worksheet/Microsoft Graph) presentation style or OLE object in Datawindow? Please Help.Blank
Hello folks,
How can I use an OLE container in Datawindows?
The situation as follows:
I have a datawindow with OLE (Excel Chart/Worksheet/Microsoft Graph)
presentation style or grid datawindow with OLE object (Excel
Chart/Worksheet/Microsoft Graph) in detail band.
I have the next result set of datawindow (SQL select/ SP / External)
fields: anytext, anynumeric
values: first, 1
first, 2
first, 3
second, 1
second, 2
second, 3
I mapped OLE data as follows
Group by: anytext
Target Data: anytext
...
insert ActiveXI want to use MSCOMM32.ocx in powerbuilder. First, run regsver32.exe to
registor it. Then, I use powerbuilder to insert object by OLE. But
messagebox show "ole file is failed, license file is required." I don't
know how to registor it. Help me!!!
regsvr32 MSCOMM32.ocx
assuming you are in the directory that the file resides in.
<Halina> wrote in message
news:640181D0D99A3028002A452185256A7E.002A453285256A7E@webforums...
> I want to use MSCOMM32.ocx in powerbuilder. First, run regsver32.exe to
> registor it. Then, I use powerbuilder to insert object b...
Datawindow web control for ActiveX-printingHello,
We have successfully converted a number of applications to run on our
intranet
using the Datawindow web control for Activex in conjunction with webpb.
One problem that we have hit a wall with is printing:
In native PB we have used controls which allow printing the current
page,
a range of pages, or the complete datawindow.
Does anyone know a way of including the above functionality using the
Datawindow web control for Activex.
The window.object.Print() function prints the whole contents of the
datawindow.
Thanks
Mike.Harris@jacobs.com
...