Webmaster Forum

Go Back   Webmaster Forum > Scripting/Programming & Debugging > ASP & VBScript Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

ASP & VBScript Forum Need help from a webmaster with ASP or VBScript, you may ask in this forum?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-27-2007, 06:47 AM
general_iroh general_iroh is offline
Junior Member
 
Join Date: Jun 2007
Posts: 1
general_iroh is an unknown quantity at this point
Submit to Clesto Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Jeqq Submit to Spurl
Exclamation VBScript Permission Access Denied

Hey All
I'm newbie in VBScript
I have error in the following Code :

Set us = CreateObject("Microsoft.Update.Session")
Set updates = CreateObject("Microsoft.Update.UpdateColl","IP")

updateTitle = "Security Updates for Windows 2000 (KB914388)"


Set download = us.CreateUpdateDownloader()
Set usearch = us.CreateupdateSearcher()
Set usresult = usearch.Search("IsInstalled=0 Or IsInstalled=1 and Type='Software'")

For a = 0 to usresult.Updates.Count - 1
Set patch = usresult.Updates.Item(a)
if UCase(updateTitle) = UCase(patch.Title) Then
updates.Add(patch)
End If
Next

download.Updates = updates
download.Download()


I want to update remote computer using WUA,
and i perform that task using VBScript

I have tried this solution that i get from internet :
Configure DCOM properties
Configure scrrun.dll
etc

But All failed
please help me
Reply With Quote

This ad is part of our Revenue Sharing program
  #2 (permalink)  
Old 06-28-2007, 04:16 AM
ALL's Avatar
ALL ALL is offline
Senior Member
 
Join Date: Oct 2006
Location: Sturgis, SD
Posts: 145
ALL is on a distinguished road
Submit to Clesto Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Jeqq Submit to Spurl
Default

that is because IE will not allow you to have access to that type of information due to security risks.

You *might* beable to turn security all the way to it's lowest possable state, but chances are it still wont work.

You should just write an Active X controll to do what you want, i believe there is still a free version of VB5 that will allow you to write Active X controlls,

-ALL
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VBScript Function for Compound Primary Key wacara ASP & VBScript Forum 1 05-10-2007 02:29 PM


All times are GMT. The time now is 02:54 AM.


Creative Commons License
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30