Archive for December, 2004

Crystal Reports in VB .NET

December 10th, 2004

Here I go again. It’s time to integrate a Crystal Report into VB.NET. My current goal is simple. I need to query my database and create a report. I have Crystal Reports v10 installed and working. The first link I found on doing this is at http://www.vbcity.com/forums/faq.asp?fid=15&cat=Crystal+Reports. I am trying to create a Crystal Report control in a Windows forms interface.

1. Created the XSD by adding a new item to the project – Dataset
2. Add a new item to your project – Crystal Report
3. Using the Wizard, design the report – Use the XSD as the data source
4. Create a form with a Crystal Report Viewer on it
5. Create a dataset object with only tables contained in the XSD
6. Use this code to link the dataset, report and ReportViewer

Dim rpt As New resultsReport2
rpt.SetDataSource(resultsDataset)
CrystalReportViewer1.ReportSource = rpt

These are the basics. Unfortunately, I have a massive dataset and I keep getting out of memory errors. If I only select 500 rows, the report works but it takes forever to load.

UPDATE: I gave up and bought a book (300+ pages). Apparently this subject is much more complex than just learning a few tips form a web page. I headed down to SoftPro and picked up Professional Crystal Reports for Visual Studio .NET by David McAmis ISBN 0-7645-5730-0, This is another Wrox book which I usually don’t like but Amazon readers seemed to rate it highly enough and there isn’t an alternative Microsoft Press book so it’s reading time. Since I was already there and need a better grasp on resusable code, I picked up OOP: Building Reusable Components with Microsoft Visual Basic .NET ISBN 0-7356-1379-6. I am looking forward to reading this one. It’s another Microsoft Press so I know they are standardized on the coding conventions.

New Cell Phones (Motorola MPx220)

December 6th, 2004

We went to Best Buy last night and I am still not sure which way to go. The phone guy we talked to said he wouldn’t recommend the Motorola MPx220 because of the speaker and microphone issues with it (way too quiet, you physically can’t hear the ring 1 ft away in a loud room). He thinks the Motorola 551 is a much better choice. Definitely not as feature rich and I would really dig a phone that I could write apps for myself. We will see if they get the 1.30 firmware phones out while a good set of rebates is on.

The Vonage Saga

December 6th, 2004
Tried Vonage out about 6 months ago, not working so great these days. I am doing webex demo's and the since there is no bandwidth shaping, my voice quality is dying out when I send alot of data out (screen updates during demos). I ordered AT&T Callvantage since Nick recommended it and the box can sit outside the firewall without hanging (like the Vonage MTA) and does traffic shaping to guarantee bandwidth for the voice portion. I tried a tc script from http://www.vonage-forum.com/ftopic1104.html to see if that would resolve the problem but it continues to be a problem. Unfortunately AT&T only supports single line so the business line will have to stay on Vonage until they iron out that issue. Vonage also forgot to cancel my line with Qwest so they have been charging me $30/mo since I switched for basically nothing but a forwarding line. I may be getting a refund for these costs from Vonage according to an email I got today:

Dear Customer,
Thank you for contacting Vonage.
In responses to your question, currently we are working on your request. Once the transfer has been completed you will be issued credit for the time lost after the 20 business days.
Please let us know if we may be of any further assistance.
Sincerely
Mark
www.vonage.com
1-VONAGE-HELP

Keeping my fingers crossed.

Skype with Dave

December 6th, 2004

Working with Dave on Skype today. Seems that the Mac OS X client isn’t working quite correctly. It seems that Skype out works fine but we are getting errors Skype to Skype (OS X-> WinXP clients). Nothing on the basic NG search helps. I will keep looking.

WordPress Appliance - Powered by TurnKey Linux