Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old January 19th, 2009, 08:27 AM
Authorized User
 
Join Date: Dec 2007
Location: hyderabad, Andhra Pradesh, India.
Posts: 38
Thanks: 2
Thanked 0 Times in 0 Posts
Default creating trial or demo version application

Hi to all,
I developed online accounting package.I want to give a trial or demo for my application
which is work for limited days (like 7 to 10 days).After trail version , it wont be work for them ,if the customer wants to buy my product ,they can contact me through given options.I searched many sites,I did not get any solution for my problem.Please any one can help me that how can i create a trail version or demo version it or provide me links .

Thanks in advance
__________________
shanwaj
  #2 (permalink)  
Old January 27th, 2009, 11:58 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Why not when you issue them a Demo Username and Password put an 'Expired' column on the row in the database? So if i sign up today, when my account is created, it will be set to expire n days from now. Your login code sproc might look something like:

sql Code:
SELECT Count(username) FROM Users WHERE (Username = @Username AND Password = @Password) AND Expired <= GetDate()

If the count returns 1 the user is still allowed to access the system otherwise they arent. Simple enough no?

hth.
-Doug
__________________
===============================================
Doug Parsons
Wrox online library: Wrox Books 24 x 7
Did someone here help you? Click on their post!
"Easy is the path to wisdom for those not blinded by themselves."
===============================================
  #3 (permalink)  
Old January 28th, 2009, 02:54 AM
Authorized User
 
Join Date: Dec 2007
Location: hyderabad, Andhra Pradesh, India.
Posts: 38
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Thank you Mr.Dparsons
Your suggestion helped me to creating demo version for limited time period.My team is like one man army team .I want to create a online trial application for clients which is expired on registry date of mechine.could you please provide me your valuble help for me.
Thanks in advance.
shanwaj
__________________
shanwaj
  #4 (permalink)  
Old January 28th, 2009, 10:21 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

I am not sure what you are asking. Are you asking how to access the Registry on a clients machine from a website??
__________________
===============================================
Doug Parsons
Wrox online library: Wrox Books 24 x 7
Did someone here help you? Click on their post!
"Easy is the path to wisdom for those not blinded by themselves."
===============================================
  #5 (permalink)  
Old January 29th, 2009, 01:59 AM
Authorized User
 
Join Date: Dec 2007
Location: hyderabad, Andhra Pradesh, India.
Posts: 38
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Hi dparsons,
Yes it is similar to it.Some sites has given solution to creating trial application .Here I am giving the thread links below
http://www.eggheadcafe.com/community...e-for-you.aspx

http://www.aspcode.net/Creating-a-de...plication.aspx


http://www.codeverge.net/ng.asp-net-...et-application

in above threads i am getting little bit of confusion. I did not satisfy with codecoverge solution. In eggheadcafe site , it is showing a registration dialog window, how can I do it.You are providing your valuble time for helping me,could you please explain me briefly eggheadcafe example.

Thanks in advance
__________________
shanwaj
  #6 (permalink)  
Old January 29th, 2009, 01:39 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

The EggHead article is a Windows Form application NOT an ASP.NET application so achieving that exact functionality in ASP.NET is not really possible. Further you have no direct way to access the registry on your clients machine without the use of an ActiveX control and, furthermore, that would only apply to people who are running windows. *nix environments do not use a registry. This is a silly idea anyway since the application in question would reside on a Web server and not the Client machine.

Out of the articles you posted I like the second one the best where he uses Pre-processor directives to determine what functionality should be prevelant for a given instance of the application.

hth.
-Doug
__________________
===============================================
Doug Parsons
Wrox online library: Wrox Books 24 x 7
Did someone here help you? Click on their post!
"Easy is the path to wisdom for those not blinded by themselves."
===============================================
  #7 (permalink)  
Old January 30th, 2009, 05:42 AM
Authorized User
 
Join Date: Dec 2007
Location: hyderabad, Andhra Pradesh, India.
Posts: 38
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Hi dparsons,
thanks for your reply,i am going to follow the second article.once again thank you very much .

shanwaj
__________________
shanwaj


Similar Threads
Thread Thread Starter Forum Replies Last Post
install VS 2008 Trial errors mikealdrich Visual Web Developer 2008 1 December 23rd, 2008 12:03 PM
CREATE TRIAL BASE Vision G Access VBA 2 April 16th, 2008 09:38 AM
Writing trial programs selorm .NET Framework 2.0 1 May 4th, 2007 06:43 AM
creating cached version of reports barmanvarn Reporting Services 1 January 4th, 2007 08:58 PM
Syncronizing webservice/client application version adyrotaru General .NET 0 September 16th, 2006 09:25 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.