问题描述
大家好,
我有一个应用程序.我的要求是应用程序只能打开10次.如果它是第11次或更多次打开,则应显示一个消息框并退出.
我尝试将计数存储在注册表中,但仅在单台PC上尝试时才起作用.
我的要求是,如果该应用程序已在10台不同的PC中打开,则不应第11次打开.
我们可以在项目资源中存储和更新值吗?
请问有人可以帮我吗?
如何解决这个问题?
我需要将应用程序部署在未通过LAN未连接的不同客户端位置上
Hi All,
i have an application. My requirement is that application should open for only 10 times. if it is opened 11th time or greater it should display a message box and exit.
I tried storing the count in registry but it working when we tried in single PC only.
My requirement is If the application has opened in 10 different PCs, it should not open for the 11th time.
Can we store and update the values in project resources?
Please can any one help me?
How to solve this problem?
I need to deploy my application in different Client locations which are not connected through a LAN
推荐答案
这篇关于特定次数后限制应用程序执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!