hi Gummy
I have one problem. I don't know how to embed a SQL report (2000) onto
window form(VS2003), I do some research, a lot of information is
VS2005. I think you are done before.
Can you give me some information or sample code.
I really need you help.
Thanks so much.
-AlberYour best choice for this is to use URL integration. Embed a IE browser
control, then create the appropriate URL for the reports you want to show. I
have done this and it works well.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
<lgxdo@.yahoo.com> wrote in message
news:1175188629.964581.98010@.y66g2000hsf.googlegroups.com...
> hi Gummy
> I have one problem. I don't know how to embed a SQL report (2000) onto
> window form(VS2003), I do some research, a lot of information is
> VS2005. I think you are done before.
> Can you give me some information or sample code.
> I really need you help.
> Thanks so much.
> -Alber
>|||Dear Bruce,
Thanks so much. Can you give me a simple code? I create a form and add
a button to the form. And :
-->
private AxSHDocVw.AxWebBrowser axWebBrowser1;
private void button1_Click_1(object sender, System.EventArgs e)
{
object o="";
axWebBrowser1.Navigate("http://gp-ecomm/reportserver/misc/
bbitems",ref o, ref o, ref o,ref o);
}
-->
debug Error:
An unhandled exception of type 'InvalidActiveXStateException' occurred
in axinterop.shdocvw.dll
I am no idea about this.:(
Can you fix it'
Thanks so much.
Alber|||What I have always done is embed an Web browser control in a form. That
isn't what you are doing in the supplied code below.
Also I suggest trying a URL in IE and make sure it works and just copy and
paste into your code and use that for a test.
Indeed, you can start off with showing any website first. If you google you
can find VB code that does this.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
<lgxdo@.yahoo.com> wrote in message
news:1175376498.129336.290910@.y66g2000hsf.googlegroups.com...
>
> Dear Bruce,
> Thanks so much. Can you give me a simple code? I create a form and add
> a button to the form. And :
> -->
> private AxSHDocVw.AxWebBrowser axWebBrowser1;
> private void button1_Click_1(object sender, System.EventArgs e)
> {
> object o="";
> axWebBrowser1.Navigate("http://gp-ecomm/reportserver/misc/
> bbitems",ref o, ref o, ref o,ref o);
> }
> -->
> debug Error:
> An unhandled exception of type 'InvalidActiveXStateException' occurred
> in axinterop.shdocvw.dll
> I am no idea about this.:(
> Can you fix it'
> Thanks so much.
> Alber
>
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment