寻找示例项目和“如何创建”。 VB6 Active X EXE的 [英] Looking for example projects and "how to create" VB6 Active X EXE's
问题描述
我正在学习如何创建VB6 Active X EXE。 (我需要添加一些VB6应用程序的功能,以将其回拨到服务器,并且我希望将其集中化,但是不想使用DLL,因为我只需要防火墙许可即可) 一个程序(电话之家ActiveX EXE。
I'm learning how to create an VB6 Active X EXE. (I need to add the ability for a number of VB6 apps to "phone home" to a server and I'd like centralize this but don't want to do it with a DLL because I'd like to only need Firewall permission for one program (the "phone home ActiveX EXE).
我找到了一些教程,但我正在寻找一个可下载的项目来
I've found a few tutorials but I'm looking for a downloadable project to "play around with".
推荐答案
这很有效:
http://www.planet-source-code.com/vb/scripts/ ShowCode.asp?txtCodeId = 52172& lngWId = 1
此技术(作为ActiveX EXE)有效,但无法实际执行ActiveX EXE应该执行的工作(下载文件):
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?tx tCodeId = 28667& lngWId = 1
This one technicall worked (as an ActiveX EXE) but couldn't get it to actually do the work the ActiveX EXE was supposed to do (download files) : http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=28667&lngWId=1
提示以允许您调试VB6中的主机和服务器(ActiveX EXE):
Tip to allow you to debug both the Host and Server (ActiveX EXE) in VB6:
- 您将有两个VBP项目文件:一个用于ActiveX EXE服务器,另一个用于调用它的主机应用程序。
- 将它们分别加载到单独的VB6 IDE实例中。
- 首先运行ActiveX。
- 在第二个示例中,添加ActiveX VBP文件(而不是.exe)作为参考:(项目>参考>浏览...,然后添加vbp文件。
- You'll have two VBP project files: one for the ActiveX EXE "server" and one for the host app calling it.
- Load each into separate VB6 IDE instances.
- Run the ActiveX one first.
- In the second one, add the ActiveX VBP file (not the .exe) as a reference: (Project > References> Browse... and add the vbp file.
这篇关于寻找示例项目和“如何创建”。 VB6 Active X EXE的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!