Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Polling Script
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Polling Script

 Post Reply Post Reply
Author
Sapien View Drop Down
Newbie
Newbie


Joined: 19 October 2002
Location: Canada
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sapien Quote  Post ReplyReply Direct Link To This Post Topic: Polling Script
    Posted: 23 February 2003 at 6:03pm

Dose anyone know how Bruce got his poll to sit at the side on multiple pages, and still work? When I go to the actuall default page in the folder the poll is in it works, but when I try to link it with like this

<!--#include virtual ="/cgi-bin/poll/weekly_poll.inc" -->

it displayed this error.

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x260 Thread 0x9d8 DBC 0x2694f54 Jet'.

/cgi-bin/poll/common.inc, line 91

this is line 91

'Set an active connection to the Connection object
adoCon.Open strCon

anyone have any other ideas on how to display the poll on multiple pages.



Edited by Sapien
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 24 February 2003 at 4:00am
You need to remove the Server.MapPath from the db connection and use the physical path to the database, also for the page the forum links to you need to change this to the full URL.
Back to Top
Sapien View Drop Down
Newbie
Newbie


Joined: 19 October 2002
Location: Canada
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sapien Quote  Post ReplyReply Direct Link To This Post Posted: 01 March 2003 at 8:19am
Thanks, I'll give that a try.
Back to Top
BOB1 View Drop Down
Senior Member
Senior Member


Joined: 12 October 2002
Location: Israel
Status: Offline
Points: 395
Post Options Post Options   Thanks (0) Thanks(0)   Quote BOB1 Quote  Post ReplyReply Direct Link To This Post Posted: 01 March 2003 at 8:41am

u can do it like that

<iframe src="poll/default.asp" width="100" height="100" scrolling="no" frameborder="0" marginwidth="0" marginheight="0"></iframe>

have fun!

Back to Top
Sapien View Drop Down
Newbie
Newbie


Joined: 19 October 2002
Location: Canada
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sapien Quote  Post ReplyReply Direct Link To This Post Posted: 01 March 2003 at 8:45am
I thought about that. But not everyone can use an IFrame. Thanks anyways.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.