| |
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
|
|