Consulta sobre Reportin Services 2000

15/06/2006 - 12:02 por Erick | Informe spam
Buenas Quisiera saber como poder mi reporte creado conreporting
services 2000
dentro de una aplicacion Windows,que control se usa y como se enlaza el
control
con el reporte.

He estado buscando esto pero no encuentro lo que quiero, porque todos
los reportes
que ejecuto me salen en el IE.pero yo quisiera saber si lospeudo ver
desde un
windows form.

Gracias de antemano por su ayuda

Preguntas similare

Leer las respuestas

#1 Miguel Egea
15/06/2006 - 15:57 | Informe spam
Bueno, en .NET 2.0 ya hay controles específicos para esto, en 2000 tienes
que usar un browser, el propio explorer te dá un control de ese tipo (hace
tiempo que no lo uso así que no recuerdo el nombre de la librería) pero esa
es la idea, embeber un explorer. En el método navigateto le pasas la url
incluidos los parámetros y listo, lo renderizas en tu página.

Saludos
miguel Egea
"Erick" escribió en el mensaje
news:
Buenas Quisiera saber como poder mi reporte creado conreporting
services 2000
dentro de una aplicacion Windows,que control se usa y como se enlaza el
control
con el reporte.

He estado buscando esto pero no encuentro lo que quiero, porque todos
los reportes
que ejecuto me salen en el IE.pero yo quisiera saber si lospeudo ver
desde un
windows form.

Gracias de antemano por su ayuda

Respuesta Responder a este mensaje
#2 Gustavo Larriera [MVP]
15/06/2006 - 19:18 | Informe spam
Pego fragmento de código que alguna vez usé para incrustar el IExplorer en
un formulario Winform.

Public Class Form1
Inherits System.Windows.Forms.Form

#Region " Windows Form Designer generated code "

Public Sub New()
MyBase.New()

'This call is required by the Windows Form Designer.
InitializeComponent()

'Add any initialization after the InitializeComponent() call

End Sub

'Form overrides dispose to clean up the component list.
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub

'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer

