我通过VisM控件将我的应用程序连接到缓存对象db,这是我的VB代码:
公开 类 clsConnect 公共 功能 getTitile()作为 字符串 Dim gstrFormCaption As String Dim VisM As 新 AxVISMLib.AxVisM VisM.CreateControl() 使用 VisM .VALUE = .PLIST = .MServer = CN_IPTCP:127.0.0.1 [1972]:127.0.0.1 [1972] 。 NameSpace = MAXHEART .PDELIM = ?r .P0 = .Code = 设置VALUE = $$ GetKyokaiNm ^ YFVBS009(P0) .ExecFlag = 1 gstrFormCaption = .PLIST 结束 使用 getTitile = gstrFormCaption 结束 功能 结束 班级我将此更改为asp代码 我已经创建了一个类库并引用了类库来调用getTitile()函数 但是这里有一个错误: 对于当前线程不是单线程的公寓,你不能实例化'88f75483-0574-11d0-8085-0000c0bd354b'ActiveX控件。 br /> 在
Dim VisM As 新 AxVISMLib.AxVisM所以如何解决这个问题? 我需要帮助
解决方案GetKyokaiNm ^ YFVBS009(P0) .ExecFlag = 1 gstrFormCaption = .PLIST 结束 使用 getTitile = gstrFormCaption 结束 功能 结束 类
我想将此更改为asp代码 我创建了一个类库并引用了类库调用getTitile()函数 但这里有一个错误: 对于当前线程不是单线程的公寓,你无法实例化'88f75483-0574- 'dd Vism 作为 新 AxVISMLib.AxVisM
那么如何解决这个问题? 我需要帮助
我尝试使用,但我发现错误消息框显示Err.Number = 52 这一行 YFCom._VisualM Vism = new YFCom.VisualM();
I've connected my app to cache object db via VisM control, here is my VB code:
Public Class clsConnect Public Function getTitile() As String Dim gstrFormCaption As String Dim VisM As New AxVISMLib.AxVisM VisM.CreateControl() With VisM .VALUE = "" .PLIST = "" .MServer = "CN_IPTCP:127.0.0.1[1972]:127.0.0.1[1972]" .NameSpace = "MAXHEART" .PDELIM = "r" .P0 = "" .Code = "set VALUE=$$GetKyokaiNm^YFVBS009(P0)" .ExecFlag = 1 gstrFormCaption = .PLIST End With getTitile = gstrFormCaption End Function End ClassI want to change this to asp code I've created a class library and referenced to the class library to call getTitile() function but there's a error here: "For the current thread is not a single-threaded apartment, you can not instantiate the '88f75483-0574-11d0-8085-0000c0bd354b 'ActiveX control." at line
Dim VisM As New AxVISMLib.AxVisMso how to solve this? I need helps
解决方案 GetKyokaiNm^YFVBS009(P0)" .ExecFlag = 1 gstrFormCaption = .PLIST End With getTitile = gstrFormCaption End Function End ClassI want to change this to asp code I've created a class library and referenced to the class library to call getTitile() function but there's a error here: "For the current thread is not a single-threaded apartment, you can not instantiate the '88f75483-0574-11d0-8085-0000c0bd354b 'ActiveX control." at line
Dim VisM As New AxVISMLib.AxVisMso how to solve this? I need helps
i try to use, but i found error Message Box Show "Err.Number = 52" this line YFCom._VisualM Vism = new YFCom.VisualM();更多推荐
如何在asp.net中使用VisM控件
发布评论