N
Nick
I am trying to add a "Settings" page to some components in my sld file. My
example is a text box that will store the entered text as a value in the
registry.
The asp that accepts input is :
<%asp%>
<%= ASP.Header %>
<%= ASP.PropHandlers %>
<h1>
</h1>
<p>
</p>
<table>
<tr>
<td><label for="cmioemIPAddress">IP Address:</label></td>
<td><input type="text" style="WIDTH:120px" name="cmixDefPropHandler"
ID="cmioemIPAddress"></td>
</tr>
</table>
<%= ASP.Footer %>
and the vbs that is supposed to set the reg value is :
Option Explicit
'//event fired as part of the processing of method calls on CMI objects
Sub cmiOnEndBuild(dwFlags)
'//Trace Enter
Dim sProcName : sProcName = "INtimeDNS::cmiOnEndBuild"
oPL.TraceEnter sProcName ' //oPL - global object present
in Platform Script
'//Turn on DNS
oPL.TargetRegEdit cRegOpWrite, cRegCondAlways, cmiREG_SZ,
"HKEY_LOCAL_MACHINE\SOFTWARE\TEST\DNS", "", "ON", cmiString
'//Trace Exit
oPL.TraceLeave sProcName
End Sub
when i try to build the image with target designer i get a error :
Configuration Management Interface (CMI) Error
Code = 0x80042337
Description = The CMI encountered an unexpected COM error. For more
information see the application event log.
Now, i'm neither a ASP or VBS expert, so any help would be appreciated.
example is a text box that will store the entered text as a value in the
registry.
The asp that accepts input is :
<%asp%>
<%= ASP.Header %>
<%= ASP.PropHandlers %>
<h1>
</h1>
<p>
</p>
<table>
<tr>
<td><label for="cmioemIPAddress">IP Address:</label></td>
<td><input type="text" style="WIDTH:120px" name="cmixDefPropHandler"
ID="cmioemIPAddress"></td>
</tr>
</table>
<%= ASP.Footer %>
and the vbs that is supposed to set the reg value is :
Option Explicit
'//event fired as part of the processing of method calls on CMI objects
Sub cmiOnEndBuild(dwFlags)
'//Trace Enter
Dim sProcName : sProcName = "INtimeDNS::cmiOnEndBuild"
oPL.TraceEnter sProcName ' //oPL - global object present
in Platform Script
'//Turn on DNS
oPL.TargetRegEdit cRegOpWrite, cRegCondAlways, cmiREG_SZ,
"HKEY_LOCAL_MACHINE\SOFTWARE\TEST\DNS", "", "ON", cmiString
'//Trace Exit
oPL.TraceLeave sProcName
End Sub
when i try to build the image with target designer i get a error :
Configuration Management Interface (CMI) Error
Code = 0x80042337
Description = The CMI encountered an unexpected COM error. For more
information see the application event log.
Now, i'm neither a ASP or VBS expert, so any help would be appreciated.