By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,384 Members | 1,094 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,384 IT Pros & Developers. It's quick & easy.

Set the value of MaximumSize in Win32_PageFileSetting

P: n/a
yxq
Hello,
http://msdn.microsoft.com/library/de...ilesetting.asp

I can only get the value of MaximumSize using Win32_PageFileSetting class,
but how to set the value?

The get value code
*********************************************
Imports System.Management

Public Sub GetPageFile()
search = New ManagementObjectSearcher("SELECT * From
Win32_PageFileSetting")

For Each info In search.Get()
MessageBox.Show(info("MaximumSize")).ToString)
Next
End Sub
Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.