Click here to Skip to main content
15,879,535 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Why does Microsoft do this or am I missing something:Keypress event missing in VB.NET 2008 Pin
Johan Hakkesteegt23-Jul-09 21:26
Johan Hakkesteegt23-Jul-09 21:26 
AnswerRe: Why does Microsoft do this or am I missing something:Keypress event missing in VB.NET 2008 PinPopular
Christian Graus23-Jul-09 21:37
protectorChristian Graus23-Jul-09 21:37 
QuestionStructure in listbox Pin
Chandrasekharan P23-Jul-09 19:18
Chandrasekharan P23-Jul-09 19:18 
AnswerRe: Structure in listbox Pin
Christian Graus23-Jul-09 19:35
protectorChristian Graus23-Jul-09 19:35 
GeneralRe: Structure in listbox [modified][RESOLVED] Pin
Chandrasekharan P23-Jul-09 19:49
Chandrasekharan P23-Jul-09 19:49 
GeneralRe: Structure in listbox [modified][RESOLVED] Pin
Christian Graus23-Jul-09 21:46
protectorChristian Graus23-Jul-09 21:46 
QuestionOutlook Share Add-In setup Working On Vista but not in Window XP Pin
dcdhingra23-Jul-09 16:37
dcdhingra23-Jul-09 16:37 
QuestionVB.NET Reports on web service Pin
Rick_Mutimer23-Jul-09 14:04
Rick_Mutimer23-Jul-09 14:04 
Hi,

I am not sure if this is the right location for the question but if not then apologies in advance.

We have a VB2005 web app that dynamically creates a report, renders it as a PDF and saves it to a local location on the server without displaying it to the user. We use rdlc files and the report designer in VS2005 NOT crystal reports. The web site uses ASP.NET 2, IIS7 and 2008. This web app works fine and is reliable. I would like to be able to create this same report and save it locally on the server via a web service call from a windows app. I have taken the code from the web page that performs the job now which does include a report viewer control and put it into a web service and when the local report object tries to add the report data source then it fails with a SOAP exception (null object reference).

I have provided a list of part of the code below. We use an xml file as the data source and load that into a dataset via LoadDDR call. CCA_DataTable1 exists in the local App_Code Folder.

ds4.WriteXml(xmlfile, XmlWriteMode.WriteSchema)
dp4.Dispose()
ds4.Dispose()

Dim rp1 As New Microsoft.Reporting.WebForms.LocalReport
Dim repdatsce = New ReportDataSource("CCA_DataTable1", LoadDDR(xmlfile))

"below is the line that fails with the null exception"

rp1.DataSources.Add(repdatsce)
rp1.ReportPath = "CCA1.rdlc"

etc etc

It may be that a local report requires a report viewer control on a page/form to operate correctly and therefore will not work via a web service (SOAP) call. I would be grateful for any suggestions anyone has to offer to overcome this problem - Thank You in advance.
QuestionCharSet issue with CDOSys Pin
Manas Bhardwaj23-Jul-09 10:58
professionalManas Bhardwaj23-Jul-09 10:58 
QuestionCrystal reports [modified] Pin
Ghost_80723-Jul-09 10:24
Ghost_80723-Jul-09 10:24 
QuestionHow to access the textbox data embedded in a datalist Pin
MacIntyre23-Jul-09 9:01
MacIntyre23-Jul-09 9:01 
QuestionHi there. Looking for help on a vb project. Pin
malcomhfc23-Jul-09 3:27
malcomhfc23-Jul-09 3:27 
AnswerRe: Hi there. Looking for help on a vb project. Pin
David Mujica23-Jul-09 3:38
David Mujica23-Jul-09 3:38 
GeneralRe: Hi there. Looking for help on a vb project. Pin
DoctorMick23-Jul-09 5:36
DoctorMick23-Jul-09 5:36 
AnswerRe: Hi there. Looking for help on a vb project. Pin
Jabbar_espania2-Aug-09 11:03
Jabbar_espania2-Aug-09 11:03 
GeneralRe: Hi there. Looking for help on a vb project. Pin
malcomhfc8-Aug-09 8:12
malcomhfc8-Aug-09 8:12 
QuestionMicrosoft Outlook: VBA Syntax Errors in Trying to Search for Recipients in E-Mail Message Body Pin
axla22-Jul-09 19:59
axla22-Jul-09 19:59 
Questioncode for automatic select value from ms-excel column Pin
muhammadataulhaqsultani22-Jul-09 17:57
muhammadataulhaqsultani22-Jul-09 17:57 
AnswerRe: code for automatic select value from ms-excel column Pin
Sumit Prakash Sharma22-Jul-09 21:26
professionalSumit Prakash Sharma22-Jul-09 21:26 
GeneralRe: code for automatic select value from ms-excel column Pin
muhammadataulhaqsultani23-Jul-09 16:08
muhammadataulhaqsultani23-Jul-09 16:08 
QuestionMulti-D Array comparisons Pin
Member 437454222-Jul-09 15:18
Member 437454222-Jul-09 15:18 
AnswerRe: Multi-D Array comparisons Pin
Luc Pattyn22-Jul-09 15:47
sitebuilderLuc Pattyn22-Jul-09 15:47 
GeneralRe: Multi-D Array comparisons Pin
Member 437454222-Jul-09 16:09
Member 437454222-Jul-09 16:09 
GeneralRe: Multi-D Array comparisons Pin
Luc Pattyn22-Jul-09 16:10
sitebuilderLuc Pattyn22-Jul-09 16:10 
QuestionHow do I modify a class so you can convert a String to it? Pin
i_kant_spel22-Jul-09 9:48
i_kant_spel22-Jul-09 9:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.