borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Error: Table not found)Next Topic (craxdrt.dll registration problem) New Topic New Poll Post Reply
AndreaVB Forum : Reporting tools : Changing OLE objects at runtime
Poster Message
Quips
Level: Trainee

Registered: 21-07-2005
Posts: 1

icon Changing OLE objects at runtime

I have a VB Project which executes an external Crystal Report.   Inside of the Crystal Report is an OLE object which is linked to a bmp file.    I need to be able to change the OLE object at runtime.  

I've seen a solution for this problem with the Crystal Report internal to the VB project via the Designer, but I cannot get it to work with an external Crystal Report.

I'm using VB6 with CR9.    Is there a technical solution to this problem with the versions of VB/CR I am using?

Thank you.


22-07-2005 at 12:50 PM
View Profile Send Email to User Show All Posts | Quote Reply
ben.ooi
Level: Trainee

Registered: 01-09-2005
Posts: 3
icon Re: Changing OLE objects at runtime

quote:
Quips wrote:
I have a VB Project which executes an external Crystal Report.   Inside of the Crystal Report is an OLE object which is linked to a bmp file.    I need to be able to change the OLE object at runtime.  

I've seen a solution for this problem with the Crystal Report internal to the VB project via the Designer, but I cannot get it to work with an external Crystal Report.

I'm using VB6 with CR9.    Is there a technical solution to this problem with the versions of VB/CR I am using?

Thank you.







Hi,
i found this in the crystal report example, it may be help...

cOLEObj.SetOleLocation "C:\sample1.bmp"


on the ohters hands, you can view the forum post by shyamrama23, which answer well by Coran. Aeric also post his solution in the forum.


[Edited by ben.ooi on 01-09-2005 at 10:16 AM GMT]
01-09-2005 at 01:45 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Reporting tools : Changing OLE objects at runtime
Previous Topic (Error: Table not found)Next Topic (craxdrt.dll registration problem) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder