Windows 2000安全与安全描述符深度解析
1. 字符串比较示例
在进行系统开发时,有时需要比较两个字符串的值。以下代码展示了如何比较两个字符串并向用户显示结果:
'--- Compare the two string values
bRtnValue = m_rs.GetBoolean(txtRow1Name.Text, txtRow2Name.Text)
'--- Do they match?
If bRtnValue Then
'--- Yes, tell the user
MsgBox "The two row names match."
Else
'--- No, tell the user
MsgBox "The two row names do not match."
End If
'--- Exit the sub
Exit Sub
cmdCompareStrings_Click_Err:
'--- Report the error that occurred
MsgBox "Error : " + CStr(Err.Number) + " - " + Err.Description
End Sub
运行此应用程序,将两个行名传递给服务器对象,就能向用户显示比较结果。
2. 基于DCOM和SSL构建安全应用
通过构建位于IIS服务器上的服务器组件,如果在IIS上启用了SSL,就可以在客户端和服务器之间传递安全信息。使用RDS(Remote Data Service)能轻松实现这一点,当客户端安装了
超级会员免费看
订阅专栏 解锁全文
3007

被折叠的 条评论
为什么被折叠?



