| To: | REALbasic Network Users Group <realbasic-nug@lists.realsoftware.com> |
|---|---|
| Subject: | Connecting to a remote OBDC database server |
| From: | Stan Busk <maxprog@mac.com> |
| Date: | Wed, 24 Feb 2010 22:23:19 +0100 |
| Authentication-results: | mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com |
| Delivered-to: | listarchive@realsoftware.com |
| Reply-to: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
| Sender: | realbasic-nug-bounces@lists.realsoftware.com |
Hi, I wanted to connect to a remote OBDC server on the internet. Since I have no experience with that I simply tried: Dim db as ODBCDatabase db = New ODBCDatabase db.Host = "Server_IP_Address" db.UserName = "my_username" db.Password = "my_password" db.DatabaseName = "DB_Name" If db.Connect then //proceed with database operations else MsgBox "The connection failed." end if Whatever I do I always get a "The connection failed." message box :-/ Is there something else to do? By the way, how do you set the server port? Stan _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [ANN] MonkeyBread Software Releases the MBS REALbasic Updater Kit in version 1.0, Markus Winter |
|---|---|
| Next by Date: | Re: Bad Windows XP window flicker, no canvas involved, Jay Rimalrick |
| Previous by Thread: | Re: [ANN] MonkeyBread Software Releases the MBS REALbasic Updater Kit in version 1.0, Markus Winter |
| Next by Thread: | Re: Connecting to a remote OBDC database server, Norman Palardy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |