I have a few .reg files that I would like to be able to call from my app. How can I call these .reg files from an OnClick event? Is there a better way that I can do this?
If you don't want to show any message (when you import a reg file from windows, it warns), you'll need to code it by yourself. Check this link http://www.codeproject.com/KB/vb/registry_with_vb.aspx, this one http://www.macoratti.net/vbn_reg.htm (it is in portuguese, use google translate) or even this one http://msdn.microsoft.com/en-us/library/aa289494%28v=vs.71%29.aspx.
But, if you don't care about it, you can try using
Process.Start("regedit.exe", "path to reg file")
A quick search on google may help even more.
If this got your question solved, simply mark this thread as solved. And I'm glad I could help (:
Hello, I work at the U.S. Department of Labor. I am a maintenance prorgrammer of C code, and the configuration management of this code in the past has been very ...
Please I have an autocomplete textbox which fetches value from a tabe in the database. But after i choose the name i want to get the id of the value ...
Please tell me why triangle shape is redrawing on mouse move. It want triangle shape draw only once until mouse release.
Here is my code below. Thank you ...