Ask a Question related to ASP.NET General, Design and Development.
-
bruce barker #1
Re: Using MS Com Object from VS.NET
you don't.
the example shows the chart control being hosted by IE and its ado data
binding. because its a windows control, it can not be hosted by asp.net
(server side). you probably can bind to an xml source, by use of client side
ado and loading a recordset from a aspx page that returned the desired xml.
-- bruce (sqlwork.com)
"Terry Spencer" <T.Spencer@hp.com> wrote in message
news:0c6801c355e6$d082fbf0$a401280a@phx.gbl...> Hi:
>
> I must be mentally missing something because I think this
> should be more straight forward. I'm trying to use the
> Office XP Chart component. I basically am trying to get
> the sample from the Knowledge Base Article 288907 -
> Binding the Office XP Chart Component to a Data Source to
> work not as a .htm page but as a .apsx with a vb code
> behind page in VS.NET.
>
> In my project I added a reference to the MS Office 10.0
> Object Libray. This created a Interop.OWC10.DLL in my bin
> directory. So far - so good??
>
> I customized my Toolbox by adding MS Office Chart10. This
> created a Chartspace icon on the Web Forms section of the
> toolbox. Is ok? I then dropped this onto the .aspx page
> and gave it an id "("Chart"). I can set properties,...
> Appears to work ok.
>
> On my code behind page, I imported OWC10.
>
> And now, how do I get to the Chart object on the apsx page
> from this code behind page? Do I have to @Register
> something?
>
> Please - whoever answers - I need a "For Dummies"
> response. I have read more white papers and tried more
> alternatives than I care to count.
>
> A huge thanks in advance!
>
> Terry
>
bruce barker Guest
-
Dynamically loading user control into Placeholder gives Object reference not set to an instance of an object
I've created user controls that contain listboxes that are dynamically populated from the database. In the html view of the user control... -
webservice.htc and custom object array. only first object is deserialized in the result.value
Hello I've been using webservice.htc for 6 months or so with great results. recently i came into the following problem that I am not sure how to... -
Strange error from: Dim myState As Object() = CType(savedState, Object())
Every book and every website I've seen that talks about how to save state for child controls in a composite webcontrol says to do something like... -
[WebMethod] System.NullReferenceException: Object reference not set to an instance of an object.
Um, this isn't going to work, generally. Web services, as any web app (especially on Windows server 2003) are heavily sandboxed. The method you... -
Cannot serialize object of type System.Object[,]. Multidimensional arrays are not supported
Hi, I get this on server when trying to retun a 2 dim array. I apprecaite that they are not supported as per... -
Terry Spencer #2
Re: Using MS Com Object from VS.NET
Hi Bruce:
Hmmm... I'm certainly no technical guru but I have some papers that say
I can access COM components by creating Rntime Callable Wrappers - which
is all done for me by VS.NET when I add a reference to a COM library in
my VS.NEt project. I can access adodb objects (like good old fashioned
recordsets) from the adodb.dll in the code behind doing this. I have
even created ChartSpace objects in the code behind page doing this. I
just can't figure out how to get the ChartSpace object to render any
visual output.
Or am I just totally confused??
Terry
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Terry Spencer Guest



Reply With Quote

