-
September 22nd, 2013, 08:32 AM
#1
How to allocate admin permission in vb
Hey there,
I have vb code to set system time . when I run it error popups saying that permission denied. I'm running a code in admin account in windows.
I need to know how I can allow vb code to access time and date settings even if I'm in guest account.
My vb Code-
Private Sub Command1_Click()
Dim a As Integer
a = Text1.Text
Time = DateAdd("n", a, Time)
End Sub
thank you.
http://forums.codeguru.com/images/smilies/confused.gif
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|