Results 1 to 2 of 2

Thread: Active X connection (Really Hard!)

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    ma,usa
    Posts
    485
    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")

  2. #2
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    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..
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    monte96_@hotmail.com
    monte96@vbgarage.com


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width