Search results for query: *

  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 vb.net 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

    I resolved it by taking the path location of exe at run time.
  3. P

    Question autostart the application when windows starts

    what is the best way to add the vb.net 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"...
  4. P

    Question Read and delete contents from a text file

    Thank you so much :courage: @jmcilhinney
  5. P

    Question Read and delete contents from a text file

    In my vb.net application there is a requirement that the program should read the contents of a log file after every 24 hours and flush the file contents so that new logs can be added to it then. I can easily add the timer to do this on regular time intervals but facing problems in getting the...
Back
Top