OK, I had to add the following function to as asp.net page:
Protected Overrides Sub Render(ByVal writer As System.Web.UI.HtmlTextWriter)
Response.ContentType = "application/ms-excel"
Response.AddHeader("Content-Disposition", "inline;filename=StandardReport.xls")
DataList1.RenderControl(writer)
end sub
This works fine (document opens as an excel spreasheet.) But now I want to modify the page to either output to excel or to regular html (using an if statement for the server-executed code). The problem is since my new subroutine overrides the Render function, I have to specify the content type and header for a normal http/html web page. I'm not sure what to use. So far I have this:
Response.ContentType = "text/html"
Response.AddHeader("Content-Disposition", "what goes here")
I think the first one is correct, but I don't know about the second. Googling has failed me so far because everything I've found is about the non-html exceptions (pef, etc.) Any guesses as to what this should be?
eta: Or I suppose it's possible that the
Protected Overrides Sub Render
messes things up more for http/html and I'd have to do more to fix it, in which case I might just have to have two versions of the page.
eta² OK, I gave up and made two separate pages. Pro'lly a bad idea to tell the compiler, "OK, I want to override this function - no wait, I don't."
On my iBook G4, anytime I start up from a shut down, my skype auto-starts. How can I make it stop doing that?
Right-click the Skype icon in the dock and unselect "open at login." I can't tell you how many times I've accidentally ticked that box for something ridonkulous like Photoshop that I really DON'T need opening every time I turn on the computer.
yeah, it is unchecked there.
On a pc, you could run msconfig and turn it off that way - I assume there's some parallel process for the iBook.
I don't know how to phrase this question.
I have an image I want to streak. If you imagine a selection with a raggedy right side, I want the right hand side of the image to be motions streaks of the selection itself. Does that make sense? Like you've dragged it across the canvas.
I have Paintshop Pro, Gimp, and Adobe CS3, and speak the languages in that order of familiarity.
OK. I gotta go put memory in my Powerbook.
There's a Blur tool in Photoshop, ita. I'd try copying the picture layer, then either use the Blur manually OR use the Filter effects, there's a whole set of blur effects, which includes Motion, IIRC. Then you add a mask to that layer, and either have an abrupt dividing line between the blur and the clear portion, or else put in a gradient black-to-white on the mask so that it comes in gradually.
Look at you, with your crazy schooling mad sskilz!
Will that allow me to effectively drag the right edge of the image along the canvas?