Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Q: estimation of Norton Antivirus slowing down FoxPro
Message
 
To
16/08/2004 14:02:03
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00933628
Message ID:
00933651
Views:
26
For Sophos Anti-virus on Windows NT I did:
*---------------Stop Sophos Anti-Virus Service
lltest=.t. &&  (appropriate Conditions go here)

IF lltest
	locomputer = getobject("WinNT://"+LEFT(SYS(0),AT(" ",SYS(0))-1)+",computer")
   for each loservice in locomputer
	 WITH loservice
		if upper(.Class) = 'SERVICE' ;
			and "SOPHOS"$upper(.displayname) AND .Status = 4
		    .Stop
		ENDIF	
	endwith
   ENDFOR
ENDIF


* program body goes here  ......

*---------------Turn on Sophos Anti-Virus Service
IF lltest AND TYPE("locomputer")="O" AND NOT ISNULL(locomputer)
    for each loservice in locomputer
	WITH loservice
	   if upper(.Class) = 'SERVICE' ;
	 	     and "SOPHOS"$upper(.displayname) AND .Status # 4
		.Start
	    ENDIF
	endwith
    ENDFOR
    locomputer=.null.
ENDIF
Probably you can do something similar for NA.


>Im curious,
>
>What where those few lines of code that turn off and on the NA services?
>
>>From my experience, auto-protect services always slow down the performance.
>>The only what I was able to do was to add a couple of lines to my code to stop the windows service when VFP application start, and then turn the service on back.
>>
>>
>>>Hi All!
>>>
>>>Is it possible for NA auto-protect activity to slow FoxPro performance down significantly?
>>>
>>>Does excluding of the temporary path ( SYS(2023) ) from auto-protected folders make difference?
>>>
>>>How about excluding file extensions: DBF, FTP, CDX?
>>>
>>>Any experience dealing with this issue?
>>>
>>>Thanks!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform