<html>
<head>
<link href="mmres://user_interface_reference.css" rel="stylesheet" type="text/css">
<title>SETPROFILESTRING</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
   <div id="">
   <table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
      <tr> 
         <td valign="top" class="name">SETPROFILESTRING</td>
         <td valign="top" nowrap class="compatibility">&nbsp;</td>
      </tr>
      <tr>
         <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
      </tr>


    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title"></span>
<p>
t@C̃vt@CGg̒lݒ肵܂B
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">߂l</span>
<p>
Ɏsꂽꍇ͋̕AłȂꍇ̓G[bZ[W
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">JeS</span>
<p>
VXe֐
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">֐̃V^bNX</span><pre>SetProfileString(<i>ini</i>Path, section, entry, value)
</pre>    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">֘A</span>
<p>
GetProfileSectionsAGetProfileStringASetProfileString
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">p[^</span>
<p>

</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title"></span><pre>&lt;h3&gt;SetProfileString ̗&lt;/h3&gt;
̗ł́ASetProfileString gpāAt@C̃^CAEglݒ肵܂Bt@C̐
΃pX͂A^CAEglݒ肵āAtH[𑗐M܂B
&lt;!--- ̃ZNVł́AtH[MꂽǂmF܂BMꂽꍇ́ApXу^
CAEglAtH[Ŏw肳ꂽpXƃ^CAEglɐݒ肵܂B ---&gt;
&lt;cfif Isdefined(&quot;Form.Submit&quot;)&gt;

   &lt;cfset IniPath = FORM.iniPath&gt;
   &lt;cfset Section = &quot;boot loader&quot;&gt;
   &lt;cfset MyTimeout = FORM.MyTimeout&gt;
   &lt;cfset timeout = GetProfileString(IniPath, Section, &quot;timeout&quot;)&gt;

   &lt;cfif timeout Is Not MyTimeout&gt;
    &lt;cfif MyTimeout Greater Than 0&gt;
       &lt;hr size = &quot;2&quot; color = &quot;#0000A0&quot;&gt;
      &lt;p&gt;^CAEgl &lt;cfoutput&gt;#MyTimeout#&lt;/cfoutput&gt; ɐݒ肵܂B
      &lt;/p&gt;
         &lt;cfset code = SetProfileString(IniPath, 
            Section, &quot;timeout&quot;, MyTimeout)&gt;
      &lt;p&gt;SetProfileString ̖߂l : 
            &lt;cfoutput&gt;#code#&lt;/cfoutput&gt;&lt;/p&gt;
      &lt;cfelse&gt;
         &lt;hr size = &quot;2&quot; color = &quot;red&quot;&gt;
         &lt;p&gt;鎞Ԃ[U[ɗ^邽߂ɁA^CAEglɂ
            [ł͂Ȃ̐lw肷Kv܂B&lt;/p&gt;
         &lt;hr size = &quot;2&quot; color = &quot;red&quot;&gt;   
      &lt;/cfif&gt;
   &lt;cfelse&gt;
      &lt;p&gt;t@C̃^CAEgĺA
         &lt;cfoutput&gt;#MyTimeout#&lt;/cfoutput&gt; ɐݒ肳Ă܂B&lt;/p&gt;   
   &lt;/cfif&gt;
   &lt;cfset timeout = GetProfileString(IniPath, Section, &quot;timeout&quot;)&gt;
   &lt;cfset default = GetProfileString(IniPath, Section, &quot;default&quot;)&gt;
   
   &lt;h4&gt;u[g[_[&lt;/h4&gt;
   &lt;p&gt;^CAEg̐ݒl : &lt;cfoutput&gt;#timeout#&lt;/cfoutput&gt;&lt;/p&gt;
   &lt;p&gt;ftHg̃fBNg : &lt;cfoutput&gt;#default#&lt;/cfoutput&gt;&lt;/p&gt;
      
&lt;/cfif&gt;

&lt;form action = &quot;setprofilestring.cfm&quot;&gt;
&lt;hr size = &quot;2&quot; color = &quot;#0000A0&quot;&gt;
&lt;table cellspacing = &quot;2&quot; cellpadding = &quot;2&quot; border = &quot;0&quot;&gt;
&lt;tr&gt;
  &lt;td&gt;t@C̐΃pX&lt;/td&gt;
  &lt;td&gt;&lt;input type = &quot;Text&quot; name = &quot;IniPath&quot; 
            value = &quot;C:myboot.ini&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td&gt;^CAEg&lt;/td&gt;
  &lt;td&gt;&lt;input type = &quot;Text&quot; name = &quot;MyTimeout&quot; value = &quot;30&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td&gt;&lt;input type = &quot;Submit&quot; name = &quot;Submit&quot; value = &quot;M&quot;&gt;&lt;/td&gt;
  &lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/form&gt;
</pre>
         </td>
      </tr>
   </table>
   </div>
<div id="INIPATH">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">INIPATH</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

 </td>
  </tr>
  <tr>
    <td>t@C̐΃pXłB


  </td>
  </tr>
  </table>
</div>
<div id="SECTION">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">SECTION</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

 </td>
  </tr>
  <tr>
    <td>t@C̃ZNVłBŎw肵ZNV̒ɃGgݒ肳܂B


  </td>
  </tr>
  </table>
</div>
<div id="ENTRY">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">ENTRY</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

 </td>
  </tr>
  <tr>
    <td>ݒ肷Gg̖OłB


  </td>
  </tr>
  </table>
</div>
<div id="VALUE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">VALUE</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

 </td>
  </tr>
  <tr>
    <td>Ggɐݒ肷lłB


  </td>
  </tr>
  </table>
</div>

  </body>
</html>