'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
Friend WithEvents AxWebBrowser1 As AxSHDocVw.AxWebBrowser
Friend WithEvents TextBox1 As System.Windows.Forms.TextBox
Friend WithEvents Button1 As System.Windows.Forms.Button
<System.Diagnostics.DebuggerStepThrough()> Private Sub
InitializeComponent()
Dim resources As System.Resources.ResourceManager = New
System.Resources.ResourceManager(GetType(Form1))
Me.AxWebBrowser1 = New AxSHDocVw.AxWebBrowser
Me.TextBox1 = New System.Windows.Forms.TextBox
Me.Button1 = New System.Windows.Forms.Button
CType(Me.AxWebBrowser1,
System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'AxWebBrowser1
'
Me.AxWebBrowser1.Enabled = True
Me.AxWebBrowser1.Location = New System.Drawing.Point(32, 56)
Me.AxWebBrowser1.OcxState =
CType(resources.GetObject("AxWebBrowser1.OcxState"),
System.Windows.Forms.AxHost.State)
Me.AxWebBrowser1.Size = New System.Drawing.Size(616, 272)
Me.AxWebBrowser1.TabIndex = 0
'
'TextBox1
'
Me.TextBox1.Location = New System.Drawing.Point(32, 16)
Me.TextBox1.Name = "TextBox1"
Me.TextBox1.Size = New System.Drawing.Size(280, 20)
Me.TextBox1.TabIndex = 1
Me.TextBox1.Text = "http://www.google.com"
'
'Button1
'
Me.Button1.Location = New System.Drawing.Point(312, 16)
Me.Button1.Name = "Button1"
Me.Button1.TabIndex = 2
Me.Button1.Text = "Button1"
'
'Form1
'
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.ClientSize = New System.Drawing.Size(680, 333)
Me.Controls.Add(Me.Button1)
Me.Controls.Add(Me.TextBox1)
Me.Controls.Add(Me.AxWebBrowser1)
Me.Name = "Form1"
Me.Text = "Form1"
CType(Me.AxWebBrowser1,
System.ComponentModel.ISupportInitialize).EndInit()
Me.ResumeLayout(False)

End Sub

#End Region

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click

Dim loc As Object = Me.TextBox1.Text
Dim null_obj_str As Object = ""
Dim null_obj As Object = 0

Me.AxWebBrowser1.Navigate2(loc, null_obj, null_obj, null_obj_str,
null_obj_str)

End Sub
End Class


Gustavo Larriera, MVP SQL
Uruguay LatAm
Blog: http://sqljunkies.com/weblog/gux/
MVP profile: http://aspnet2.com/mvp.ashx?GustavoLarriera
Este mensaje se proporciona "COMO ESTA" sin garantias y no otorga ningun
derecho / This posting is provided "AS IS" with no warranties, and confers
no rights.

"Miguel Egea" wrote in message
news:%
Bueno, en .NET 2.0 ya hay controles específicos para esto, en 2000 tienes
que usar un browser, el propio explorer te dá un control de ese tipo (hace
tiempo que no lo uso así que no recuerdo el nombre de la librería) pero
esa es la idea, embeber un explorer. En el método navigateto le pasas la
url incluidos los parámetros y listo, lo renderizas en tu página.

Saludos
miguel Egea
"Erick" escribió en el mensaje
news:
Buenas Quisiera saber como poder mi reporte creado conreporting
services 2000
dentro de una aplicacion Windows,que control se usa y como se enlaza el
control
con el reporte.

He estado buscando esto pero no encuentro lo que quiero, porque todos
los reportes
que ejecuto me salen en el IE.pero yo quisiera saber si lospeudo ver
desde un
windows form.

Gracias de antemano por su ayuda





Respuesta Responder a este mensaje
#3 Miguel Egea
16/06/2006 - 10:05 | Informe spam
Justo ese era el objeto, ¡Gracias Gustavo!

Saludos
"Gustavo Larriera [MVP]" escribió en el mensaje
news:e43M5%
Pego fragmento de código que alguna vez usé para incrustar el IExplorer en
un formulario Winform.

Public Class Form1
Inherits System.Windows.Forms.Form

#Region " Windows Form Designer generated code "

Public Sub New()
MyBase.New()

'This call is required by the Windows Form Designer.
InitializeComponent()

'Add any initialization after the InitializeComponent() call

End Sub

'Form overrides dispose to clean up the component list.
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub

'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer

'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
Friend WithEvents AxWebBrowser1 As AxSHDocVw.AxWebBrowser
Friend WithEvents TextBox1 As System.Windows.Forms.TextBox
Friend WithEvents Button1 As System.Windows.Forms.Button
<System.Diagnostics.DebuggerStepThrough()> Private Sub
InitializeComponent()
Dim resources As System.Resources.ResourceManager = New
System.Resources.ResourceManager(GetType(Form1))
Me.AxWebBrowser1 = New AxSHDocVw.AxWebBrowser
Me.TextBox1 = New System.Windows.Forms.TextBox
Me.Button1 = New System.Windows.Forms.Button
CType(Me.AxWebBrowser1,
System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'AxWebBrowser1
'
Me.AxWebBrowser1.Enabled = True
Me.AxWebBrowser1.Location = New System.Drawing.Point(32, 56)
Me.AxWebBrowser1.OcxState =
CType(resources.GetObject("AxWebBrowser1.OcxState"),
System.Windows.Forms.AxHost.State)
Me.AxWebBrowser1.Size = New System.Drawing.Size(616, 272)
Me.AxWebBrowser1.TabIndex = 0
'
'TextBox1
'
Me.TextBox1.Location = New System.Drawing.Point(32, 16)
Me.TextBox1.Name = "TextBox1"
Me.TextBox1.Size = New System.Drawing.Size(280, 20)
Me.TextBox1.TabIndex = 1
Me.TextBox1.Text = "http://www.google.com"
'
'Button1
'
Me.Button1.Location = New System.Drawing.Point(312, 16)
Me.Button1.Name = "Button1"
Me.Button1.TabIndex = 2
Me.Button1.Text = "Button1"
'
'Form1
'
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.ClientSize = New System.Drawing.Size(680, 333)
Me.Controls.Add(Me.Button1)
Me.Controls.Add(Me.TextBox1)
Me.Controls.Add(Me.AxWebBrowser1)
Me.Name = "Form1"
Me.Text = "Form1"
CType(Me.AxWebBrowser1,
System.ComponentModel.ISupportInitialize).EndInit()
Me.ResumeLayout(False)

End Sub

#End Region

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click

Dim loc As Object = Me.TextBox1.Text
Dim null_obj_str As Object = ""
Dim null_obj As Object = 0

Me.AxWebBrowser1.Navigate2(loc, null_obj, null_obj, null_obj_str,
null_obj_str)

End Sub
End Class


Gustavo Larriera, MVP SQL
Uruguay LatAm
Blog: http://sqljunkies.com/weblog/gux/
MVP profile: http://aspnet2.com/mvp.ashx?GustavoLarriera
Este mensaje se proporciona "COMO ESTA" sin garantias y no otorga ningun
derecho / This posting is provided "AS IS" with no warranties, and confers
no rights.

"Miguel Egea" wrote in message
news:%
Bueno, en .NET 2.0 ya hay controles específicos para esto, en 2000 tienes
que usar un browser, el propio explorer te dá un control de ese tipo
(hace tiempo que no lo uso así que no recuerdo el nombre de la librería)
pero esa es la idea, embeber un explorer. En el método navigateto le
pasas la url incluidos los parámetros y listo, lo renderizas en tu
página.

Saludos
miguel Egea
"Erick" escribió en el mensaje
news:
Buenas Quisiera saber como poder mi reporte creado conreporting
services 2000
dentro de una aplicacion Windows,que control se usa y como se enlaza el
control
con el reporte.

He estado buscando esto pero no encuentro lo que quiero, porque todos
los reportes
que ejecuto me salen en el IE.pero yo quisiera saber si lospeudo ver
desde un
windows form.

Gracias de antemano por su ayuda









email Siga el debate Respuesta Responder a este mensaje
Ads by Google
Help Hacer una preguntaRespuesta Tengo una respuesta
Search Busqueda sugerida