Jump to content
Software FX Community

RE: BitStream from a VB COM object


Software FX

Recommended Posts

ChartFX supports a method called OnStartPage that IIS intrinsically invokes (if present) to any object created with Server.CreateObject.

Your VB COM object needs to support OnStartPage and OnEndPage and then invoke our OnStartPage method.

We are beta testing a new GetHtmlDataEx method that will return the image (and optionally the ImageMap) instead of trying to pass it to IIS. This will be added to the next service pack. Let me know if you are interested in beta test it.

Regards,

Juan Cegarra

Software FX, Inc.

support.softwarefx.com

-----Original Message-----

From: Tony Gonzalez [mailto:tony.gonzalez@enform.com]

Posted At: Monday, August 28, 2000 2:28 PM

Posted To: Server

Conversation: BitStream from a VB COM object

Subject: Re: BitStream from a VB COM object

OK,

So, I add the "ASP Object Library" make sure I add the OnStartPage and the

OnEndPage....

How do I "pass to ChartFX a pointer to the IIS IScriptingContext" ?

Is that a hidden member that I'm supposed to pass it to?

Any help on the details on how to implement this VB COM object would be

greatly appreciated...

Thanks,

Tony Gonzalez

"Juan C. Cegarra" <JuanC@softwarefx.com> wrote in message

news:VjsLscuDAHA.1700@sfxserver.softwarefx.com...

When ChartFX outputs the data using GetHtmlData it uses the IResponse

object obtained from IIS. If you develop your own COM object and want to

use GetHtmlData you will have to invoke the OnStartPage method and pass

to ChartFX a pointer to the IIS IScriptingContext. Before destroying the

chart you will have to call OnEndPage.

Regards,

Juan Cegarra

Software FX, Inc.

support.softwarefx.com

-----Original Message-----

From: Tony Gonzalez [mailto:tony.gonzalez@enform.com]

Posted At: Thursday, August 24, 2000 4:54 PM

Posted To: Server

Conversation: BitStream from a VB COM object

Subject: BitStream from a VB COM object

I'm evaluating ChartFX IE 2000 and I want to stream the image to the

browser....

I'm able to do that if I create the Server side object

"ChartFX.WebServer"

and using the GetHmlData instead of the GetHtmlTag... That works

beautiful....

My question is....

I want to create a custom component (in Visual Basic) that in turn

creates

an instance of the ChartFX class which does the GetHtmlData......

I want my ASP page to look like this....

<!-- #include virtual="/Include/CfxIE.inc" --><%

Set myObject = Server.CreateObject("MyApp.MyClass")

myObject.GetHtmlData x,y,"Image"

%>

Thanks,

Tony

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...