I have been working on the key input box, set the CharacterCasing property for the text box to upper Code: Private Sub TextBox1_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress If (e.KeyChar < "0" OrElse e.KeyChar > "9") AndAlso e.KeyChar <> ControlChars.Back AndAlso e.KeyChar < "a" OrElse e.KeyChar > "z" Then e.Handled = True End If If e.KeyChar = ControlChars.Back Then If TextBox1.TextLength = 8 Then TextBox1.Text = TextBox1.Text.Substring(0, TextBox1.TextLength - 3) TextBox1.SelectionStart = TextBox1.Text.Length TextBox1.SelectionLength = 0 End If If TextBox1.TextLength = 16 Then TextBox1.Text = TextBox1.Text.Substring(0, TextBox1.TextLength - 3) TextBox1.SelectionStart = TextBox1.Text.Length TextBox1.SelectionLength = 0 End If If TextBox1.TextLength = 24 Then TextBox1.Text = TextBox1.Text.Substring(0, TextBox1.TextLength - 3) TextBox1.SelectionStart = TextBox1.Text.Length TextBox1.SelectionLength = 0 End If If TextBox1.TextLength = 32 Then TextBox1.Text = TextBox1.Text.Substring(0, TextBox1.TextLength - 3) TextBox1.SelectionStart = TextBox1.Text.Length TextBox1.SelectionLength = 0 End If End If If TextBox1.TextLength = 37 Then If e.KeyChar = ControlChars.Back Then e.KeyChar = ControlChars.Back Else e.KeyChar = Nothing End If End If End Sub Private Sub TextBox1_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown If TextBox1.TextLength = 5 Then TextBox1.AppendText(" - ") End If If TextBox1.TextLength = 13 Then TextBox1.AppendText(" - ") End If If TextBox1.TextLength = 21 Then TextBox1.AppendText(" - ") End If If TextBox1.TextLength = 29 Then TextBox1.AppendText(" - ") End If End Sub Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged If TextBox1.TextLength = 37 Then TextBox1.TextAlign = HorizontalAlignment.Center Else TextBox1.TextAlign = HorizontalAlignment.Left End If End Sub End Class
i thought the folder names looked familiar and thanks for the code worked great might redo it for c# tho no clue yet
Where the hell can we get the official ones? Or at least some of the major ones... can't find a thread here with them... Let me know if any of you can find them.. maybe the thread starter ;P
WOW!!! I just love it Please also include the OEM branding as optional. I mean people get to choose (yes or no option) while installing the cert and key whether they want to install OEM branding too or not! Thanks again
Would be very nice, if there was a sort of Repository with .xrm-ms certificates, OEM keys and OEM logos here on MDL - not like a forum thread, but a sort of web-folder, where moderator may put this files. And the app might not only browse local disks for certificates, etc (that takes time to find needed), but might suggest to chose it from web - with predefined links for Certs, Keys and Logos repository. So I just run App, select "browse repository" and chose waht I want. No need to rebuild app when new certs/keys are available, and it is always actual.
Wouldn't need to update it for keys and certs anyway..that is why I wanted the browse functions for them and the use of a answer INI file so it can be modified. As far as connecting online, I wouldn't want that ither as it may get flagged by AV's and will only work if the host remained valid. If the app is being built with answer files it can be updated/edited by the user to fit their needs so everything would be supplied by the user for the things they need it to do. If it came preset for Windows 7 keys it could be modified to work with Vista and Server 08 easily this way. Things are looking good guys..cant wait to check it out.