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 there. i needed a little help in writing coding for reading multiple lines of data from a .txt file that are seperated by commas.
Student Name, Student ID, Mark ...
i have these GNU macro:
#if defined __GNUC__ #define EVENT [[gnu::weak]] #elif defined __clang__ #define EVENT [[llvm::weak]] #endif #define IS_EVENT_DEFINED(sym) (static_cast<bool>(sym))
these macro works fine. and help me test if ...
APLX is a very complete implementation of the APL programming language from MicroAPL. The company stopped producing it in 2016 and it has been taken over by Dyalog. While Dyalog ...