Click here to Skip to main content
15,445,997 members
Home / Discussions / Windows Development
   

Windows Development

 
AnswerRe: Set password for win7 and printer in LAN but printer sharing password no one knows ? Pin
Dave Kreskowiak30-Aug-19 2:45
mveDave Kreskowiak30-Aug-19 2:45 
AnswerRe: Set password for win7 and printer in LAN but printer sharing password no one knows ? Pin
Richard Deeming30-Aug-19 3:13
mveRichard Deeming30-Aug-19 3:13 
GeneralRe: Set password for win7 and printer in LAN but printer sharing password no one knows ? Pin
Member 24584678-Sep-19 16:28
MemberMember 24584678-Sep-19 16:28 
QuestionDiscovering footprints of loaded and then unloaded kernel mode drivers Pin
Rakanoth7-Aug-19 10:48
MemberRakanoth7-Aug-19 10:48 
QuestionMSI file traversal searching for a given property Pin
kalberts25-Jul-19 4:44
Memberkalberts25-Jul-19 4:44 
AnswerRe: MSI file traversal searching for a given property Pin
Dave Kreskowiak25-Jul-19 7:00
mveDave Kreskowiak25-Jul-19 7:00 
GeneralRe: MSI file traversal searching for a given property Pin
kalberts25-Jul-19 22:03
Memberkalberts25-Jul-19 22:03 
GeneralRe: MSI file traversal searching for a given property Pin
Dave Kreskowiak26-Jul-19 5:20
mveDave Kreskowiak26-Jul-19 5:20 
To get the ProductCode in VBScript is easy:
VB
Dim msi,database,view1,record,productCode

Set msi = CreateObject("WindowsInstaller.Installer")
Set database = msi.OpenDatabase(WScript.Arguments(0), 1)

Set view1 = database.OpenView("SELECT `Value` FROM `Property` WHERE `Property` = 'ProductCode'")
Call view1.Execute

Set record = view1.Fetch
If record Is Nothing Then
	MsgBox "Unable to find a ProductCode in the MSI database!"
	WScript.Quit
End if

productCode = record.StringData(1)

Set record = Nothing
view1.Close
Set view1 = Nothing
Set database = Nothing
Set msi = Nothing

InputBox "The ProductCode is:", WScript.Arguments(0), productCode


GeneralRe: MSI file traversal searching for a given property Pin
kalberts25-Jul-19 22:35
Memberkalberts25-Jul-19 22:35 
QuestionWiFi Driver Automatically Uninstalls, Stops Working at Random Intervals Pin
Albert T James3-Jul-19 19:49
MemberAlbert T James3-Jul-19 19:49 
AnswerRe: WiFi Driver Automatically Uninstalls, Stops Working at Random Intervals Pin
OriginalGriff3-Jul-19 19:54
mveOriginalGriff3-Jul-19 19:54 
QuestionPulling System Info and Automation Pin
Taziamoma24-May-19 7:34
MemberTaziamoma24-May-19 7:34 
AnswerRe: Pulling System Info and Automation Pin
Gerry Schmitz24-May-19 9:53
mveGerry Schmitz24-May-19 9:53 
GeneralRe: Pulling System Info and Automation Pin
Taziamoma24-May-19 11:19
MemberTaziamoma24-May-19 11:19 
AnswerRe: Pulling System Info and Automation Pin
Richard MacCutchan24-May-19 21:43
mveRichard MacCutchan24-May-19 21:43 
QuestionFind which process/executable is communicating with driver using IOCTL Pin
Rakanoth15-May-19 17:19
MemberRakanoth15-May-19 17:19 
AnswerRe: Find which process/executable is communicating with driver using IOCTL Pin
Richard MacCutchan15-May-19 21:36
mveRichard MacCutchan15-May-19 21:36 
QuestionThurrott: It’s “Game Over”, “UWP will disappear” Pin
Bruce Greene3-May-19 8:45
MemberBruce Greene3-May-19 8:45 
AnswerRe: Thurrott: It’s “Game Over”, “UWP will disappear” Pin
Gerry Schmitz3-May-19 8:56
mveGerry Schmitz3-May-19 8:56 
AnswerRe: Thurrott: It’s “Game Over”, “UWP will disappear” Pin
Pete O'Hanlon15-May-19 21:17
mvaPete O'Hanlon15-May-19 21:17 
Questionwhich window should i installing on my laptop Dell N5110 Pin
MA.Norouzifar13-Jul-18 1:03
MemberMA.Norouzifar13-Jul-18 1:03 
AnswerRe: which window should i installing on my laptop Dell N5110 Pin
Gerry Schmitz18-Jul-18 10:01
mveGerry Schmitz18-Jul-18 10:01 
AnswerRe: which window should i installing on my laptop Dell N5110 Pin
Dave Kreskowiak19-Jul-18 10:45
mveDave Kreskowiak19-Jul-18 10:45 
GeneralRe: which window should i installing on my laptop Dell N5110 Pin
Gerry Schmitz20-Jul-18 9:01
mveGerry Schmitz20-Jul-18 9:01 
Questionwhich window should i installing on my laptop Dell N5110 Pin
MA.Norouzifar13-Jul-18 1:03
MemberMA.Norouzifar13-Jul-18 1:03 

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.