dongshou2017 2013-03-08 19:15
浏览 95
已采纳

是否可以连接Vb6和PHP? [关闭]

I have a vb6 program with mysql as database. My instructor asked me to connect my vb6 to php. The php code only view what is inside in the vb6, e.g. reports. My question is, is this possible? I've googled this one but no concrete ideas occurred. If so, how could I implement this one or what are the steps to achieve this?

I'm confused with this one because I only know php and mysql connection. VB6 to PHP is new thing for me. If this is not possible, maybe i should be using php and mysql. I just want to know if this is possible.

  • 写回答

1条回答 默认 最新

  • du8791069 2013-03-08 19:18
    关注

    I'm going to throw an answer out there. No, you can't have PHP view what is "inside of VB6". You can't mix VB6 (or any VB) with PHP. But you can have them (the two applications) interact with each other by various methods such as API calls and through datbases.

    What I think you mean though, is that you have a VB6 app connecting to and using a MySQL datbase.

    Just make a connection to the same MySQL database with PHP and you can have the two systems share the data or "see what is in the VB6".

    How to connect to MySQL in PHP http://www.php.net/manual/en/book.mysqli.php

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 ads仿真结果在圆图上是怎么读数的
  • ¥20 Cotex M3的调试和程序执行方式是什么样的?
  • ¥20 java项目连接sqlserver时报ssl相关错误
  • ¥15 一道python难题3
  • ¥15 用matlab 设计一个不动点迭代法求解非线性方程组的代码
  • ¥15 牛顿斯科特系数表表示
  • ¥15 arduino 步进电机
  • ¥20 程序进入HardFault_Handler
  • ¥15 oracle集群安装出bug
  • ¥15 关于#python#的问题:自动化测试