PDA

Click to See Complete Forum and Search --> : Active X connection (Really Hard!)


joey o.
Oct 18th, 2000, 12:05 PM
Hi I need to know what to refrence, change, or include in my ActiveX component to make it connect to the same serverObject as the rest of my page and pages. I'm getting "object required" using the same ASP code. Here it is:


Dim Connect4, Query4, a, b, c, d, f, g, h, j, k, l, m, v, DataValue(100)
Set Connect4 = Server.CreateObject("ADODB.Connection")
Connect4.Open "NewSite"
Set Query4 = Connect4.Execute("Select * from Tracking")

monte96
Oct 18th, 2000, 03:13 PM
You need to set the connection string of your connection object to set what kind of database you are connecting to, provider, user, pw, etc..