April 2007 Entries
This post is primarily for Steve since he has been bugging me about it. (Forgive the VB, but this is what I did the demos in). Steve doesn't like doing SQLRS, but personally, I'd like to do more of it. I just can't seem to come up with any clients that want to do it. Any way, here is the process of creating the PDF without using the Report Viewer. Create a reference to the Reporting Services Web Services then get a variable reference for it: Dim ws As New SQLRS.ReportingService Dim creds As New System.Net.NetworkCredential...
Here are a couple of things that I have read or heard in the past, but I needed them again this last week. Therefore, I thought I'd blog them so I know where to find them next time. 1) Disable the ability to request WSDL definitions from ASP.NET web services. Typically this is done by typing "?wsdl" after the web service (http://…webservice.asmx?ws... You may want to turn this off in a production environment. To do so, add the following to your web.config: <webServices> <protocols> <remove...
I had been using the "Insert Paste from Visual Studio" as a plugin for Windows Live Writer. Well, I found out today while changing blog skins that that particular plugin messes with the background styles and whopper-jaws the whole mess. So I went looking for another way to do code in Live Writer. I found this great plugin called "Insert Code Snippet..." It brings up a dialog window and allows me to pick the language for the code formatting. The cool thing about this is that I am not tied to what...
I learned something today about linking Outlook tasks to OneNote. I can't vouch if this works for 2003, but it sure works great for 2007. So anyway, there's a button in the toolbar that looks just like the little flags in Outlook. You can also hotkey these by pressing CTRL+Shift+1 through 5. This automatically creates an Outlook task. If you open up the Task in Outlook, you see a direct link back to the OneNote post. Here's how I am using it. I am sitting in a meeting taking notes on my tablet. A...
I've slacked off on posting this, and I know that attendees bloggin about an event is a big part of these community events not having to spend big money on advertising. So here it is (and I'm not just attending, I am speaking too): Click the image to find out more
After beating myself over the head a couple of times this week, I finally found a solution to doing what I wanted to in regards to Web Services and Inheritance/Interface serialization issues. Basically what I wanted to do is to create something along the lines of: public abstract class Response { } public class ZipResponse : Response { } public class StateResponse : Response { } Ultimately what I wanted to do was get a single webservice definition that looked like this: [WebMethod] public Response...