Is it okay to call this sub so that the user see's that the app uses less memory... I thought about using this sub after form loads, it does seem to the user that the app is using less memory... Bad, Good? Doesn't matter??
Thanks
Anthon
Private Declare Auto Function SetProcessWorkingSetSize Lib "kernel32.dll" (ByVal procHandle As IntPtr, ByVal min As Int32, ByVal max As Int32) As Boolea
Public Sub SetProcessWorkingSetSize(
Tr
Dim Mem As Proces
Mem = Process.GetCurrentProcess(
SetProcessWorkingSetSize(Mem.Handle, -1, -1
Catch ex As Exceptio
MsgBox(ex.ToString
End Tr
End Sub