VS 2010 User Should Not Be Able To Access Anything On Windows?
Mar 14, 2012
I am developping a small application. I am wondering if its possible for the user not to access anything on windows while working on the application? I mean everything should be disabled for the user working.
I've been developing in .NET (VB, C++, C#) for a number of years, but I am finally creating my first service application (in VB). I need to read/write to a file contained within a user's documents. As a service is not associated with a particular user, would a service have access to a user's documents? ...regardless if that user is signed on or not?
I programmed an app with an Access 2010 database, I installed the app and the database on a computer with office 2007. The app can't open the database. Do I need to copy some extra file on the user's PC?
I've set up an application that runs as a service, auth'd as LocalSystem. One of it's functions is to establish the logged in windows user's username.All I'm getting with the following is either the SID or username of the user (localsystem) running the service.
I have already build a application where you type in your username and password and it changes it to the specified password. Now I want to make a "User password remover" application. (It should be the same as "Control PanelUser Accounts and Family SafetyUser AccountsRemove Your Password").
The program should check:
1) Which User is currently logged on and using the program.
2) Check if the User has a password.
3) If No then Exit the program, else Step 4.
4) If YES then allow the User to type in his current password, press a button and Windows should remove the password.
I need help with the code to make it so when a form loads it will check the Access database for the user and if that user is present, then it will load their selections. Otherwise, if no user is present it will add a new row to the database and display nothing.
At my school people use the keyboard shortcut (CTRL+Shift+ESC) to open Task Manager. We are not allowed to use it so we get a message box saying that we do not have permission to do that. People hold down the buttons, so that a long line of hundreds of popups open. What code do i need to close all of the popups when a button is pressed?
I'm using Access 2010 for 2 small databases for a windows forms desktop application.on Form 1, my datagridview updates Paccounts.mdb correctly as follows:
end_OK: Try Me .PaccountsTableAdapter.Update(PaccountsDataSet.Paccounts)
W7 isn't letting me delete a dll due to access rights (see FAILS HERE). You see, I need to talk to 2 pieces of hardware (both with same dll name). For XP I have been copying the dll at startup (based on my hw type) without issues.
Public Sub SetCorrectHardwareDLL() Dim dll As String = Application.StartupPath & "vxlapi.dll" Dim vec As String = Application.StartupPath & "vxlapi.vector.dll"
I am working in Windows 7 Home Premium using MS-Visual Basic 2010 Express. I am having difficulty connecting to an Access 2007 database using ADO. When I try to connect to the database I get the following error:
Error Code: -2147467259
Exception: [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application
Source: Microsoft OLE DB Provider for ODBC Drivers
I looked at...
[URL]
There were several reference to compiling the program using x86.
Go to Project menu -> Properties -> Compile tab -> Select "Advanced Compile Options" -> Select "x86" instead of "AnyCPU"
I followed the path and there was not any option to select x86 in VB 2010 Express.
I have a VB.Net program which reads and writes to an Access database. I am trying to deploy the program using a setup (created with INNO Setup). Upon installation on a Windows 7 computer, Windows 7 is preventing it from writing data without changing the permission settings. It reads data but it doesn't write data. This problem doesn't happen in Windows XP. My question is: is there any way to make the Visual Basic .Net program write data to an Access database on Windows 7 from the setup without the user having to change permission settings?
I've got a dictionary<string,string> that I need to access and use on several windows forms. In asp.net, I could store it in Session and use it from any aspx page. How would I do this in forms?
I'm working on a simple data logging program, and I have little to no database experience. I wrote a little VB forms app to log the data to ms access and then graph the data, but I'm having trouble with adding records to the database. First, I created a simple one table database in access. Then, I added the database to the project as a data source, and gave it a data set using the wizard. Right now my code looks like this:
[Code]...
There are no problems during build or run time, but I do not see changes to database after the program runs.
If I create a windows app which I link to an MS Access databse file that already exists..will I need to have MS Office installed on every computer at which I want to use the app? If not then how do I go about making a standalone windows app that will store information in a database of some form or another ?
I want to VB detect user that you're logged in like... installation software finds the path and it includes example: "C:Users\%User%" How to? Didn't found any good keywords for that so i didn't found it from search.
I am creating a form for work where managers can report when they find a customer's personal information laying around on a desk (we work at a call center where agents answer calls for a wireless cell phone provider, so we take personal information security very seriously). Anyway, I am wondering if there is a way to have a text box autofill with that manager's windows username (since they will need to be logged into their own profile to use the form).
I know that using Dim currUser As String = Request.ServerVariables("LOGON_USER") retunrs the DomainUsername, but I want to know what Group that user is in say in Active Directory.
I thought I postet this yesterday but I can't find my thread so if this is a duplicate please point me at the original one. Background: I need to create a user account and Modify it's registry before the user logs on the first time. Creating the account is done by using the Winnt provider (works great). To create the profile I'm trying to use Process.start to launch a process as the newly created user. With the use of loaduserprofile property the users profile gets created and i can do my regwrites without problem.
I have a .net Windows Service developed in VB.net. I have a settings file in the root directory called Connections.XML and I am setting the basedirectory [code]...
When I schedule the service this is working absolutely fine in my Windows XP machine. But when I installed the same service in our development server (Windows 2003 64 bit Server) for some reason it is not able to locate this file.
I am having a windows application. That downloads files from server and write into the local directory. It works fine. When we try the same appliication in Windows 7. IT shows an error Access to the path denied (While writing to the local directory).
I've created a user control that is basically a Panel that contains 1 label,3 TextBoxes and a few properties that set/get some short integer values.During a form load event I display a number of these Panels.I then access the Panels name (and other panel properties) via a user-created handler for the panel's click eventHowever I would really like to access the values from the user-control's properties.
Public Sub load_Panels() Dim pnlName As String Dim x As Short = 69
I am an old mainframe programmer and have started learning VB and find it a whole new world. I am not able to get my example code to work to access an Access database through automation. I might not have the correct Jet 4.0 engine. The specs I have are: MSJet40.dll, Dated 7/13/2009, Prod Ver 4.00.9756.0.
Can i use the timer when the user tries to log-in and the user entered a wrong password 3 times.i will give the user 5 mins to log-in again with the correct password and if the user enters the wrong pass. 3 times again i will give another 10mins also this is what i want when the user close the program the timer is also their and running that it will give the user the remaining tym on how much tym left 4 him to log-in again.Can i do this in vb.net??i dont know how 2 do this i dont have a clue if it is possible can someone give me a code??
I have developed a VB 2010 express application that works on my windows 7 machine, but when I deploy it to other windows 7 machines the application will not run at all. I created an msi script to install the software on other machines and it includes the .NET 4.0 framework an all of my application dll's and such. Any idea what might be he problem?
I coded a program to access a Microsoft Access 2010 database. The program is written using Microsoft Visual Studio 2010. I get the error message that the database I'm trying to access is in an invalid format. look at the code below to see what I missed. The error is in the datasource statement.
I am currently working on a project that, among other things, should allow the user of the form to click a button and be taken to the change password window for that particular user. The is Start>Control Panel>Users> select a user> Change password. I am trying to save the user alot of time by just taking them to the approite window. It would be nice if the password was automatically changed.I know that the System. should contain the right code touse but I am having trouble finding the right path. I did find a code to shut down [code]System.Diagnostics.Process.Start("shutdown", "-l -t 00")[\code]