如何在asp.net中使用VisM控件

编程入门 行业动态 更新时间:2024-10-14 16:20:58
本文介绍了如何在asp中使用VisM控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我通过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 Class

I 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.AxVisM

so how to solve this? I need helps

解决方案

GetKyokaiNm^YFVBS009(P0)" .ExecFlag = 1 gstrFormCaption = .PLIST End With getTitile = gstrFormCaption End Function End Class

I 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.AxVisM

so 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控件

本文发布于:2023-11-25 00:30:56,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1627570.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:控件   如何在   net   asp   VisM

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!