2 Replies - 7188 Views - Last Post: 23 December 2011 - 02:52 AM Rate Topic: -----

#1 Trn32   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 23-December 11

VB.Net Connect to MySQL via PHP Web Service.

Posted 23 December 2011 - 01:18 AM

Hi All,

Kindly note that I'm new to this forum. Hope that you can help me.

I have a VB.Net application that must connect to online MySql database.
I already have a MySql database and I connected to it from VB.net using the MySql connector (new instance and direct connect).

All I want to do is to connect to this database via a PHP web service, this will make a fast connection and more users can be connected at the same time.
I tried to search for this, and I think that the solution is easy and simple, but I don't know a lot about PHP; how to upload files and connect via Web service Reference in VB.net.

I downloaded these files: RemoteMySQLDatasetWS.zip And RemoteMySQLTest.zip. from: http://code.google.c.../downloads/list. which contains ".php" / ".wsdl" / ".dll" files and a VB.Net test solution.
I uploaded the files (".php" / ".wsdl" / ".dll") to the FTP manager in the cPanel where I created the database.
The problem is,
First: I don't know if these files are working.
Second: if they are working, I don't know how to accesss these file via HTTP, so I can add the "server.php" address as a web service reference in VB.Net.
I'll be thankful if you can help me solve this problem.
However, if anyone has another solution, please let me know it. It will be very helpful.

Thank you.

Waiting for the kind replies.

Is This A Good Question/Topic? 0
  • +

Replies To: VB.Net Connect to MySQL via PHP Web Service.

#2 DimitriV   User is offline

  • vexing conundrum
  • member icon

Reputation: 587
  • View blog
  • Posts: 2,746
  • Joined: 24-July 11

Re: VB.Net Connect to MySQL via PHP Web Service.

Posted 23 December 2011 - 02:30 AM

Take this as a kind word of advice:
I think you need to learn more about both PHP and VB.Net before you start this - it is better that way. If you don't know how to upload and make web service references in those languages, you should probably learn and do some research.
It will be better off this way :)
Was This Post Helpful? 0
  • +
  • -

#3 Trn32   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 23-December 11

Re: VB.Net Connect to MySQL via PHP Web Service.

Posted 23 December 2011 - 02:52 AM

Hey JimmyBo,

Thank you for your reply.
Kindly note that I'm a VB.Net senior developer since more than 5 years.
I develop desktop applications with SQL Databases, that also I'm a consultant to. Expert in SQL replication and BI.
I already used Web services in my applications, but those services were ready. I didn't worked on preparing and uploading it.
If you can read my post another time, I mentioned that I connected the application to MySQL, and what I need now is to create a web service to connect in another way.
So thank you for your advice and reply, but I need a real reply that helps me connect my desktop application to the database.

Take Care.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1