I currently have an app in C#/WPF, and I have a manual on how to use it in pdf, and I'm thinking of adding a button that when clicked open the manual ... How can I do this?
Any ideas how to display a PDF file in a WPF Windows Application?     I am using the following code to run the browser but the Browser.Navigate method does not do anything!  WebBrowser browser = new WebBrowser(); browser.Navigate("http://www.google.com"); this.AddChild(browser); // this is the System.Windows.Window
Equivalent of *Nix 'which' command in PowerShell? How do I ask PowerShell where something is?    For instance, "which notepad" and it returns the directory where the notepad.exe is run from according to the current paths. Set default folder view in Windows In Windows Vista, whenever I open a folder, the selection of columns is nonsensical: album, date taken, etc., for folders that contain no music or pictures whatsoever. I can select the correct columns for a particular folder, but all the other folders are still wrong, even when I go in to Folder Options and click the button to set the current options to all folders of this type.  How can I tell Windows to use the current column selection for all folders, unless otherwise specified? That is, what are some good examples of vector spaces which are inner product spaces but in which not every Cauchy sequence converges? What is the alternative for Teamviewer? Is there any Ubuntu alternative for team-viewer software for Windows? How to Calculate the time of Charging and Discharging of battery? I created a test MVC sharepoint app succesfully in a solution. Now I need to integrate this into a main solution project.   But when I added a SharePoint MVC App into the solution and hit F5, I am getting following error:  Error occurred in deployment step 'Install app for SharePoint':  Failed to install app for SharePoint. Please see the output window for details.   Detailed stack trace:  CorrelationId: 50583239-71cb-4b07-8bcb-4bbc51a22631      ErrorDetail: There was a problem with activating the app web definition.      ErrorType: App      ErrorTypeName: App Related      ExceptionMessage: Microsoft.SharePoint.SPException: Exception from HRESULT: 0x81070964 ---&gt; System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x81070964 at Microsoft.SharePoint.Library.SPRequestInternalClass.EnableModuleFromXml(String bstrSetupDirectory, String bstrFeatureDirectory, String bstrUrl, String bstrXML, Boolean fForceUnghost, ISPEnableModuleCallback pModuleContext) at Microsoft.SharePoint.Library.SPRequest.EnableModuleFromXml(String bstrSetupDirectory, String bstrFeatureDirectory, String bstrUrl, String bstrXML, Boolean fForceUnghost, ISPEnableModuleCallback pModuleContext) --- End of inner exception stack trace --- at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionModules(SPFeaturePropertyCollection props, SPSite site, SPWeb web, SPFeatureActivateFlags activateFlags, Boolean fForce) at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionElements(SPFeaturePropertyCollection props, SPWebApplication webapp, SPSite site, SPWeb web, SPFeatureActivateFlags activateFlags, Boolean fForce) at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce) at Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly) at Microsoft.SharePoint.SPFeatureCollection.AddInternalWithName(Guid featureId, Int32 compatibilityLevel, String featureName, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly, SPFeatureDefinitionScope featdefScope) at Microsoft.SharePoint.SPFeatureCollection.AddInternal(Guid featureId, Version version, SPFeaturePropertyCollection properties, Boolean force, Boolean fMarkOnly, SPFeatureDefinitionScope featdefScope) at Microsoft.SharePoint.SPFeatureCollection.Add(Guid featureId, Boolean force, SPFeatureDefinitionScope featdefScope) at Microsoft.SharePoint.SPUserSolutionCollection.EnsureWebFeaturesActivated(SPUserSolution solution) at Microsoft.SharePoint.Packaging.SPUserCodeSolutionDeploymentGroup.ActivateSolution(SPWeb web, SPUserSolution solution) at Microsoft.SharePoint.Packaging.SPUserCodeSolutionDeploymentGroup.Deploy() at Microsoft.SharePoint.Administration.SPAppTask.DeployOperation() at Microsoft.SharePoint.Lifecycle.MonitoredTaskExecution.DoTask()      Source: AppWeb      SourceName: App Web Deployment   Can somebody shed a light on this issue? :) I have a problem regarding alignment for my equations.  This dummy program shows the problem:  \documentclass{article} \usepackage{amsmath} \begin{document}  \begin{enumerate}     \item First do this     \begin{align}     c^2 &amp;= a^2 + b^2     \end{align}      \item Then do this      \begin{align}     variable &amp;= c^2     \end{align} \end{enumerate}  \end{document}     I would like the = to be aligned under each other, but still be able to list them inside the enumerate.  Any suggestions? Can we have a way to edit bounty custom message? Idea of paying for things with time I recently read the .  This book had the idea of the time you live as something that can be used to pay for things. When you run out of "money" you die.  I was wondering is this the original source for this idea? Or does anyone know of an earlier book with the same idea? How do I read / convert an InputStream into a String in Java? hyperlink name with biblatex authoryear (biblatex 1.4b) I'm new here so I'm not sure if this is the right way to express my question:  I'm using the excellent biblatex package with the author-year style and want the links in my citations to include the name of the author as well as the parentheses. The answer presented at  did exactly what I wanted but it seems the solution is broken with the newest biblatex version 1.4b. Can anyone help me by adapting the code to the newest biblatex version? I've tried several things already,  std::stringstream m; m.empty(); m.clear();   both of which don't work. gedit: search and replace with regular expressions I want to replace this with gedit:   1299465 |  2003415 | 2015-09-06 05:35:34.59662+02  1299449 |  2009400 | 2015-09-06 05:35:32.301683+02  1299450 |  2008465 | 2015-09-06 05:35:32.451393+02  1299457 |  2015211 | 2015-09-06 05:35:33.451049+02   to that:  2003415 2009400 2008465 2015211   How can I do this with gedit?  Background: I want to do it with gedit and not sed/python/.... since the replace needs to be done interactive. SQL to LINQ Tool Is there a tool out there which can convert SQL syntax to LINQ syntax?   I just want to rewrite basic queries with join, etc., to . It would save me a lot of time. Natural Sort in MySQL antonym for beneficiary Is there an antonym for beneficiary that is not simply "giver" or "payer"? I'm looking for a word that roughly mean someone who loses financially in the case of an event. Although we can create or update fieldsets using salesforce UI but Is there any way to insert or update FieldSets using apex code (using metadata or API calls) ? Maximum number of edges in a bipartite graph Prove that for a bipartite graph $G$ on $n$ vertices the number of edges in $G$ is at most $\frac{n^2}{4}$.     I used induction on $n$.    Induction hypothesis: Suppose for a bipartite graph with less than $n$ vertices the result holds true.    Now take a bipartite graph on $n$ vertices.Let $x,y$ be two vertices in $G$ where an edge exist between $x$ and $y$. Now remove these two vertices from $G$ and consider this graph $G'$. $G'$ has at most ${(n-2)^2}\over4$. Add these two vertices back.  Then the number of edges $G$ can have is at most    $$|E(G')|+d(x)+d(y)-1$$   My question is in my proof I took $d(x) + d(y) \le n$, where $d(x)$ denotes the degree of vertex $x$.  Can I consider $d(x)+d(y) \leq n$? I thought the maximum number of edges is obtained at the situation $K_{\frac n 2,\frac n 2}$ Is there a formula for $(1+i)^n+(1-i)^n$? Finding the limit $\displaystyle\lim_{x\to 0+} \left(\frac{\sin x}x\right)^{1/{x^2}}$ Find the following limit: $$\displaystyle\lim_{x\to 0+} \left(\frac{\sin x}x\right)^{1/{x^2}}$$   Well I tried to do the $\exp\left(\frac{ \ln\frac{\sin x}{x}}{x^2}\right)$ then apply LHR but I seem to get to endless dervivations...   There's got to be a more simple approach.