Results 1 to 5 of 5

Thread: OCX not functioning in DHTML page

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2001
    Location
    Devon, UK
    Posts
    181

    OCX not functioning in DHTML page

    In the DHTML option in VB6 i have inserted ADO Data Control. However with the correct conn string (which works in VB projects) and table names etc it doesn't scroll through the data. ADO 2.6 reference is in place. I'm tried both the text control and the list control to display the data using the datasrc and datafld parameters. What am i doing wrong??
    Cheers
    Wind and waves resolves all problems.

  2. #2
    Fanatic Member crispin's Avatar
    Join Date
    Aug 2000
    Location
    2 clicks west of a Quirkafleeg...Cornwall, England
    Posts
    754
    Pleas send me the code so I may express my humble opinion Oh glorious one!!!!
    Crispin
    VB6 ENT SP5
    VB.NET
    W2K ADV SVR SP3
    WWW.BLOCKSOFT.CO.UK

    [Microsoft Basic: 1976-2001, RIP]

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Mar 2001
    Location
    Devon, UK
    Posts
    181
    Thats better!
    Wind and waves resolves all problems.

  4. #4
    Fanatic Member crispin's Avatar
    Join Date
    Aug 2000
    Location
    2 clicks west of a Quirkafleeg...Cornwall, England
    Posts
    754
    now POST THE CODE!!!!!!!!!!!!!!!!
    Crispin
    VB6 ENT SP5
    VB.NET
    W2K ADV SVR SP3
    WWW.BLOCKSOFT.CO.UK

    [Microsoft Basic: 1976-2001, RIP]

  5. #5
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    You can't use an ADO data control on a web page. Database access is server side, ActiveX controls are client side.

    Try using the Recordset design time control that comes with Interdev if you are trying to bind controls to a database (which is a bad thing no matter where you do it).
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    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