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.

Reply via email to