|
You're right - .asp extention is for server side code, as you're using client side, .html is fine.
Not sure exactly where your problem is because I've never used VB as a client side language, however I'm fairly sure you don't/can't use Public and Private for functions. All in all, the I think your problem lies in the fact that you're trying to put vb -code- into vb -script-. They share the same syntax however the structure is different.
One thing you may already be aware of, if this is going to be an internet web page then you probably don't want to use VB at all, because it's only supported on Internet Explorer so you'll be cutting out a significant number of visitors. If it's an intranet page, and you know for a fact that everyone is using IE, then it's fine.
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"
Please login or register to view this content. Registration is FREE | Please login or register to view this content. Registration is FREE
|