VS 2005 Lock And Unlock PC Desktop?
Apr 22, 2009is there a possible way using vb.net to lock and unlock PC Desktop? so that we will have restriction for each user? what code should i write?
View 4 Repliesis there a possible way using vb.net to lock and unlock PC Desktop? so that we will have restriction for each user? what code should i write?
View 4 RepliesI would like to create a program which able to lock several files from unauthorized person to use and unlock it when the authorized person wants to use
View 12 RepliesHow can we lock a file or folder so that it couldnot be opened by any1
View 6 Repliesi'm trying to Handle the Micosoft.Win32.SessionSwitch Event, so when Windows is going to be locked by the user, i will simply write a line to the console.When it's going to be unlocked, the same.
Here's the code:
Sub Main()
AddHandler Microsoft.Win32.SystemEvents.SessionSwitch,
_ SystemEvents_Sessionswitch()
Console.ReadLine()
[code]....
I want to find the wheather my machine(XP installed) is locked or unlocked today.
View 1 Repliesi want to build a software which can lock the computer (not to lock the computer as i lock in windows) and then another software that can unlock it.
View 5 RepliesMy request is a difficult one. What I wish to do is unlock a machine when my program recieves a command. I have searced a lot and found nothing which helps. The reason I wish to do this is simple. I have created an application which allows me to send SMS messages to my computer via twitter. One of the commands is to lock the work station. This was implemented without any problem. However, I do not know how to unlock it when the application recieves the unlock command.
View 22 RepliesSo far, i get know the way to lock and unlock file.. but in my project, i want to lock and unlock the *.exe program.
View 4 RepliesAt this moment, i am able to lock all the file path which taken from database. BUT, when i choose to unlock 1 particular file, it caused me some error.
View 7 Repliesi'm using visual studio 2003 - vb to write one printing system.... then i set my system to auto startup now i want lock the desktop when my system is running untill user key in the correct password and username..... now my printing system was done just only the lock desktop code i totally don't know how to start it....
View 4 RepliesHow can i lock desktop item Like(start button,mycomputer ,Internetexplore,recyclebin etc) through visual stidio.net code
View 2 Replieshow to lock PC using VB.net? So that any user cannot do anything on my PC?
View 10 Replieshow to make a multi language desktop application in vb.net 2005. only a small desktop application in which i can change language according to countries.
View 1 RepliesI want to lock the folder.[URL] Suppose mine foldername is sonia ,In the codeProject code,he is renaming the folder to sonia.{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0} & password is set & that password is written to xml file in the folder sonia only...next time when we double click on folder sonia.{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0}..form is dispayed it which we have to give the password.firstly i do not want to change the folder name.I want that it still remains sonia,even after locked...Secondly,If we rename that folder by right clicking the properties & remove .{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0},I can view the contents of the folder..
View 3 RepliesI have been reading through lots of sample code and explainations regaurding the uses of Sync lock in multithreaded programs but still am a little fuzzy on this.
Am I correct in assuming that if I have two or more threads running the same procedure which has a sync lock on a shared resource that the first thread to call the lock will complete its update of the resource and any of the other threads to try and lock this object would just wait in line until it is released by the first object?
I am also a bit fuzzy on what is actually locked by the sync lock.
Lets say I have code that uses sync lock and the object specified is the current thread. Does that also lock the shared resources that are referenced within the sync lock block or would I need to use another method to do this?
What if my shared resourses were all in another class and I issue a sync lock on that class before I try to modify the resources would that be the proper way to go about it?
And last but not least is there any need to use sync lock when the shared resource is in effect read only [meaning the program will read the value but will not change it during runtime]
how can I check if an oracle tabel is lock in VB .NET?
View 3 Repliesway to do the following in VB 2005:
I need to access, but not display, a web page out of a VB 2005 program. The web page would be an aspx page with a query string as part of the url - with the url using values acquired thru the program - e.g. www.mysite.com?arg1=this&arg2=that
So the aspx page would produce an html output with values I need placed in specific elements. I want to read that page from my app and do stuff with the resulting values.
I've find a way to Draw line, string, shape, and so directly on the Desktop, but shape are also draw over any windows that appear over the Desktop. I wish a could only draw over the WallPaper, and not over the Windows over it.
Private Declare Function GetDesktopWindow Lib "user32" () As IntPtr
Private Declare Function GetWindowDC Lib "user32" (ByVal hwnd As IntPtr) As IntPtr
Private Declare Function ReleaseDC Lib "user32" (ByVal hwnd As IntPtr, ByVal hdc As Integer) As Integer
[Code]....
Ive been thinking for awhile about this but I cant get my head around it, Ive been experimenting with physics of objects in visual basic and what (a boucing ball) and Ive been wanting to take it the step further,
View 1 RepliesI have the following code :
sw = New StreamWriter("scanner.txt")
sw.WriteLine("TEST")
sw.Close()
This code should write the txt file to the folder my exe is in. This is the case on hundereds of different machines.
However I have just found out that on one machine my code always writes the files to the desktop and expects to read from the desktop. I am going to change my code so it looks specifically for the application folder but I still dont get why this is happening on one machine and not on all the others.
I need a code that runs on a machine that I am remotly connected to and displays the IP address or the PC name of my computer that I'm connected from.
View 1 RepliesI need to refresh the whole screen/desktop.I am painting a rectangle and need to have it clean and not leaving marks when it is dragged around.There were a few claimed APIs that could do it. And then some others which were more specific to other languages.
View 5 RepliesIve been experimenting with physics of objects in visual basic and what (a boucing ball) and Ive been wanting to take it the step further, make the ball bounce around the desktop. but how.
View 5 RepliesI have different query in access and vb.net.Sometimes record are inserted sometimes not.All coding is correct.when record is not inserted,it gives an exception that'could not open;database is locked'What is this exception???My database is not having password.
View 4 RepliesI know how to display attached modules but how do i check if a file is locked by a dll.
View 1 RepliesI was wondering if anyone knows if there's a way to programatically unlock the currently logged in account (i.e. when the user hits Windows + L), or even to just unlock the screensaver password.
View 1 RepliesI am trying to create a setup file which would automatically install a link to the executable in the User's Desktop and Startup--> Program. However despite following all the steps in the right order I do not see any short cut in the desktop and Start -> Program.
View 4 Replieswould like to send me a pure oop based desktop application developed in vb.net 2008 and sql server 2005?
View 3 RepliesWe have a Windows Forms VB.NET application running on Windows Server 2008. Users access this app using Remote desktop.The app displays information in Excel, but Excel opens on the server.Is there a way for the .NET app to launch Excel on the users local desktop?
View 1 RepliesSome of u already know I'm making a 'virtual desktop'- thing.Only one problem. When switching to a new desktop it starts a new instance of my app in that desktop (works) and on the form load event it says process.start("explorer.exe") <- here is the problem. It only shows a window not the actually bar.Also this may be important it shows the window, but when I navigate to explorer.exe 'C:Windowsexplorer.exe' and open it there. The explorer bar does show up.
View 14 Replies