Click here to Skip to main content
15,890,512 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Problem when loading UIElementCollection using XamlReader Pin
Pete O'Hanlon10-Aug-09 22:04
mvePete O'Hanlon10-Aug-09 22:04 
GeneralRe: Problem when loading UIElementCollection using XamlReader Pin
Veerendranadh10-Aug-09 22:16
Veerendranadh10-Aug-09 22:16 
GeneralRe: Problem when loading UIElementCollection using XamlReader Pin
Pete O'Hanlon10-Aug-09 23:02
mvePete O'Hanlon10-Aug-09 23:02 
GeneralRe: Problem when loading UIElementCollection using XamlReader Pin
Pete O'Hanlon11-Aug-09 1:51
mvePete O'Hanlon11-Aug-09 1:51 
QuestionSilverlight 3 OOB on Mac! Pin
Nader Elshehabi10-Aug-09 2:11
Nader Elshehabi10-Aug-09 2:11 
AnswerRe: Silverlight 3 OOB on Mac! Pin
Mike Marynowski10-Aug-09 2:42
professionalMike Marynowski10-Aug-09 2:42 
GeneralRe: Silverlight 3 OOB on Mac! Pin
Nader Elshehabi10-Aug-09 3:02
Nader Elshehabi10-Aug-09 3:02 
GeneralRe: Silverlight 3 OOB on Mac! Pin
Mike Marynowski10-Aug-09 3:39
professionalMike Marynowski10-Aug-09 3:39 
#3 - my solution requires that the SERVER creates the printing file...so, if you application is www.awesome-app.com, your application would send the data that needs to be printed to the server, the server responds with a unique print-id, and then your open a new browswer window to www.awesome-app.com/print.ashx?print-id=12345. The response is the PDF/HTML/XPS/whatever file that the user prints.

In out-of-browser mode with no online connectivity, the only thing you can do is open a "Save As..." dialog and save the file to the users computer - the user would have to find it and open it after.

There really is no good way to handle offline printing right now.

#2 - if that's the case, then that's probably the way to go.

---

This is a bit off topic...but here is my take on licensing:

Yes, licensing is a real pain...it's always a compromise between pain-in-the-ass-ness and "trust". In your case, the user has to go online to get the application anyway...just have them enter their license key before the application lets them do the offline install. It is my belief that you should protect your application up to the point where someone has to obtain a cracked version to use it without purchasing it. Anything more is a waste of time, because your application WILL be cracked if it is worth cracking. Silverlight applications are especially easy to crack if they work offline. Anything less is bad too, because a lot of users, even business users, will just re-use a "legal" cd-key if they can, because for some reason that doesn't seem as "bad" as actually cracking a program.

Our applications verify their licenses every 30 days. While the application is running, a background thread tries to contact our server and update the machine ID that it is installed on. If it can't contact our licensing server within 30 days, the user gets a 15 day warning. If it still hasn't checked its license, the application gets locked out until it can.

If a new machine ID checks a license registration, the old machine ID gets added to the uninstall list. If the app is run on the old machine, the license verification check fails and the user gets an error message that the license was re-assigned to another machine.

This takes care of 95% of our license re-allocation problems. The only problem is if they want to move their license BACK to the old machine...in which case they can call us Smile | :) Also, if our domain is no longer registered to us, the licensing system shuts off, so their apps still work if we go under :P That's just a little customer confidence booster we added because we picked up a lot of clients that were converting from systems that went out of business.

Our Silverlight applications are all licensed concurrently, so no per-machine license issues there. If connectivity is a problem or concern, they can install the web server internally.

It is a brutally simple implementation that took one day to write. It can be cracked in about an hour by someone who knows what they are doing. But the client would have to conciously obtain a crack and put it on, which is really the main deterrent, and the best one can really hope for.
QuestionWPF DatePicker Pin
Member 407081510-Aug-09 0:09
Member 407081510-Aug-09 0:09 
AnswerRe: WPF DatePicker Pin
Mark Salsbery10-Aug-09 10:36
Mark Salsbery10-Aug-09 10:36 
GeneralRe: WPF DatePicker - Please see this too Pin
Member 407081511-Aug-09 19:19
Member 407081511-Aug-09 19:19 
GeneralRe: WPF DatePicker - Please see this too Pin
Mark Salsbery12-Aug-09 7:11
Mark Salsbery12-Aug-09 7:11 
GeneralRe: WPF DatePicker - Number of week Pin
Member 407081513-Aug-09 17:45
Member 407081513-Aug-09 17:45 
QuestionHow to get the return value from a service in silver light Pin
Nekkantidivya9-Aug-09 22:08
Nekkantidivya9-Aug-09 22:08 
AnswerRe: How to get the return value from a service in silver light Pin
Pete O'Hanlon9-Aug-09 22:20
mvePete O'Hanlon9-Aug-09 22:20 
QuestionHow to save image in a folder in silver light Pin
Nekkantidivya7-Aug-09 19:38
Nekkantidivya7-Aug-09 19:38 
AnswerRe: How to save image in a folder in silver light Pin
Michael Sync8-Aug-09 6:19
Michael Sync8-Aug-09 6:19 
AnswerRe: How to save image in a folder in silver light Pin
Jeremy Likness13-Aug-09 5:34
professionalJeremy Likness13-Aug-09 5:34 
QuestionBinding to a property of the page in XAML Pin
gantww7-Aug-09 15:01
gantww7-Aug-09 15:01 
AnswerRe: Binding to a property of the page in XAML Pin
Michael Sync8-Aug-09 6:15
Michael Sync8-Aug-09 6:15 
GeneralRe: Binding to a property of the page in XAML Pin
gantww10-Aug-09 16:48
gantww10-Aug-09 16:48 
GeneralRe: Binding to a property of the page in XAML Pin
gantww10-Aug-09 17:05
gantww10-Aug-09 17:05 
GeneralRe: Binding to a property of the page in XAML Pin
Mark Salsbery11-Aug-09 5:53
Mark Salsbery11-Aug-09 5:53 
QuestionBind variable number of columns in ListView Pin
Jack Valmadre7-Aug-09 12:01
Jack Valmadre7-Aug-09 12:01 
QuestionHow awesome would it be if... Pin
Mike Marynowski7-Aug-09 6:40
professionalMike Marynowski7-Aug-09 6:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.