.GetThumbnailImage() acting weird?

admin

Administrator
Staff member
Hi all,

Is there any case/scenario where code would execute twice? I know it sounds weird but for some reason my entire script executes twice. Even if I use Respone.End() to force the application to terminate it won't, it'll clear all variable values and start over (Postback is not the issue, which btw doesn't do squat because as I've mentioned all variable/buffer values are cleared. Im using .GetThumbnailImage(imageWidth, imageHeight, null, IntPtr.Zero) method where the last param is pointer and must be IntPtr.Zero according to msdn (<!-- m --><a class="postlink" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdrawingimageclassgetthumbnailimagetopic.asp">http://msdn.microsoft.com/library/defau ... etopic.asp</a><!-- m -->) . Second to last parameter is callback function (see link) which I have used as well but still get the same problem. If anybody can offer any help I'd really appreciate it.

Thank you
 
Back
Top