One of my process written in C# is forked by another process during application startup. This process needs administrator rights  as it is accessing drivers, but the parent application (forking process) was launched in user mode.   There were two ways which I could think of: 1. Change the manifest, but the UAC dialog box would be irritating for the users. 2. Like Linux rpm installation, install the application with super user and give full control to the process  Is there any other better way of doing this?  Please guide  Thanks
I'm trying to install a service using InstallUtil.exe but invoked through Process.Start. Here's the code:  ProcessStartInfo startInfo = new ProcessStartInfo (m_strInstallUtil, strExePath); System.Diagnostics.Process.Start (startInfo);   where m_strInstallUtil is the fully qualified path and exe to "InstallUtil.exe" and strExePath is the fully qualified path/name to my service.  Running the command line syntax from an elevated command prompt works; running from my app (using the above code) does not. I assume I'm dealing with some process elevation issue, so how would I run my process in an elevated state? Do I need to look at ShellExecute for this?  This is all on Windows Vista. I am running the process in the VS2008 debugger elevated to admin privilege.  I also tried setting startInfo.Verb = "runas"; but it didn't seem to solve the problem.
My internet connection is very slow. I suspect someone in the network is using a BitTorrent client which takes huge amount of bandwidth.  Is there a way to detect who is using my bandwidth (network sniffing tools etc)?  I should have pointed out that I have no access to the router, what I am looking for is a way of detecting someone's MAC/IP if she uses Bittorrent. What steps must an educational institution wanting to recruit good faculty take? There is a cycle in the academia:    Good doctorates from top universities invariably join other top universities as faculty members.  Good students aspire to study in top universities under excellent faculty members.   Suppose a new educational institution or department springs up and desires to set up a top-quality group, how does it break into this cycle? I suppose this could take some years, but is money-power the only thing that could be wielded by the institute to achieve its end? I was reading a website where common English sentence errors are written -     INCORRECT - He doesn't know to swim.      CORRECT - He doesn't know how to swim.   I know He doesn't know how to swim is a correct sentence. But why is the other one wrong, is my question?  I know that know is a transitive verb. So, the following are correct -   i) He knows swimming.  Swimming is a gerund. We can also use the infinitive form here - to swim  ii) He knows to swim. Alternative definition of hyperbolic cosine without relying on exponential function Ordinary trigonometric functions are defined independently of exponential function, and then shown to be related to it by Euler's formula.   Can one define hyperbolic cosine so that the formula $$\cosh{x}=\dfrac{e^x+e^{-x}}{2}$$ becomes something to be proven? Why does blowing on someone who is wet feel colder than on someone who is dry? Consider the following two versions of a question:1   Version 1: What is the difference in meaning between "[to be] not invited" and similar negation forms?  Version 2: What is the difference in meaning among "[to be] not invited" and similar negated forms?    Personally, I think Version 1 might subtly suggest a Star Topology (see below) with the target sentence "[to be] not invited"at the center.  And Version 2 might subtly suggest a more free-form comparison like the Mesh or Fully Connected, with the target sentence simply "one among many":   Between approx equal "Star" and among approx equal "Fully Connected"?  Don't get me wrong: I do think this is quite subtle, not always applicable, and I don't think anyone would intuit such a "network topology" meaning without further explanation.   So the main question is, are both grammatically correct?  If yes, is there a semantic difference to choose one over another, perhaps as I suggested?  Or does the plurality aspect of between and among trump other semantic and stylistic issues?    1. In my question , another user provided a very helpful edit. However, the change of the word between to among prompted this question. Where are static variables stored in C and C++? Has the Magical Community breached the Final Frontier? (aka Wizards in Space?) Have they? Given that Muggles put the first man in space in 1961, even by 1991 a lot of Muggleborns perfectly aware of the space-travel would have passed through Hogwarts and into the Ministry, even the Department of Mysteries (which seems to be a bit like their research division/Area 51 combo) And even leaving Muggle technology (which Wizards don't care for or about) aside, Humans have wondered about air travel to &quot;other worlds&quot; and meeting aliens from the time of the Ancient Greeks, surely some Witch or Wizard somewhere might have wondered if it really was possible to fly to the moon? So, is there any canon (aka Books + Pottermore + Rowling interviews) evidence of the Wizarding community having ever travelled or trying to travel to space / other planets or satellites? ETA: Note, I am also totally okay (and in fact would be eager for) historical &quot;Famous Wizard&quot; card-like tidbits from canon-sources.  AWESOME example (that I'm frankly not expecting): When the Muggles managed to land on the Moon, the Department of Mysteries had to scramble to hide the Silver-backed Moon Dragon conservatory they had been maintaining near the landing site. ALSO AWESOME example (that I am hoping for): Warlock Flibberti and Witch Tigget misused this earth-based spell and amusingly found themselves on the moon with their pet monkey instead! How to implement a single instance Java application? Sometime I see many application such as msn, windows media player etc that are single instance applications (when user executes while application is running a new application instance will not created).  In C#, I use Mutex class for this but I don't know how to do this in Java. Script to convert filenames to lowercase depending on extension How to install networkx python in QGIS? How to install and how to compile networkx python on QGIS?  I always get an error that no module named networkx in the console of QGIS I copied the file networkx in C:\Program Files\Quantum GIS Lisboa\apps\Python27\Lib\site-packages and there are not change. Let $\mu$ be a general measure, suppose $f,g$ has compact support on $\mathbb{R}$, when does the integration by parts formula hold $$\int f'g d\mu = - \int g'fd\mu?$$ I know in general this is false, we can take $\mu$ to be supported on a point, say $0$, then it is not necessarily true that  $$f'(0)g(0) = -g'(0)f(0).$$  If $\mu$ is absolute continuous w.r.t. Lebesgue measure, we have $\frac{d\mu}{dx} = h$ $$\int f'gd\mu = \int f'gh dx = -\int f(gh)'dx$$ where $(gh)'dx$ might be a measure. but we can not recover the form $\int g'fh dx$.  Thank you very much! Can I run OSX applications? Solving $\sqrt{x+5} = x - 1$ how to prove that this positive sequence converges to 1 I have a positive infinite sequence $a_n$ and I know that $a_n$$a_{n+1}$ converges to 1 and also $a_n$$a_{n+2}$ converges to 1.  Why does it mean that $a_n$ also converges to 1? How can I prove it?  Thanks. Cauchy distribution characteristic function Confidence interval for the p-value estimate when doing Monte Carlo testing The second paragraph of the  section of the Wikipedia article on resampling statistics, the values of a confidence interval for a p-value from a MC sampling is given:     After $N$ random permutations, it is possible to obtain a confidence interval for the p-value based on the Binomial distribution. For example, if after $N = 10000$ random permutations the p-value is estimated to be $\hat{p}=0.05$, then a 99% confidence interval for the true $p$ (the one that would result from trying all possible permutations) is $[0.044, 0.056]$.   What's the formula to calculate it? Fourier transform of the indicator of the unit ball proper usage of didn't had or didnt have What happened to this user's rep, badges, and name? This user is only displaying 56 rep.   But surely (s)he has much more than that.        The user has also never given out any bounties.  Also, badges are missing: