Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About chefytim

  • Rank
  1. chefytim

    ASP Help

    OK, I change and had planned on changing those to HTML textboxes.Not sure how to assign a vbscript variable to an HTML textbox but once I get past the current issue I'll reseach that.The error message is:Line: 11Error: Object expected Line 11 is the Dim statement.When I debug the program in VStudio I get the following"Microsoft JScript runtime error: Object expected.Am I using correct call on the body onload?It just seems that is a JavaScript function but I'm not sure if it works with VBScript or not.
  2. chefytim

    ASP Help

    I am trying to get a very simple ASP page working but apparently I don't know what I'm doing.Here is my code so far: <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Untitled Document</title></head><% Sub Initialize() Dim oShell Set oShell = Server.CreateObject("Scripting.Shell") strUserName = oShell.Expan
  • Create New...