All About .reg file
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
10 posts
Page 1 of 1
HELLO GUYS,
I'm creating a project in vb.net that will create a .reg file and silently add it to the registry.
I know how to create .reg file but I don't know how to silently add it to the registry .
Is it possible to create a .reg file and directly add it to the registry ? If that so, how can I do that ?
boogy; I will put your name on my project as soon as I finish it as contributor to my project. boogy;
SUMMARY PROBLEM :
* Add silently .reg file to registry file
* If possible create .reg file directly to Registry
Thanks for reading this and your awesome for helping me (in advance) clapper; clapper;
I'm creating a project in vb.net that will create a .reg file and silently add it to the registry.
I know how to create .reg file but I don't know how to silently add it to the registry .
Is it possible to create a .reg file and directly add it to the registry ? If that so, how can I do that ?
boogy; I will put your name on my project as soon as I finish it as contributor to my project. boogy;
SUMMARY PROBLEM :
* Add silently .reg file to registry file
* If possible create .reg file directly to Registry
Thanks for reading this and your awesome for helping me (in advance) clapper; clapper;
Last edited by Rhez on Thu Nov 13, 2014 10:50 am, edited 1 time in total.
creating malware ?
I just want to edit the license of my software in another program ..
If I will create malware then why I would like to place the name of those who help me there ?
I just want to edit the license of my software in another program ..
If I will create malware then why I would like to place the name of those who help me there ?
I was just asking lol if its changing the license then there should be no issue in the user getting a notification to change registry keys or just make it a requirement that the user has to have UAC or ran as an administrator thats the only way i know
Hey #Rhez,
Regarding licensing, you can use some sort of RSA encrypted licensing file and store it in AppData or the current working directory! It should work as expected. [Trust me, 5 years of research in this field] Should you need any code, PM me!
Cheers!
Regarding licensing, you can use some sort of RSA encrypted licensing file and store it in AppData or the current working directory! It should work as expected. [Trust me, 5 years of research in this field] Should you need any code, PM me!
Cheers!
visualtech wrote:Hey #Rhez,Thanks for that tips sir But I just want all my work go to be easy.
Regarding licensing, you can use some sort of RSA encrypted licensing file and store it in AppData or the current working directory! It should work as expected. [Trust me, 5 years of research in this field] Should you need any code, PM me!
Cheers!
I'll make a .reg file just like this
[HKEY--BLAHBLAHBLAH]
"name"=" FreeUSER "
"key"="ABCD-EFGH-IJKL-MNOP"
...
just like that then silently add it to the registry. Can anyone help ?
Why not just use VB built in registry functions: http://msdn.microsoft.com/en-us/library/85t3c3hf.aspx
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
Well, you CAN use that, but should you? The user can change it! Have some sort of private/public (Asymmetric) algorithm to check the signature of the key!
Rhez wrote: just like that then silently add it to the registry. Can anyone help ?You can import the data with regedit in silent mode:
Code: Select all
Dim psi As ProcessStartInfo = New ProcessStartInfo()
psi.FileName = "regedit.exe"
psi.Arguments = "/s file.reg"
Process.Start(psi)
mandai wrote:Thanks to all of your IDEA ^_^ .. Specially on sir CodenStuff and the tips of sir visualtech ( I am newbie in this field , thanks for the help. My problem is fix )Rhez wrote: just like that then silently add it to the registry. Can anyone help ?You can import the data with regedit in silent mode:Code: Select allDim psi As ProcessStartInfo = New ProcessStartInfo() psi.FileName = "regedit.exe" psi.Arguments = "/s file.reg" Process.Start(psi)
10 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023