资源列表
q12w3e4r
- .如何使用 使用这个控制之前, 我建议您先看一下有关Atscr ipt文件,知道您能在您的脚本中做些什么。 http://www.InstallAide.com/atscr ipt.asp 。 .
zaqwe3
- 一、写一个脚本 创建一个简单的脚本 Section Main msgbox "hello" End Section 一 、写一个脚本 创建一个简单的脚本 Section Main msgbox "hello" End Section -一、写一个脚本 创建一个简单的脚本 Section Main msgbox "hello" End Section 一、写一个脚本
zaqwe389
- 二、如何运行脚本 调用方法非常简单,如下所示: CAtsEngineEng CStringstrPrompt UpdateData() Eng.Loadscr ipt( m_strscr ipt ) 二、如何运行脚本 调用方法非常简单,如下所示: CAtsEngineEng CStringstrPrompt UpdateData() Eng.Loadscr ipt( m_strscr ipt )
zaqwe38909
- if( !Eng.RunSegment( "Main") ) { strPrompt.Format("scr ipt is error, ErrorCode= d,Line = d,ErrorWord= s" , Eng.m_nLastErrorCode , Eng.m_nErrorLine , Eng.m_strErrorWord ) AfxMessageBox( strPrompt ) } if( !Eng.RunSegment( "Main") ) { st
zaqwe38909000
- 三、如何扩展脚功能 在atscr ipt中,那是很容易的 1. 创建 的对象类 class CMyAtsObj : public CAtsObject { public: CMyAtsObj() virtual ~CMyAtsObj()
zxcdsw
- virtual BOOL DoFun( LPCTSTR strFunName , CAtsParam *pParam ) virtual CAtsVarItem * GetVarItem(LPCTSTR sName ) virtual BOOL SetVar(LPCTSTR strName , LPCTSTR strData) public: } virtual BOOL D oFun( LPCTSTR strFunName , CAtsParam *pPara
zxcdsw00000
- 2. 创建一个对象的函数 BOOL CMyAtsObj::DoFun( LPCTSTR sFunName , CAtsParam *pParam ) { CStringstrFunName = sFunName if( strFunName.CompareNoCase("Test") == 0 ) { AfxMessageBox( pParam->GetItemData(1) ) return true } 2. 创建一个对象的函数
zxcdsw00000q12
- else if( strFunName.CompareNoCase("GetName") == 0 ) { pParam->SetReturnData( _T("MyObj") ) return true } return false } else if( strFunName.CompareNoCase("GetName") == 0 ) { pParam->SetReturnData( _T("MyObj") ) return
vfr5th6123
- strPrompt.Format("scr ipt is error, ErrorCode= d,Line = d,ErrorWord= s" , Eng.m_nLastErrorCode , Eng.m_nErrorLine , Eng.m_strErrorWord ) AfxMessageBox( strPrompt ) } 4. 使用对象 Section Main var @a as AtsString @a = myobj.getname() st
NtestDBA
- vc 与SQL 连接 测试程序。书写上传资料的详细功能。包含说明注释-vc SQL2005
zasdewrr45q12w3e4
- CJfHyperLink::CJfHyperLink() { m_pOwner = false m_bOverControl = FALSE // Cursor not yet over control m_bVisited = FALSE // Link has not been visited yet m_bLinkActive = FALSE // Control doesn t own the focus yet m_strURL.E
TestIP
- vc 与SQL 连接 测试程序。书写上传资料的详细功能。包含说明注释-vc testing procedures with the SQL connection. Writing a detailed functional uploading. Contains explanatory notes
