VB Component: DBHelper from Web Page
Here is a call to a VB custom component we created:
filename=/learn/test/dbhelper.asp<Test Script Below> <html><head> <title>dbhelper.asp</title></head> <body> <% set mycomponent=server.createobject("charlescarroll.dbhelperver001") mycomponent.connect ="DSN=student;uid=student;pwd=magic" mycomponent.query = "select * from publishers" mycomponent.maketable set mycomponent=nothing %> </body></html>
<html><head> <title>dbhelper.asp</title></head> <body> <% set mycomponent=server.createobject("charlescarroll.dbhelperver001") mycomponent.connect ="DSN=student;uid=student;pwd=magic" mycomponent.query = "select * from publishers" mycomponent.maketable set mycomponent=nothing %> </body></html>