找回密码
 注册账号

QQ登录

只需一步,快速开始

手机号码,快捷登录

手机号码,快捷登录

初学者课程:T3自学|T6自学|U8自学软件下载课件下载工具下载资料:通资料|U8资料|NC|培训|年结积分规则 | 使用常见问题Q&A
知识库:U8 | | NC | U9 | OA | 政务U8|U9|NCC|NC65|NC65客开|NCC客开新手必读 | 任务 | 快速增金币用友QQ群[微信群]
楼主: op336

[模式] 单据二次开发接口VoucherPluginDEMO

 火.. [复制链接]
发表于 2013-3-20 14:12:42 | 显示全部楼层
学习学习,下载下载,没有金币!
回复 点赞 拍砖

使用道具 举报

发表于 2013-3-24 23:56:49 | 显示全部楼层
同样的一个东西,还有一个网页卖2金币,2008年vb6的作品.
回复 点赞 拍砖

使用道具 举报

发表于 2013-3-25 20:16:06 | 显示全部楼层
也来看看
回复 点赞 拍砖

使用道具 举报

发表于 2013-4-2 14:46:33 | 显示全部楼层
想学飘过
回复 点赞 拍砖

使用道具 举报

发表于 2013-4-2 14:59:46 | 显示全部楼层
想学飘过
回复 点赞 拍砖

使用道具 举报

发表于 2013-4-2 15:26:32 | 显示全部楼层
Option Explicit

Implements UFPortalProxyInterface.ILoginable
Private m_oBusiness As Object
Private m_oLogin As Object



Public Property Get Business() As Object
    Set Business = m_oBusiness
End Property

' 初始化,获取Business对象,并初始化Login对象
Public Property Set Business(ByRef bBus As Object)
   
    Set m_oBusiness = Nothing
    Set m_oLogin = Nothing
   
    Set m_oBusiness = bBus
   
End Property

Private Function ILoginable_Login() As Boolean
    ILoginable_Login = True
    If ((Not m_oBusiness Is Nothing) And (m_oLogin Is Nothing)) Then
        Set m_oLogin = m_oBusiness.GetVBclsLogin() '获得login对象
        ILoginable_Login = True
        Exit Function
    Else
        Set m_oBusiness = Nothing
        Set m_oLogin = Nothing
        ILoginable_Login = False
        Exit Function
    End If
End Function

Private Function ILoginable_LogOff() As Boolean
    ILoginable_LogOff = True
End Function


Public Function ILoginable_CallFunction(ByVal cMenuId As String, ByVal cMenuName As String, ByVal cAuthId As String, ByVal cCmdLine As String) As Object

    Dim vfd As Object
    Dim strConn As String
    Dim stc As String
    Dim mform As Form
    Dim rs As ADODB.Recordset
    Set rs = New ADODB.Recordset
    Dim sql As String
   
   
    On Error GoTo ErrTray
        If Not m_oLogin Is Nothing Then
            strConn = m_oLogin.UfDbName
            stc = strConn
            
            If DBconn Is Nothing Then
                Set DBconn = New ADODB.Connection
                DBconn.ConnectionTimeout = 600
                DBconn.CommandTimeout = 1200
            End If
            If DBconn.State = 1 Then DBconn.Close
            DBconn.Open strConn
            Set mform = New clsFrmMain
            '-mform.Show
            MsgBox cMenuId
            Set vfd = m_oBusiness.CreateFormEnv("xxxxxxxxxxxAxxxxxxxxxxxxxxxxx", mform)
            Call m_oBusiness.ShowForm(mform, "DP", "xxxxxxxxxxxAxxxxxxxxxxxxxxxxx", False, True, vfd)
            Exit Function
        Else
           Exit Function
        End If
        
ErrTray:
    MsgBox Err.Description, vbCritical, "发生错误:"

End Function
回复 点赞 拍砖

使用道具 举报

发表于 2013-4-2 15:29:42 | 显示全部楼层
谢谢楼主分享~
回复 点赞 拍砖

使用道具 举报

发表于 2013-4-2 16:02:37 | 显示全部楼层
分数太高了
回复 点赞 拍砖

使用道具 举报

发表于 2013-5-11 21:44:52 | 显示全部楼层
很实用,谢谢楼主分享!
回复 点赞 拍砖

使用道具 举报

发表于 2013-5-13 08:16:46 | 显示全部楼层
谢谢分享,学习中、。。。
回复 点赞 拍砖

使用道具 举报

发表于 2013-5-13 18:54:20 | 显示全部楼层
好期待啊!!!!!!!
回复 点赞 拍砖

使用道具 举报

发表于 2013-5-13 19:07:12 | 显示全部楼层
这好象是二次开发程序吧。
回复 点赞 拍砖

使用道具 举报

发表于 2013-5-15 23:10:59 | 显示全部楼层
看看
看看
看看
回复 点赞 拍砖

使用道具 举报

发表于 2013-5-16 13:14:23 | 显示全部楼层
得看看,才能确定是不是所需要的
回复 点赞 拍砖

使用道具 举报

发表于 2013-6-2 16:18:26 | 显示全部楼层
回复中                      需查看
回复 点赞 拍砖

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号

本版积分规则

QQ|站长微信|Archiver|手机版|小黑屋|用友之家 ( 蜀ICP备07505338号|51072502110008 )

GMT+8, 2024-4-23 14:59 , Processed in 0.032453 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表