In an application I need to execute other programs with another user's credentials. Currently I use System.Diagnostics.Process.Start to execute the program:
public static Process Start(
string fileName,
string arguments,
string userName,
SecureString password,
string domain
)
However this function does not load the roam...
These two APIs are very similar but it is unclear what the differences are and when each should be used (Except that LoadUserProfile is specified for use with CreateProcessAsUser which I am not using. I am simply impersonating for hive accesss).
LoadUserProfile
http://msdn.microsoft.com/en-us/library/bb762281(VS.85).aspx
RegOpenCurrent...
I am working on an iPhone application and would really like to determine if the device is roaming so that I can intelligently avoid costing my users expensive connections if out of their home network.
The application I am writing is for jailbroken phones, however I would prefer to use standard SDKs if possible.
Here is what I've alre...
I have some C# code that tries to get the Favorites for the currently logged in user. The code is part of a Taskbar Toolbar that gets loaded into the Windows Explorer process. I have a user who is using Windows Vista with UAC enabled on a domain that either has Roaming Profiles or Folder Redirection setup and enabled. When calling Dir...
Hi All,
I wanted to know is there any way to know the data card connected to laptop or desktop is in roaming or not.
I wanted to know does Vista or XP provides any API to identify this.
If any one of you have any other idea on this, please share with me.
with regards
Vinayaka karjigi
...
Hi Guys any help would be much appreciated.
We have an application that’s installed at several locations but we are having an issue at one particular site. In short the application settings (My.) are not being saved after a reboot. The application is build in VB.Net v3.5 Framework and we are not experiencing any issues elsewhere.
T...
We need to ensure that a Windows app that we make (which includes Office plugins) works right when installed in a Roaming Profile environment. Can anyone supply procedures, or a pointer to procedures, for
Setting up a test AD domain for use in testing with roaming profiles
testing
The fact that we've got Office plugins implies, of c...
i want to to persist some filenames for the user (e.g. recent files).
Let's use six example files:
c:\Documents & Settings\Ian\My Documents\Budget.xls
c:\Documents & Settings\Ian\My Documents\My Pictures\Daughter's Winning Goal.jpg
c:\Documents & Settings\Ian\Application Data\uTorrent
c:\Documents & Settings\All Users\Application Data...
I have an Eclipse RCP application that I'd like to make available to end users using the p2 provisioning platform.
The requirements for the provisioning of the application are as follows:
Users need to be able to install additional features in order to customise their individual application.
Users move between workstations, so their ...
Introductory Example
This code
Properties.Settings.Default.MyUserSettingBlah = "some new value";
Properties.Settings.Default.Save();
saves the user.config file to
C:\Users\MyUserName\AppData\Local\My_Company_Name\MyApp_Url_vb2s5kwidefdmxstmabckatcyl5t0lxd\1.0.0.0\user.config
Question
How can I save user.config to
C:\Users\MyUse...