Can you add to V5 not VB sorry.  (Just redevelop Microsft’s application and add running with different credentials—yeah right.)

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Passow
Sent: Monday, August 30, 2004 2:26 PM
To: [EMAIL PROTECTED]
Subject: RE: [SA-list] VB exit code

 

 

Got it thanks.  Problem was could not access the file.

 

Can you add to VB the ability to run an external program with different

credentials?  My server can by default access the share on which the file I

am checking resides, however, servers alive could not. 

 

-----Original Message-----

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Of Dirk Bulinckx

Sent: Monday, August 30, 2004 2:17 PM

To: [EMAIL PROTECTED]

Subject: RE: [SA-list] VB exit code

 

VB can do it via a API call.

 

declaration of the API call:

    Declare Function ExitProcess Lib "kernel32"  (ByVal ExitCode As Long) As

Long

 

 

the call:

    Call ExitProcess(-999)

 

If you test it from within the IDE of VB, the SAVE before doing it, the

exitprocess call will exit you directly from the app (and from the VB IDE

too) without any warning.

 

 

 

 

 

Dirk.

 

 

 

 

________________________________

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Of Jason Passow

Sent: Monday, August 30, 2004 9:06 PM

To: [EMAIL PROTECTED]

Subject: [SA-list] VB exit code

 

 

 

Can VB return an exit code directly to Servers Alive?  Or must I create a

batch file to call my VB executable.

 

 

 

Jason Passow

 

[EMAIL PROTECTED]

 

Mississippi Welders Supply Co.

 

Phone: 507-454-5231

 

Fax:  507-454-8104

 

 

 

Mae West: "Whenever I'm caught between two evils, I take the one I've never

tried."

 

 

 

 

 

-------------------------

 

[This E-mail scanned for viruses by Declude Virus]

 

To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]

With the following in the body of the message:

   unsubscribe SAlive

Reply via email to