Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Other Programming > VBScript
|
VBScript For questions and discussions related to VBScript.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VBScript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old September 6th, 2007, 02:00 AM
Registered User
 
Join Date: Sep 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with windows scriot in vb script

I am getting an error "object does not support this property or method RptTitle" in the below code snippet,let me know the problem with this
-----------------------------------------------------------------
Sub InitiateIEBrowser
   Set objIE = CreateObject("InternetExplorer.Application")
   objIE.Navigate cHTMLTemplate
   objIE.ToolBar = 0
   objIE.StatusBar = 0
' objIE.Width = 1500
' objIE.Height = 1500
   objIE.Left = 0
   objIE.Top = 0

   Do While (objIE.Busy)
       Wscript.Sleep 200
   Loop

   objIE.Document.Body.All.RptTitle.InnerHTML = "ERIC Dashboard as of " & strDayOfWeek & ", " & dtCurrentTime
   objIE.Document.Body.All.RptRange.InnerHTML = "Date Range: " & dtStart & " - " & dtEnd
   objIE.Document.Body.All.RptDB.InnerHTML = cUWDB
End Sub
Reply With Quote





Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Script Encoder error46146 Javascript 2 August 27th, 2006 03:53 AM
How do I use the Windows Script Encoder? error46146 Javascript How-To 1 July 17th, 2006 08:09 PM
Problem Installing vb app on windows 98 yeetesh Pro VB 6 3 February 14th, 2005 09:51 AM
Windows Script Component Problem cassb BOOK: Beginning ASP 3.0 1 October 21st, 2004 09:48 AM
DTS Transform Data Task VB Script problem jan.aitken SQL Server DTS 0 May 28th, 2004 08:13 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.