473,320 Members | 2,147 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Deleting forms and code

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
Nov 21 '05 #1
6 891
"Husam" <Hu***@discussions.microsoft.com> schrieb:
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
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #2
Herfried,

I tried your code it did not work.

Cor
Nov 21 '05 #3
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
Nov 21 '05 #4
"Cor Ligthert" <no************@planet.nl> schrieb:
I tried your code it did not work.


It's time to turn the brain on...

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Nov 21 '05 #5
Verry cool answer ...

,,,, ;-) ,,,,,


"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:eJ**************@tk2msftngp13.phx.gbl...
"Cor Ligthert" <no************@planet.nl> schrieb:
I tried your code it did not work.


It's time to turn the brain on...

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #6
> Verry cool answer ...

,,,, ;-) ,,,,,

????

Cor
Nov 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Vladislav Moltchanov | last post by:
The following code is working In 97 but not in 2000 (start and finish are indicated by <<<<<<<<<<<< and >>>>>>>>>>>) This action has to clean the specified database so, that delete all but...
3
by: Nathan Bloom | last post by:
Hi, I have a data entry form (access 2000) that also allows the user to add, update, and delete records from the form. The Delete action is carried out in an event procedure and has the...
46
by: DP | last post by:
hi, i've got a form, with a subform in it. i've got a delete button in the subform. the code i;ve got is; Private Sub cmdDeleteRecord_Click() msg = "Are you sure you want to delete this...
11
by: shriil | last post by:
Hi I have this database that calculates and stores the incentive amount earned by employees of a particular department. Each record is entered by entering the Date, Shift (morn, eve, or night)...
4
by: sphinney | last post by:
I'm not exactly sure how to start this post. My question is pretty simple, but it will take a little bit of context before I can state it. (And thanks in advance for taking the time to read this!) ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.