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 多电路系统共用电源的串扰问题
  • ¥15 shape_predictor_68_face_landmarks.dat
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料