Jump to content

reg problem


Merchants
 Share

Recommended Posts

  • Developers

... and the question is?

by the way: why is this thread in this particular forum that deals with AutoIt3 GUI issues?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

... and the question is?

by the way: why is this thread in this particular forum that deals with AutoIt3 GUI issues?

oops sry that i post this in the wrong thread

it is just like this but then i need the exe

; AutoITCOM 3.1.0
;
;
; Testing ByRef variables on COM function calls
;
; Retrieving the Internet Explorer home page value using registry-read by WMI


$HKEY_CURRENT_USER = 0x80000001

$strComputer = @ComputerName

$objReg = ObjGet("winmgmts:\\" & $strComputer & "\root\default:StdRegProv")
$strKeyPath = "SOFTWARE\Microsoft\Internet Explorer\Main"
$ValueName = "Start Page"
$strvalue = ""
$return = $objReg.GetStringValue($HKEY_CURRENT_USER,$strKeyPath,$ValueName,$strValue)


If $strValue="" Then
    msgbox(0,"WMIGetStringTest", "The value of your IE start page is either Null or could not be found in the registry.")
Else
    msgbox(0,"WMIGetStringTest","Your Internet Explorer start page is: " & @CRLF & $strValue)
EndIf
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...