Click here to Skip to main content
15,908,172 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Load Report Failed in Crystal Reports Pin
kubben19-Apr-07 2:07
kubben19-Apr-07 2:07 
Question.Net - Which Is Best For Me. C++, VB or C#? Pin
wbwalsh18-Apr-07 13:45
wbwalsh18-Apr-07 13:45 
AnswerRe: .Net - Which Is Best For Me. C++, VB or C#? Pin
Dave Kreskowiak18-Apr-07 14:56
mveDave Kreskowiak18-Apr-07 14:56 
AnswerRe: .Net - Which Is Best For Me. C++, VB or C#? Pin
Christian Graus19-Apr-07 1:00
protectorChristian Graus19-Apr-07 1:00 
QuestionChange the Product Key of Windows XP Pin
GNX-Viper18-Apr-07 13:45
GNX-Viper18-Apr-07 13:45 
AnswerRe: Change the Product Key of Windows XP Pin
Dave Kreskowiak18-Apr-07 14:45
mveDave Kreskowiak18-Apr-07 14:45 
GeneralRe: Change the Product Key of Windows XP Pin
GNX-Viper18-Apr-07 15:05
GNX-Viper18-Apr-07 15:05 
GeneralRe: Change the Product Key of Windows XP Pin
Dave Kreskowiak18-Apr-07 16:03
mveDave Kreskowiak18-Apr-07 16:03 
So it is. My bad - please attribute it to cranial-rectal inversion.

The scripts are simple enough. It's just some WMI work. You can't translate the scripts to VB.NET code? All you need is the System.Management namespace classes to do this. Do a search to retrieve the Win32_WindowsProductActivation objects. Then iterate over the returned collection and Invoke the SetProductKey method on each instance.

The catch is you have to determine which version of Windows your running under and change between two different methods of changing the key. XP is different than XP SP1 and above.



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: Change the Product Key of Windows XP Pin
GNX-Viper18-Apr-07 16:12
GNX-Viper18-Apr-07 16:12 
GeneralRe: Change the Product Key of Windows XP Pin
Dave Kreskowiak19-Apr-07 1:37
mveDave Kreskowiak19-Apr-07 1:37 
GeneralRe: Change the Product Key of Windows XP Pin
Dave Sexton19-Apr-07 0:21
Dave Sexton19-Apr-07 0:21 
GeneralRe: Change the Product Key of Windows XP Pin
Dave Kreskowiak19-Apr-07 1:38
mveDave Kreskowiak19-Apr-07 1:38 
QuestionProgramaticaly change IE settings/ options Pin
JackBradford18-Apr-07 10:05
JackBradford18-Apr-07 10:05 
AnswerRe: Programaticaly change IE settings/ options [modified] Pin
Dave Kreskowiak18-Apr-07 10:47
mveDave Kreskowiak18-Apr-07 10:47 
QuestionVisual Studio 2005 Standard vs. Professional Pin
dptalt18-Apr-07 10:01
dptalt18-Apr-07 10:01 
QuestionVisual Studio 2005 Standard vs. Professional Pin
dptalt18-Apr-07 10:01
dptalt18-Apr-07 10:01 
AnswerRe: Visual Studio 2005 Standard vs. Professional Pin
MatrixCoder18-Apr-07 10:23
MatrixCoder18-Apr-07 10:23 
AnswerRe: Visual Studio 2005 Standard vs. Professional Pin
Dave Kreskowiak18-Apr-07 10:30
mveDave Kreskowiak18-Apr-07 10:30 
GeneralRe: Visual Studio 2005 Standard vs. Professional Pin
dptalt19-Apr-07 2:26
dptalt19-Apr-07 2:26 
QuestionChanging properties of control in Class module Pin
mhovidz18-Apr-07 9:29
mhovidz18-Apr-07 9:29 
AnswerRe: Changing properties of control in Class module Pin
JackBradford18-Apr-07 10:10
JackBradford18-Apr-07 10:10 
GeneralRe: Changing properties of control in Class module Pin
mhovidz18-Apr-07 10:27
mhovidz18-Apr-07 10:27 
AnswerRe: Changing properties of control in Class module Pin
Dave Kreskowiak18-Apr-07 10:25
mveDave Kreskowiak18-Apr-07 10:25 
Questioncreate event button by code Pin
reyhane18-Apr-07 7:05
reyhane18-Apr-07 7:05 
AnswerRe: create event button by code Pin
Dave Kreskowiak18-Apr-07 7:43
mveDave Kreskowiak18-Apr-07 7:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.