I don't know the specifics, our system administrators knows more about it and they said it's not possible to only give them permission to do this specific thing. But I agree, in most cases when it looks like something needs admin rights, it doesn't actually need it but just asks for it to be on...
Except that it's not our application that needs administrator rights, it's a 3rd party application which we trust
Which is fine for us, considering we do have the Administrator passwords for all the PC's which needs this application
As mentioned above a few times, this is not the case. We do...
I know where you're getting at, but the problem is that this app that needs to run with Administrator rights is needed for our users to do their job. The only other option we have is to give our users the Administrator password of their work computer, but for obvious reasons that's not a good...
As probably many has done before me, I'm trying to start another application with elevated rights. I have tried many different things, but so far I have only gotten it working with domain Administrators
Here's the code I have seen posted most places:
Function ConvertToSecureString(ByVal str...
I'm having a bit of a problem here, hoping a nice person here can help me out
I have a method which receives an object as parameter. This object is always of a class I have created, it will never be something simple as string, integer, etc
In my simple example I have created a class called...
Thanks
After some more digging I could see the problem only occurred in my specific situation. I still haven't found an explanation, but at least I found a solution
The actual situation in my project was like this:
I had two forms, frmX and frmY. frmY is the form with the listview and frmX is...
Anybody who has any idea on what to do here?
When I try to set an item to be selected programmatically, I have noticed that is only visually it is selected. If I set an item to be selected and clicks on the arrow down key, the listview seems to think that it is the first item in the listview...
I just tried to delete pretty much anything in the ExcelTools module and the problem still occurs when calling it
In the ExcelTools module I only have the CreateExcelFile sub which now looks like this:
Public Sub CreateExcelFile()
Try
Dim i As Integer = 0...
I just started working on a new console application (sooner or later it will be changed to a service application, but during test it runs as console application)
The problem is the application quits unexpectedly. No exceptions are thrown or anything
I have added many breakpoints and I'm trying...
I have been searching for a way to retrieve the full path for Outlook.exe and have managed to do it like this:
Public Function GetOutlookPath() As String
Return My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\OUTLOOK.EXE", "Path"...
Most people here have probably seen this error before:
"to prevent possible data loss before loading the designer, the following errors must be resolved"
Currently I'm battling with a situation where I can't seem to find a solution. When I open design view for the form I get the following two...
I have a feeling that this might be because PIA has not been installed
I have set the requirements to include Office 2010 PIA, but EVERYTIME I start the setup for my application from my published location, the setup says that PIA needs to be installed. I say yes and the progress bar goes...
After using Google to find a solution I can see that many people have the same problem as I have, but unfortunately I haven't had any luck at all finding a solution :(
Here's a quick overview of the situation:
I'm developing a ClickOnce application (in vb.net). In my project I have added...
Let's put it this way:
If I log onto the computer as the user I'm trying to execute a program as through my program, then I have no problems going to the \temp\ folder and execute TheTimer.exe
So the user has all the rights needed. The user also has write permission to the folder, even though...
Thanks for the tip, unfortunately I have already tried setting the WorkingDirectory as you say with UseShellExecute set to false. Gives me the same result
And thanks for the tup on how to reduce the code, can't believe I didn't see that myself :)
I have also tried to login on the server with the local username and password. From here there is no problems running C:\Temp\TheTimer.exe
But running the above program still gives me the same error
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.