1. P

    Question unable to copy embedded resources to disk when using codedom

    I am running the below code to copy embedded resource to disk at run time in the application which works fine (the embedded resource file is added in the project resources folders and set as embedded resource in the properties): Public Function CopyResourceToDisk(ByVal ResourceName As...
  2. P

    Question autostart the application when windows starts

    what is the best way to add the application in startup apps of windows ? I got this code Dim regKey As Microsoft.Win32.RegistryKeyregKey regKey = Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion\Run", True) regKey.SetValue("YourApplicationName"...
  3. N

    Question Code Generation with CodeDOM

    I am working on a method that generates another class using the CodeDom, VBCodeProvider, and whatever other classes are necessary. I will be using the method in a Windows Phone 7 (and possibly at some point Windows Phone 8) app, so my first question is, "Are all the necessary classes available...