Deleting forms and code

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi Everybody:

I made trial version depend on the number of the access that the user enter
to my program which is 10 times.

my question is when the access become 10 I want to delete all the codes and
forms in my program and end my program.

so any one can tell me any direction or advise to do so.

any help will be appreciated

regard's

Husam
 
Husam said:
I made trial version depend on the number of the access that the user
enter
to my program which is 10 times.

my question is when the access become 10 I want to delete all the codes
and
forms in my program and end my program.

\\\
Public Sub Main()
If GetNumberOfRuns() = 10 Then
MsgBox("Buy the full version!")
Else
Application.Run(New MainForm())
End If
End Sub
///
 
Husam,

I don't know how it is done, however probably it will be mostly done by a
dirty name and use of the registry where you keep track of the count.

I don't think that anybody will tell how they did it.

However I would never delete the code or whatever on a customer computer
withouth his knowledge, the change that you delete something wrong is not
impossible. They can in most countries probably charge you for the loss of
important information. (And if that was not there is than something you have
to proof)

I hope this helps,

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top