Wrox Programmer Forums
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 6th, 2004, 12:56 AM
Authorized User
 
Join Date: Jul 2003
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default Web Based SQL and PC App

Is it possible for an VB Application to use a WEB BASED SQL Server using ODBC or Connectionstring or whatever?
If so what are the implications? :)

__________________
Proud To Be Pinoy
 
Old May 6th, 2004, 04:44 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

Excuse me Sir,
what do u mean WEB BASED SQL Server?!
U can use Normal SQLObj to connect ur DataBase from Web too!

Always:),
Hovik Melkomian.
 
Old May 6th, 2004, 08:22 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

as Hovik said, what's a "web based SQL server"?

Hal Levy
Web Developer, PDI Inc.

NOT a Wiley/Wrox Employee
 
Old May 6th, 2004, 08:29 PM
Authorized User
 
Join Date: Jul 2003
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It's like this, I have an application then i want its SQL Database hosted by a Web Hosting Company(Ex.Ready Hosting). Then I want to know my chances first before trying if its feasible and what are its advantages and disadvantages, coding implications etc.
Sorry for the terminology


 
Old May 7th, 2004, 01:25 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 308
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think what reyboy is getting at is a box that is both SQL Server and a Web Server,

If I'm reading this right, you want your VB App to talk to a SQL Server that's not on your network.

That right?

I am a loud man with a very large hat. This means I am in charge
 
Old May 7th, 2004, 03:01 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote from http://www.able-consulting.com/MDAC/...erForSQLServer
Quote:
quote:
To connect to SQL Server running on a remote computer (via an IP address)

oConn.Open "Provider=sqloledb;" & _
           "Network Library=DBMSSOCN;" & _
           "Data Source=xxx.xxx.xxx.xxx,1433;" & _
           "Initial Catalog=myDatabaseName;" & _
           "User ID=myUsername;" & _
           "Password=myPassword"
Where:
- "Network Library=DBMSSOCN" tells OLE DB to use TCP/IP rather than
   Named Pipes (Q238949)
- xxx.xxx.xxx.xxx is an IP address
- 1433 is the default port number for SQL Server. Q269882 and Q287932
- You can also add "Encrypt=yes" for encryption
 
Old May 7th, 2004, 08:47 PM
Authorized User
 
Join Date: Jul 2003
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you very much for the warm response. :)

Steven got what i meant. Thanks PgTips for the code.
Has anyone tried the code? How would ADO react, say we are to query&update a table with 65,0000 Rows, when internet connection is just dial-up? this one is a bonus to me!:D






Similar Threads
Thread Thread Starter Forum Replies Last Post
Interface between web app and win app alienaheart ASP.NET 2.0 Professional 4 August 4th, 2009 09:29 AM
Porting a web app to SQL 2005 Express Lee_USMC BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 February 7th, 2008 05:52 PM
Convert a VB.Net app to a web app? furjaw VB.NET 3 September 24th, 2007 12:27 PM
Tools for Migration of SQL Based Web App To Oracle Netaji Intro Programming 1 September 8th, 2006 05:19 AM
windows app for closing my pc exarkuun General .NET 3 July 25th, 2005 01:31 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.