简体   繁体   English

如何使用两台电脑连接某个网站和一个visual basic项目

[英]how to connect a certain website and a visual basic project using two computers

I have website project and a visual basic project but these two projects are on the different computer.我有网站项目和视觉基础项目,但这两个项目在不同的计算机上。 the website project is on my first computer and the visual basic project is on the other computer.网站项目在我的第一台计算机上,visual basic 项目在另一台计算机上。 So my question is how can I connect this two projects using this two computers?所以我的问题是如何使用这两台计算机连接这两个项目? Is there any source code for connecting this two projects?有没有连接这两个项目的源代码? I'm using PHP and MySQL for my website project and the language that I use for the visual basic project in c#.我将 PHP 和 MySQL 用于我的网站项目以及我在 c# 中用于 Visual Basic 项目的语言。

Please help.请帮忙。

VB code can do HTTP requests just fine. VB 代码可以很好地处理 HTTP 请求。 There are libs for other protocols too.还有其他协议的库。 Use them.使用它们。 If you need VB to not only retrieve HTML, then expose some API on PHP side, and call it in VB.如果你不仅需要VB检索HTML,那么在PHP端暴露一些API,并在VB中调用它。

Other direction is not possible.其他方向是不可能的。 Still if VB is associated with some MS Office app, you may be able to use native windows XCOM capabilities.尽管如此,如果 VB 与某些 MS Office 应用程序相关联,您也许可以使用本机 Windows XCOM 功能。 Look for PHP to XCOM bridge/lib, if that's what you need.如果您需要,请查找 PHP 到 XCOM 桥接/lib。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 Visual Studio 上使用 Xamarin(iOS 项目)连接到 Cloud SQL - How to connect to Cloud SQL using Xamarin (iOS project) on Visual Studio 如何使用winform将Signalr客户端连接到不同计算机上的Signalr服务器 - how to connect Signalr client to Signalr server on Different computers using winform 对我的网站使用基本身份验证时无法连接到服务器 - Unable to connect to the server when using Basic Authentication for my website 如何通过IPAddress连接计算机 - How to connect computers via IPAddress 如何在Visual Studio“网站”项目中更新引用? - How to update references in Visual Studio 'Website' project? 如何在您的网站中连接两个人 - how to connect two people in your website .NET:在C#项目中使用Visual Basic类/模块 - .NET: Using Visual Basic classes/modules in a C# project 如何在Visual Studio 2008 SP1中使用Web安装程序项目在IIS中创建新网站 - How to create new website in IIS using Web Setup Project in Visual Studio 2008 SP1 MS Visual Studio:如何从发布中排除某些项目文件夹? - MS Visual Studio: How to exclude certain Project Folders from publishing? 如何将Oracle数据库连接到Visual Studio C#项目 - How to connect Oracle Database to Visual Studio C# project
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM