OLE Control vs OLE dw object vs OLE Column in dw objectDear all,
I'm using PB 6.5.1 with PFC. I'm trying to right Mail Merge like
function in a system. Thus, we've to keep the merged document into
history for later referece. I'm wondering the difference between OLE
Control vs OLE dw object vs OLE Column in dw object??? Can anyone give
some ideas on the above and what is the usage of it??
On the other hand, I'm wondering whether I'm using the RTE dw object for
mail merge and then save the whole content into a OLE Database blob
column, or using OLE control to MS Word + using DDE to transfer the data
to MS Word?? ...
OLE Object properties of type OLE ObjectI have 2 ocx's, both of which have a property of type OLEObject. One object
initializes this property, the other one then needs to use it. However I
cannot make an assignment like this work :
ole_2.Object.Session = ole_1.Object.Session
Session is the property name of the type OLEObject property for both ocx's.
Any suggestions or help would be greatly appreciated!!
Thanks,
Ian Foutz
ifoutz@kpmg.com
...
OLE Custom Control vs. OLE ControlI am using PB 6.0, and am hoping someone can explain something to me.
I created a Standard Visual user object based on the olecontrol class
(referencing Word). This is called an OLE Custom Control, or at least that's
what the properties window says.
Why is this different than a regular OLE control? Why is the objectdata
attribute not valid? Why are some of the events missing (i.e. close, save, and
rename)? These events automatically are included in a regular OLE control.
Seems odd to me that you can't inherit from the base olecontrol object, but then
again, OLE in gen...
Why does OLE Control work but OLE Object doesn't ?I am trying to deploy a third party ActiveX/OCX in a PowerBuilder NVO (for
EAServer).
Placing an OLE Control on a window works fine. I can access object
properties etc.
Using an OLEObject and ConnectToNewObject should accomplish the same result
(as per PB documentation)
These two code segments should work identically, but the second (which I
need to work) produces "Error accessing external object property" error
// 1. OLE control placed on a window
ole_1.Object.Timeout = 1000
// 2. ActiveX control placed on a window
OLEObject ole_obj
ole_obj = CREATE OLEObj...
OLE/WORD97 PRINTING OLE CONTROL?I have an ole control(ole_1) on a response window that contains a MS WORD
document. Since it doesn't merge the FILE menu option with Inplace
activation, I created a Print button on the window to print the WORD
document inside the ole control. However, I haven't been able to
successfully do this.
What is the correct syntax for printing an ole control WORD document.
I have tried the following with no luck:
ole_1.object.PrintOut()
ole_1.object.application.ActiveDocument.Printout()
ole_1.object.ActiveDocument.Printout()
Thank You,
Jason
Try this:
ole_1.ActiveDoc...
Get data from ole object in ole datawindowCould anybody tell me how to get data (like blob myblob =
ole_1.objectdata) .But in my case is ole datawindow which has a column
is ole object. I try to updateblob using data(bitmap in painbrush)
from ole object in datawindow.
Thanks.
You don't need to use updateblob with ole column objects in datawindows, it
is done automatically. Check out Table Blob objects in the online help for
details (NB these are broken in builds of 7.0.2 after 8030, but mended in
7.0.3)
S.
--
Simon Caldwell
Get Real Systems Ltd
Holtby Manor, Stamford Bridge Road, York, YO19 5LL
Tel 01904 481999 F...
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
...
How to create a range object in Powerbuilder (Word97 ole)Can anybody tell me how to declare a range object (using an ole object
communicating with Word'97) in Powerbuilder. Preferably with a code example.
Thanks a lot.
Robert
---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp
I'm not quite sure I understand what you mean by a 'range object'. can you
elaborate further?
"Robert Christiaanse" <rwc@hetnet.nl> wrote in message
news:RH0LZmGhAHA.309@forums.sybase.com...
> Can anybody tell me how to declare a range object (using an ole object
> ...
OLE objects, Newbie using OLE demo tableWhat's up with the inplace and offsite activation? More specifically if
I tie events to the itemchanged event of a datawindow using either
inplace or offsite, both open offsite! What's up with that? Ok, here's
the kicker, when I put those same commands in the double-clicked event
of the datawindow I get the error "Error accessing external object
property activate at line 10 in double-clicked event of object dw_word
of dw_word."
Thanks,
Christian
GOT IT!
http://techinfo.sybase.com/css/techinfo.nsf/DocID/ID=42411
-Christian
Christian wrote:
&g...
ole control not in ole listUsing PB 7.0. I have an OLE control registered which is not in my list of
ole objects which are available to be inserted onto a window. Here's the
catch. While the control, nethubp.dll, is located in the win\system folder
and registered, inorder to use the control properly, I have to go into the
oleviewer and remove the "Path To Implementation". This is because at
runtime, the dll is accessed from my server, not on the local computer. I
can find the control up until I remove the Implementation Path. Any
suggestion? The control works fine in a VB app. I need help AS...