易截截图软件、单文件、免安装、纯绿色、仅160KB

假前最后一帖ASP调用VB组件

我用VB按MVC的构架写组件供ASP调用
BLL层
VB code:

Private Dal As New moonPotato_DAL
Public Sub inSertUser(Model As moonPotato_Model)
Dal.InSertCls (Model)
End Sub


ASP中调用
VB code:

Set BLL = server.CreatoObject("tttt.moonPotato_BLL")
Set Model= server.CreatoObject("tttt.moonPotato_Model")
Model.userName="123"
Model.userLevel="456"
BLL.inSertUser(Model)


这样就提对象不支持该属性或方法
如果BLL在VB中写,直接写在ASP中就正可正常执行,这是什么原恩


呵呵。问题已经解决了。
Dal.InSertCls (Model)
改成
Dal.InSertCls Model


引用
呵呵。问题已经解决了。
Dal.InSertCls (Model)
改成
Dal.InSertCls Model


用call Dal.InSertCls (Model) 也行



打酱油~~~~~


相关问答:

为什么C写DLL文件C、PB能调用VB不能调用

为什么C写的DLL文件C、PB能调用VB不能调用?
VB里为什么有的DLL直接通过引用可以使用?有的需要通过declare申明外部函数?这些DLL有什么差别?

1、为什么PB能通过DECLARE声明而VB不行?
2、如果这个dll中的 ......

asp文件解密

我有一个asp源码,但是出现一个文件,我用asp解密都是乱码
请教

VBScript code:
??

 %# , #&')*)-0-(0%()(?

(((((((((((((((((((((((((( ......

我是学习asp好呢 还是 asp.net

rt
一般来说还是学习后者好  但是主要看你的就业方向是哪个

哥哥,
都啥年代了
发展历程:asp -> asp.net -> asp.net ajax -> asp.net mvc ->wpf
你还学asp,那是2000年以前的技术。 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号