Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
jhermiz
3564 Posts |
Posted - 2006-02-07 : 08:59:20
|
I have used TechSmith's API to integrate snag-it into a client application to take screen captures. But the issue is the end user must have snag it installed on their PC to get it working..So I said forget snag it...my next problem was the application is a web based application. I'd like to be able to allow end users to capture screens / regions directly from my web app, but I don't want to reinvent the wheel. Does anyone have any sample code for this ?Thanks,JonPS: App is sql 2k back end, asp.net web app using vb.net Keeping the web experience alive -- [url]http://www.web-impulse.com[/url]RS Blog -- [url]http://weblogs.sqlteam.com/jhermiz[/url] |
|
Kristen
Test
22859 Posts |
Posted - 2006-02-07 : 10:19:51
|
Couple of thoughts. Neither of them particular brilliant I'm afraid!We use a Printer Driver thingie that creates a JPG of the application's screen. (We actually use this to capture pictures of the application during regression testing and compare the new picture with a "gold master" to detect changed). Users would have to have the appropriate printer driver (which I think costs a few $$), but it could probably be triggered by a PRINT type button in the application.If its of any interest I can dig out the name of the Printer-Driver-to-JPEG thingie that we useSecondly, the folk at FogCreek [who have a bug tracking application called FogBugz] have an integrated "Get a screen grab and upload it with your bug report" type thingie. Don't know much about it, except that I happened to read that someone had adapted it to use SnagIt's API (i.e. using SnagIt as a COM server) ... so if you haven't completely given up on SnagIt this article might have some insights:http://www.structured-solutions.net/FogBugzAndSnagItMashup.aspxKristen |
 |
|
jhermiz
3564 Posts |
Posted - 2006-02-07 : 11:01:39
|
quote: Originally posted by Kristen Couple of thoughts. Neither of them particular brilliant I'm afraid!We use a Printer Driver thingie that creates a JPG of the application's screen. (We actually use this to capture pictures of the application during regression testing and compare the new picture with a "gold master" to detect changed). Users would have to have the appropriate printer driver (which I think costs a few $$), but it could probably be triggered by a PRINT type button in the application.If its of any interest I can dig out the name of the Printer-Driver-to-JPEG thingie that we useSecondly, the folk at FogCreek [who have a bug tracking application called FogBugz] have an integrated "Get a screen grab and upload it with your bug report" type thingie. Don't know much about it, except that I happened to read that someone had adapted it to use SnagIt's API (i.e. using SnagIt as a COM server) ... so if you haven't completely given up on SnagIt this article might have some insights:http://www.structured-solutions.net/FogBugzAndSnagItMashup.aspxKristen
Cant use the printer driver idea, and I'm not a fan of fog bugz we've used a demo of that in the past and it doesn't have the look and feel that we like. I cant use snag it because that was sitting on a client application, plus the end user needed a licensed copy. Maybe I'm shooting too far, I guess having the user click print screen isn't such a bad idea.Jon Keeping the web experience alive -- [url]http://www.web-impulse.com[/url]RS Blog -- [url]http://weblogs.sqlteam.com/jhermiz[/url] |
 |
|
jhermiz
3564 Posts |
Posted - 2006-02-07 : 12:10:18
|
Getting closer...How can I digitally sign it..or at least avoid this:"The application attempted to perform an operation not allowed by the security policy. The operation required the SecurityException. To grant this application the required permission please contact your sys admin or use the Microsoft. NET security policy administration tool."Where exactly can I find the policy admin tool ? Keeping the web experience alive -- [url]http://www.web-impulse.com[/url]RS Blog -- [url]http://weblogs.sqlteam.com/jhermiz[/url] |
 |
|
jhermiz
3564 Posts |
Posted - 2006-02-07 : 14:31:53
|
I used makecert and the sn.exe strong name tools but that doesn't seem to work. AS I opened IE up to look at my trusted publishers I see the one I created, but how do I associate that certificate to the EXE that I want to run. Basically a dialog comes up saying that the source is not trusted and the Publisher is UNKNOWN. I want to avoid this message or at least set the publisher of that EXE to myself so that others know to trust it.Ugh...this is getting ugly. Where's MichaelP when you need him? Keeping the web experience alive -- [url]http://www.web-impulse.com[/url]RS Blog -- [url]http://weblogs.sqlteam.com/jhermiz[/url] |
 |
|
Kristen
Test
22859 Posts |
Posted - 2006-02-08 : 03:16:39
|
I think if you make your own certificate it won't be trusted - until you explicitly say [i.e. on each machine] that you will trust it.However, I presume the workaround to that is to "buy" a certificate from VeriSign, or somesuch, which will inherently be in the "trusted" list on all your client's PCsKristen |
 |
|
|
|
|
|
|