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...
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"...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.