Click here to Skip to main content
15,891,633 members
Home / Discussions / Web Development
   

Web Development

 
QuestionHelp on WEB data Pin
Paolo Turrini22-Jun-09 5:54
Paolo Turrini22-Jun-09 5:54 
AnswerRe: Help on WEB data Pin
DoctorMick22-Jun-09 6:21
DoctorMick22-Jun-09 6:21 
QuestionSending Emails Pin
LucBite22-Jun-09 5:11
LucBite22-Jun-09 5:11 
AnswerRe: Sending Emails Pin
Expert Coming22-Jun-09 5:20
Expert Coming22-Jun-09 5:20 
AnswerRe: Sending Emails Pin
Gary Stafford23-Jun-09 13:12
Gary Stafford23-Jun-09 13:12 
QuestionMaintain cursor in parent window when pop-up opens.... Pin
Khawar Abbas121-Jun-09 18:55
Khawar Abbas121-Jun-09 18:55 
AnswerRe: Maintain cursor in parent window when pop-up opens.... Pin
DoctorMick22-Jun-09 6:23
DoctorMick22-Jun-09 6:23 
QuestionExport "Installed Updates" In vista Using VBscript Pin
Geo S Neeliyara21-Jun-09 18:39
Geo S Neeliyara21-Jun-09 18:39 
Hello,

How can i export "Installed Updates"(vista) list to text file.
I tried with win32_quickfixengineering class and windows update history.

but the problem is, "description" property of above two class is not matching with "Installed Updates" result.

I need to export the list to text file exactly the "Installed Updates" shows.

I am attaching the code also(which i tried)

-----------------------------------------------------------------
using quick fix engineering

strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_QuickFixEngineering",,48)

Set objFSO = CreateObject("Scripting.FileSystemObject")

if objFSO.FileExists(outputPath & "PrgList.txt") then
objFSO.DeleteFile outputPath & "PrgList.txt",True
end if

Set filePrgList = objFSO.CreateTextFile(outputPath & "PrgList.txt", True)

For Each objItem in colItems
filePrgList.WriteLine("Caption: " & objItem.Description)
Next

filePrgList.close

Set filePrgList = nothing
Set objFSO = nothing
-----------------------------------------------------------------------
Using Update History

Set objSession = CreateObject("Microsoft.Update.Session")
Set objSearcher = objSession.CreateUpdateSearcher
intHistoryCount = objSearcher.GetTotalHistoryCount

Set colHistory = objSearcher.QueryHistory(1, intHistoryCount)

For Each objEntry in colHistory

Wscript.Echo "Description: " & objEntry.Description

Next
AnswerRe: Export "Installed Updates" In vista Using VBscript Pin
wSWs30jY6tgX18-Feb-10 18:48
wSWs30jY6tgX18-Feb-10 18:48 
QuestionHow I can Convert one Color to Another Color Pin
Saba0220-Jun-09 2:18
Saba0220-Jun-09 2:18 
AnswerRe: How I can Convert one Color to Another Color Pin
Not Active20-Jun-09 4:13
mentorNot Active20-Jun-09 4:13 
AnswerRe: How I can Convert one Color to Another Color Pin
Gary Stafford23-Jun-09 16:22
Gary Stafford23-Jun-09 16:22 
QuestionHelp in tool tip alignment in Gridview Pin
www.Developerof.NET19-Jun-09 22:00
www.Developerof.NET19-Jun-09 22:00 
QuestionGenerate word document from web form Pin
Hemant Thaker18-Jun-09 23:12
Hemant Thaker18-Jun-09 23:12 
AnswerRe: Generate word document from web form Pin
Not Active19-Jun-09 2:44
mentorNot Active19-Jun-09 2:44 
GeneralRe: Generate word document from web form Pin
Hemant Thaker19-Jun-09 4:37
Hemant Thaker19-Jun-09 4:37 
GeneralRe: Generate word document from web form Pin
Not Active19-Jun-09 5:08
mentorNot Active19-Jun-09 5:08 
QuestionRe: Generate word document from web form Pin
led mike19-Jun-09 5:18
led mike19-Jun-09 5:18 
QuestionRe: Generate word document from web form Pin
Hemant Thaker19-Jun-09 23:17
Hemant Thaker19-Jun-09 23:17 
AnswerRe: Generate word document from web form Pin
Not Active20-Jun-09 4:07
mentorNot Active20-Jun-09 4:07 
AnswerRe: Generate word document from web form [modified] Pin
Gary Stafford21-Jun-09 8:38
Gary Stafford21-Jun-09 8:38 
QuestionRe: Generate word document from web form Pin
Hemant Thaker21-Jun-09 23:41
Hemant Thaker21-Jun-09 23:41 
QuestionRe: Create Header in word document dynamically Pin
Hemant Thaker23-Jun-09 3:30
Hemant Thaker23-Jun-09 3:30 
AnswerRe: Create Header in word document dynamically Pin
Gary Stafford23-Jun-09 12:56
Gary Stafford23-Jun-09 12:56 
GeneralRe: Create Header in word document dynamically Pin
Hemant Thaker26-Jun-09 23:55
Hemant Thaker26-Jun-09 23:55 

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.