One last thought - may not be applicable to you, but I'll throw it out there. We recently installed the beta version of Crystal 11 which, it turns out, made all sorts of changes to Studio. Among other things, it replaced the crystal viewer component and it would no longer work with older...
Did you create the report using Crystal 10 and are trying to open it with VB.Net? I usually create the reports in the .Net environment. The one time I tried to use a report created in Crystal, I was unable to access the formulas and other formatting within Visual Studio.
Can you try to...
Hi,
Can you post some code? As Sweep asked, does the report exist on the local machine? Where is the database? Does it exist on the local machine, as well?
Are you updating the dataset right before you try to use it as the report source? I have received this message at times when I don't fill the dataset before using it as the report source.
Thanks ca8msm. I appreciate the input. Since our sysadmin is pushing for a rewrite (due to deployment problems with the DHTML app), I will probably rewrite it in ASP.NET.
Hi all,
I am in need of opinions. I have a fairly large DHTML application that needs to be deployed on a machine running XP Service Pack 2. Naturally, the application won't run as is. I have been told that time is not the issue, efficiency is (the old DHTML project was only successfully...
Hi, this works for me.
Dim pwd As Object = "password"
xlsheet.Protect(pwd)
But don't add the protection until you are finished writing your data to it.
What version of Word are you writing to? I seem to recall having a similar issue awhile back and it was due to a bug in Word 97. When we upgraded the machine to Office 2000, the problem disappeared.
What version of Word are you writing to? I recall having a similar issue awhile back and it was due to a bug in Word 97. When we upgraded the machine to Office 2000, the problem disappeared.
Hi,
Hope this clarifies it.
Imports CrystalDecisions.CrystalReports.Engine
Dim oRpt As New ReportDocument
'Load your report
oRpt.Load("c:\YourDirectory\fileName.rpt")
'Set the source for your viewer
CrystlReportViewer1.ReportSource = oRpt
'Save the report...
Hi, try setting up a ReportDocument object and use its ExportToDisk method:
Dim oRpt As New ReportDocument
oRpt.ExportToDisk(CrystalDecisions.[Shared].ExportFormatType.WordForWindows, "c:\Program Files\reportname.doc")
Hope this helps.
I'm not sure if this will help, but I've used this to copy to and paste from the clipboard in a Windows application.
Clipboard.SetDataObject(txtMyData.text)
Dim valueObj As DataObject = Clipboard.GetDataObject
Dim dataString As String
If valueObj.GetDataPresent(DataFormats.Text) = True Then...
Hi, hope this helps:
Dim xlapp As Excel.Application
Dim xlbook1 As Excel.Workbook
xlapp = CType(CreateObject("Excel.Application"), Excel.Application)
xlbook1 = CType(xlapp.Workbooks.Open("c:\data\Reports\Switch1.xls"), Excel.Workbook)
I am having the same issue. I created an assembly for dtspkg.dll and successfully registered that on the target machine (using the instructions here: http://support.microsoft.com/default.aspx?scid=kb;en-us;326909 ), but I still get the unregistered message when trying to run the DTS package via...
Are you able to do a replace on the string before you assign it to a cell?
myString = myString.Replace(vbCrLf, vbLf)
or
myString = myString.Replace(Chr(13), "")
I find the tag property helpful here.
For Each cntrl In Me.Controls
If CType(cntrl.Tag, String) = "userInput" Then
'do something
End If
Hope this helps.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.