/ Forside / Teknologi / Udvikling / ASP / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
ASP
#NavnPoint
smorch 9259
Harlekin 1866
molokyle 1040
Steffanst.. 758
gandalf 657
smilly 564
gibson 560
cumano 530
MouseKeep.. 480
10  Random 410
ASP & Report Pro
Fra : Humberto Zugasti


Dato : 12-11-01 23:43

Hi,

I'm doing an ASP application, and my reports, and receits are in
Report Pro 3.2. My problem is that I can´t call the customer.rpt from
ASP to print it. Have anyone have tried that before???

The code in VBasic is
Sub RunReport()
Dim oReport As Object
Set oReport = CreateObject("ReportPro.Runtime")
oReport.LoadReport "C:\RP3\SAMPLES\CUSTOMER.RPT"

If oReport.IsValid Then
oReport.PreviewCaption = "My Cool Report"
oReport.PreviewReport
End If

oReport.Close
Set oReport = Nothing

End Sub

My browser don't do anything when I try that on ASP..

Thanks a lot

 
 
Peter Lykkegaard (13-11-2001)
Kommentar
Fra : Peter Lykkegaard


Dato : 13-11-01 20:25


"Humberto Zugasti" <bzugasti@terra.com.mx> wrote in message
news:c31e34a5.0111121443.b125acb@posting.google.com...
> Hi,
>
> I'm doing an ASP application, and my reports, and receits are in
> Report Pro 3.2. My problem is that I can´t call the customer.rpt from
> ASP to print it. Have anyone have tried that before???
>
Without knowing Report Pro I'd gather it's designed for desktop client apps
You could be facing some problems here as IIS are running without
interaction with the desktop
For once you'll to define printers for the default user (copy registry
settings from an interactive user to default user)
You could be facing dcom problems as well

Maybe some M$ article Q184291 could help you troubleshooting your problem

rgds/Peter Lykkegaard



Søg
Reklame
Statistik
Spørgsmål : 177557
Tips : 31968
Nyheder : 719565
Indlæg : 6408868
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste