26

(12 replies, posted in General)

DriveSoft wrote:

May be you should use Installer for that, where you can tune privilege, example
http://myvisualdatabase.com/forum/viewtopic.php?id=3174

Thank you very much. I will give it a try.

I was equally reading through some articles online and it made suggestions to the use of  .manifest and .rc files that will help run the application as administrator. This was done using Delphi but I'm wondering if this could be implemented in MvD?

https://stackoverflow.com/questions/309 … pplication

Thank you once again Dmitry.

27

(12 replies, posted in General)

Hi Humblelion,

I believe that if you right-click on your application and go to the security tab you can set "run as admin" and hit apply.  This will make sure
that your application runs with administrative privileges.  Hope that solves your issue.

Thank you gonpublic2K, but not solved

28

(12 replies, posted in General)

DriveSoft wrote:

"Compatibility" tab > "Run this program as an administrator"

Thanks Dmitry but I don't want to tell everyone i distribute the application to, to always run as administrator but at least something to prompt them to run as an Administrator first before use. A software like RUFUS can never run without running as an adminstrator

29

(12 replies, posted in General)

DriveSoft wrote:

Hello.



Please provide more details, what exactly do you mean?

Thank you very much for your response

Some codes in my project will need administrative rights to work effectively. Eg.

if ping('google.com')

. I don't want the user to right click the exe file and choose "Run as Administrator" but instead on double click User Account Control will pop-up for the user to select YES before the application can run. In simple words, I want my application to run as administrator

30

(12 replies, posted in General)

Hi MVD lovers, I greet you all

Is there a function such that on click MVD application will prompt to run with Administrative privileges?

Thank you in advance

31

(0 replies, posted in General)

Hello MVD users, i have designed a college exeat database application  and i want the following features
*Search and Issue leave(exeat) to students from a date(today) to another date(not less than today)
* Cancel leave on return
* A reminder to prompt admin a student date for returning is due

Thank for you for your support

32

(4 replies, posted in General)

derek wrote:

Hi Humblelion,
If you want a simple attendance register, you could do it something like the attached.
Each employee selects his name from the combobox and then enters his password.  If the password is correct, he is signed-in (with the date and time).  Exactly the same happens when he signs out from work.
If he successfully signs-in or signs-out, there is a delay of 3 seconds so he can view the update to make sure his details are correct.
Sign in using user 'Admin' and a password of 'Admin' (case sensitive) and you will get access to a second form where you can maintain employee details and also view the passwords for some dummy users that I've set up for testing purposes.
Hope this gives you some ideas,
Derek.

Looking for something like this. Thank you so much, you are one of my favorites. Let us consider a school where we have a very large data,  now admins signs everyone in and for any reason a student wants to be absent or go home, this time the admin singles out the student in question and make him or her absent indicating the datetime of leaving, time of returning and purpose for leaving.

33

(4 replies, posted in General)

thezimguy wrote:
humblelion wrote:

Hello MVD users, I need a sample project where employees will sign in when the report to work and sign out when leaving work. A form of attendance sheet

Please, follow this post
http://myvisualdatabase.com/forum/viewtopic.php?id=1437

Thanks

Thank you so much but i meant an attendances sheet

34

(4 replies, posted in General)

Hello MVD users, I need a sample project where employees will sign in when the report to work and sign out when leaving work. A form of attendance sheet

sibprogsistem wrote:
humblelion wrote:

Пожалуйста, пришлите мне пример проекта по отправке SMS с использованием HTTP

God richly bless you

Пожалуйста, пришлите мне пример проекта по отправке SMS с использованием HTTP

Thank you so much sibprogsistem for the script, i appreciate your kind gesture. Can you send an example of how to use the script?

Derek, Dmitry et al, i greet you all. Can i get a sample project for sending SMS through HTTP

39

(29 replies, posted in General)

derek wrote:

Hi,
There are a couple of things to understand when using calculated fields.
Calculated fields only exist while your program is running - as soon as the program closes, the calculated fields are gone.  For example, you would save someone's date of birth but you wouldn't save their age - that would be data redundancy.  Instead, you calculate their age every time the program runs using a calculated field so it is always up to date, but as soon as the program closes, their 'age' is gone.
So you are correct when you say that there are no instructions DIRECTLY relating to calculated fields in the script.  But what the script does is
1)  run a search when the program starts so that all the columns in the tablegrid are populated - including calculating the calculated fields.
2)  when any data is saved, the calculated fields need to be 're-calculated' - this is what the 'dbupdate' statements are doing in the script.
So when you removed the script, the calculated fields didn't appear because you removed the instruction to calculate / re-calculate them.
I hope I've explained that okay.
I've attached the project again with some comments in the script that may help.
Regards,
Derek.



Please help me by multiplying detailqty by detailprice and add the column to a new column called total.
Thank you in advance for the help