<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
I'm running XP home (32 bit), SP2 dutch<br><br><hr id="stopSpelling">From: irvandestadt@hotmail.com<br>To: apbeta@lists.astroplanner.net<br>Date: Sat, 28 Feb 2009 10:06:19 +0100<br>Subject: [APBeta] Running Scripts<br><br>
<style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>
<br>Am I missing something? I can't run any of the scripts, whether converted from V1 or newly downloaded.<br>The error is usually<br><br><font style="" color="#ff0000">Script must contain a (global) main() method.</font><font style="" color="#ff0000"><br></font><font style="" color="#ff0000">i.e. one of:</font><font style="" color="#ff0000"><br></font><font style="" color="#ff0000"> Sub main()</font><font style="" color="#ff0000"><br></font><font style="" color="#ff0000">or</font><font style="" color="#ff0000"><br></font><font style="" color="#ff0000"> Sub main(args() as Variant)</font><font style="" color="#ff0000"><br></font><br>Even '<font style="" color="#76923c">Observing nights</font>' - created in de V2 era gives an error message:<br><font style="" color="#ff0000">Script must not contain any calls to the main() method.</font><br><br>Clear Skies!<br>Inge<br><br><hr>Ook nieuwsgierig naar de nieuwe Messenger? <a href="http://download.live.com/messenger">Download 'm hier</a><br /><hr />Ook nieuwsgierig naar de nieuwe Messenger? <a href='http://download.live.com/messenger' target='_new'>Download 'm hier</a></body>
</html>