我的工作已在VB6号文件中提出申请。 我的任务是在C# .NET中再写另一个不同的申请。 不允许我修改VB6号法典,但我需要每次在VB6号申请中要求某个特定职能时,都称职(从我的网络应用)。
我建议利用COM或DCOM执行这项任务。 我不熟悉其中任何一个专题,并很难找到我能轻易理解的与我的任务相关的指导。
我能否利用COM公司这样做,或者我是否必须修改现有的VB6法典?
我的工作已在VB6号文件中提出申请。 我的任务是在C# .NET中再写另一个不同的申请。 不允许我修改VB6号法典,但我需要每次在VB6号申请中要求某个特定职能时,都称职(从我的网络应用)。
我建议利用COM或DCOM执行这项任务。 我不熟悉其中任何一个专题,并很难找到我能轻易理解的与我的任务相关的指导。
我能否利用COM公司这样做,或者我是否必须修改现有的VB6法典?
You need to expose the function in VB6 as COM (ActiveX DLL). This is straight forward. http://vb-helper.com/howto_activex_dll.html
Calling a COM Object is easy too. http://www.c-sharpcorner.com/UploadFile/psingh/CallingCOMComponentFromCSharp12022005231615PM/CallingCOMComponentFromCSharp.aspx
如同你一样,它向我提出了VB6申请,其来源代码不应改变。 现在每次使用VB6号申请时,都会有人要求你在另一部分(C#)中采用某种方法。
以上是假设,因为你的问题并不明确。
如果情况如此,并且你可以更改VB6的申请,那么你可以更改
但是,这将使用C++和低水平的COM,这可能是你不想做的事。
页: 1 C# application from within You VB6 application. 因此,我们谈论的是某种形式的进程间通信(关于目的地通信公司的评论)。
I ve 曾使用过。 NET 重新定位,通过创建一种可调用的通信,取代总部合同委员会。 NET图书馆作为客户,在网络应用中接收重塑物体。 您的VB6号申请使用这些物体,并在服务器上执行这些方法。
www.un.org/Depts/DGACM/index_french.htm 你们能否更清楚地了解不改变VB6申请的要求?
What is the use of default keyword in C#? Is it introduced in C# 3.0 ?
I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...
I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...
I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...
I have two EF entities. One has a property called HouseNumber. The other has two properties, one called StartHouseNumber and one called EndHouseNumber. I want to create a many to many association ...
How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...
Since I cannot order my dictionary, what is the best way of going about taking key value pairs and also maintaing an index?
Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...