June 10, 1999

ADO connection to an mdb database fails

Question: Summary of the problem: Connecting directly to a Microsoft Access database from a Web project developed in Interdev 6.0 fails unless I modify every .Open to use a connection string constructed on the spot [as opposed to .Open Application(‘Blah_ConnectionString’) … ] For example: Using the Gallery sample provided and

Need a simple script

Question: I need the following simple script. Visitors should be able to enter their e-mail address in a form on my site and the address should be put in a text-file on my server. Any ideas? Answer: Use Microsoft FrontPage to create a Feedback form with your required fields. Right-click

ASP & ActiveX

Question: I have an ActiveX (MyKalender.ocx) and I know the ClassID of, I included it to an ASP-File -> I can see it but how can I get information about the selected date when I click on my ocx? Answer: You will have to write VBscript code on your page

Ad rotator logging

Question: I have built an ASP-based banner system using the Ad Rotator component. How can I log this information into a database (prefer) and retrieve the number of impressions and click-throughs? Answer: When you use the Ad Rotator Component, you specify a Redirect page. Within the Redirect page, you use

Returning data in a neatly formatted HTML page

Question: I am using a combination of HTML and ASP pages to pull data from a database. I use one HTML page to request the info with a form, which is then passed to an APS page that gathers the recordset. I want to then pass (access) the recordset to

Dynamic Includes

Question: How can I do a dynamic include, such as:However, I think I know why this doesn’t work– because includes are tossed in before it goes to the parser (asp.dll). But if that’s the case, why is it? I seem to have tried every possible combination trying to get this

Use a Selfmade ActiveX-DLL on an ASP

Question: I’ve made an ActiveX-DLL using VB6 with one public and several private functions.How can I use (and call) the public function from an Active Server Page?? Answer: Invoke your dll and then call the function. 1. Register your dll on the machine where your web server is (use regsvr32

File Upload using VBScript

Question: I would like to ask about uploading a file using HTML. I have the code, but the problem is that I can not receive and save the file that I sent from the HTML code. (The upload uses the form “POST” method with multipart/form-data.) Answer: File upload from the

Using #Include in htm pages

Question: I have a .htm file in which I have the following line of code: The htm pages are both part of my VI6 project.The file IncludeLeftPanel.htm contains only simple HTML statements as I am including my navigation definitions as an alternative to using frames. Problem: The content in the

No more posts to show