That would be for VB. VB .net does not need to call a function to produce an exit code.
Kevin Bilbee > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Dave Doherty > Sent: Monday, August 23, 2004 9:39 PM > To: [EMAIL PROTECTED] > Subject: Re: [Declude.JunkMail] Outlook 2003 > > > Thanks, Doug! > > Is this for VB6 or VB.NET? > > -d > > > ----- Original Message ----- > From: "Doug Anderson" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, August 23, 2004 12:38 AM > Subject: Re: [Declude.JunkMail] Outlook 2003 > > > > vb code to give you a dos error code > > In your declares use > > Private Declare Sub ExitProcess Lib "kernel32" (ByVal uExitCode As > > Long) > > > > > > and then call > > ExitProcess 2 > > > > ----- Original Message ----- > > From: "Dave Doherty" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Sunday, August 22, 2004 10:55 PM > > Subject: Re: [Declude.JunkMail] Outlook 2003 > > > > > > > Hi Scott- > > > > > > Would you write the exe in C? I have not found a way to have VB > > > return a result code from an exe. Am I missing something? > > > > > > -d > > > > > > ----- Original Message ----- > > > From: "Scott Fisher" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Friday, August 20, 2004 12:24 PM > > > Subject: Re: [Declude.JunkMail] Outlook 2003 > > > > > > > > > I have a specific spamheader code that I punish very > heavily for one > > > specific spammer. You could use this code and change the > spamheader > > > code > > to > > > the one Outlook generates. > > > If you supply the spamheader code and ask nicely, I could > generate > > > an > EXE > > to > > > do it also. > > > > > > global.cfg: > > > HEADER-C040120E external 2 "CScript > > > D:\IMail\Declude\FPFilters\vbs\header.vbs %HEADERCODE%" 100 0 > > > > > > header.vbs code: > > > ' Initialize error checking > > > On Error Resume Next > > > Dim Headertocheck ' As String > > > Dim intResult ' As Integer > > > intresult = 0 > > > if Wscript.Arguments(0) = "c040120e" then > > > Intresult = 2 > > > End If > > > WScript.Quit(intresult) > > > > > > <<< [EMAIL PROTECTED] 8/20 9:57a >>> > > > Has anyone found a way to add a negative weight to Outlook 2003 > > > clients > > for > > > the spamheaders test? I am running into a problem where it is > > > failing > the > > > spamheaders test which is causing the weight to go over > the and hold > > > the emails? > > > > > > Thanks, > > > > > > > > > Kris McElroy > > > [EMAIL PROTECTED] > > > > > > > > > --- > > > [This E-mail was scanned for viruses by Declude Virus > > > (http://www.declude.com)] > > > > > > --- > > > This E-mail came from the Declude.JunkMail mailing list. To > > > unsubscribe, just send an E-mail to [EMAIL PROTECTED], > and type > > > "unsubscribe Declude.JunkMail". The archives can be found at > > > http://www.mail-archive.com. > > > > > > > > > --- > > > [This E-mail was scanned for viruses by Declude Virus > > > (http://www.declude.com)] > > > > > > --- > > > This E-mail came from the Declude.JunkMail mailing list. To > > > unsubscribe, just send an E-mail to [EMAIL PROTECTED], > and type > > > "unsubscribe Declude.JunkMail". The archives can be found at > > > http://www.mail-archive.com. > > > > > > > > > > > > --- > > > [This E-mail was scanned for viruses by Declude Virus > > (http://www.declude.com)] > > > > > > --- > > > This E-mail came from the Declude.JunkMail mailing list. To > > > unsubscribe, just send an E-mail to [EMAIL PROTECTED], > and type > > > "unsubscribe Declude.JunkMail". The archives can be found at > > > http://www.mail-archive.com. > > > > > > *Scanned for viruses by Declude Virus* > > > > > > > > > > --- > > [This E-mail was scanned for viruses by Declude Virus > (http://www.declude.com)] > > > > --- > > This E-mail came from the Declude.JunkMail mailing list. To > > unsubscribe, just send an E-mail to [EMAIL PROTECTED], and type > > "unsubscribe Declude.JunkMail". The archives can be found at > > http://www.mail-archive.com. > > > > > --- > [This E-mail was scanned for viruses by Declude Virus > (http://www.declude.com)] > > --- > This E-mail came from the Declude.JunkMail mailing list. To > unsubscribe, just send an E-mail to [EMAIL PROTECTED], and > type "unsubscribe Declude.JunkMail". The archives can be > found at http://www.mail-archive.com. > --- [This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)] --- This E-mail came from the Declude.JunkMail mailing list. To unsubscribe, just send an E-mail to [EMAIL PROTECTED], and type "unsubscribe Declude.JunkMail". The archives can be found at http://www.mail-archive.com.
