Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


RE: create textfile with html file

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,57392
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> RE: create textfile with html file
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: <<   < prev  1 [2]
Login
Message << Older Topic   Newer Topic >>
 RE: create textfile with html file - 3/5/2008 1:38:42 AM   
  ebgreen


Posts: 4972
Score: 31
Joined: 7/12/2005
Status: offline
There are several issues here. First, the Win32_DesktopMonitor class holds several instances and some of them have null data for the screen width and height. So you only want to do the assignment if there is something to assign:

      For Each objItem in colItems
           If Not IsNull(objItem.ScreenWidth) Then
               intHorizontal = objItem.ScreenWidth
              intVertical = objItem.ScreenHeight
           End If
      Next


Next, On this line:

<td colspan="2"><textarea name="artikel" cols="50" rows="10" id="Text2" onchange="vermeerder"></textarea></td>

try adding () to the sub call.

<td colspan="2"><textarea name="artikel" cols="50" rows="10" id="Text2" onchange="vermeerder()"></textarea></td>


When you do this, you will find that artikel does not have a .COunt property. What are you trying to accomplish wih that line?

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to diablo)
 
 
Post #: 21
 
 
Page:  <<   < prev  1 [2]
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> RE: create textfile with html file Page: <<   < prev  1 [2]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts