how i can delete in use files in my program using IO.File class? -- modified at 9:59 Sunday 15th January, 2006
hassan azizi
Posts
-
deleting in use files -
file protectionhi how can i protect my users from uploading or downloading files that contain viruses ,trojans or files that have problem such a jpg file that is realy is an executive file which it's extnsion was changed to jpg or else ! notice that i don't have a dedicated server and i brought some space on one host. what can i do for controling such files? thanx
-
file protectionhi how can i protect my users from uploading or downloading files that contain viruses ,trojans or files that have problem such a jpg file that is realy is an executive file which it's extnsion was changed to jpg or else ! notice that i don't have a dedicated server and i brought some space on one host. what can i do for controling such files? thanx
-
performance?hi handling transaction in asp .net code behhind provides better performance or handling it in SQL Server's Stored procedures in queries like removing list of an entity? thanks
-
web site's file download protectionhi Vasudevan i want to do what IEEE done in it's site if u pass one article (for example www://ieee.com/articles/math.zip) address directly to ie address bar they do not permit u to download this file u shoud be authorized first in their site i'd like to do same work like that what can i do ? thanks
-
file upload and download with renaminghi enjoycrack let i explain what i need my client upload a.gif file to my site i rename it as 12332323.aspx (for unauthorized download and view) and save file original info in DB.when other user request it for download i want to place this aspx file to download without renaming it again to a.gif for this what can i do ? thanks
-
web site's file download protectionhi dear Petricek how can i do this ? plz tell me some detail thanks a lot
-
file upload and download with renaminghi dear enjoycrack how can i do this ? plz tell me some detail thanks a lot
-
file upload and download with renaminghi i want to save renamed uploaded files in my site for example i save a.gif as 123423.aspx, right is it possible to show this image in browser without renaming it again with reponse.write or other technique (for example loading image in memory)? thanks
-
web site's file download protectionhi i'm a c# developer how can i protect my image and archive(zip) files in my web site from unauthorized downloads? thanks
-
web site's file download protectionhi i'm a c# developer how can i protect my image and archive(zip) files in my web site from unauthorized downloads? thanks
-
java script security problem?hi i will post my sample to your mail to see what i mean. my mail is hassan.azizi@gmail.com ,pls send your mail address to me. thanks
-
java script security problem?hi i will post my sample to your mail to see what i mean. thanks
-
java script security problem?hi JKroschel thanx to your reply i have a sample that shows how javascript files can store data on clinet computer(data can be stored in array structure and can be retrived in html pages by refrencing array).this sample works great and excactly like gmail's address book match finder script.if u want i can send this sample to u.but my problem is that i can't find out how gmail hides user data(js files) from unauthorized users in clineet computer. i become so glad to talk on this subject to u. bye
-
Data grid clinet behavior?hi how i can embed clinet side script code in web date grid control with C# .NET ? thanx
-
java script?hi i want to use java script files to store data in client computer like google's gmail mechanism for auto complete and speed matter. but i don't know how i can hide this file(which containes user data) from hackers just like gmail(i can't find gmail data in my computer and i can't save gmail page correctly to see my data stored in some files!) how gmail does it? and how i can prevent jscript file saving request from user? i'm wating thanks
-
java script security?hi i want to use java script files to store data in client computer like google's gmail mechanism for auto complete and speed matter. but i don't know how i can hide this file(which containes user data) from hackers just like gmail(i can't find gmail data in my computer and i can't save gmail page correctly to see my data stored in some files!) how gmail does it? and how i can prevent jscript file saving request from user? i'm wating thanks
-
java script security problem?hi i want to use java script files to store data in client computer like google's gmail mechanism for auto complete and speed matter. but i don't know how i can hide this file(which containes user data) from hackers just like gmail(i can't find gmail data in my computer and i can't save gmail page correctly to see my data stored in some files!) how gmail does it? and how i can prevent jscript file saving request from user? i'm wating thanks
-
Justify alignment in c# ritchtextbox control!!!thanks stewart it worked nice! but i have another problem : my language is right to left when i send message to justify text align the richtextbox RightToLeft property becomes to RightToLeft.NO but it's first value was RightToLeft.Yes! and setting that again to RightToLeft.Yes does not affect the text! it only works properly when RightToLeft property value is RightToLeft.No! what can i do? how can i have deep study on native and managed data types and marshalling? do i need special resources to do this study? best wishes
-
Justify alignment in c# ritchtextbox control!!!ifound that : #define WM_USER 0x0400 i use send message like below : .......... public const int EM_SETPARAFORMAT = 1095; [DllImport("user32.dll")] private static extern int SendMessage(IntPtr hWnd, [MarshalAs(UnmanagedType.U4)] int msg, int wParam, ref PARAFORMAT2 format); [StructLayout(LayoutKind.Sequential)] public struct PARAFORMAT2 { public UInt16 cbSize; public UInt64 dwMask; public double wNumbering; public double wEffects; public long dxStartIndent; public long dxRightIndent; public long dxOffset; public double wAlignment; public short cTabCount; public long[] rgxTabs; public long dySpaceBefore; public long dySpaceAfter; public long dyLineSpacing; public short sStyle; public Byte bLineSpacingRule; public Byte bOutlineLevel; public double wShadingWeight; public double wShadingStyle; public double wNumberingStart; public double wNumberingStyle; public double wNumberingTab; public double wBorderSpace; public double wBorderWidth; public double wBorders; }; PARAFORMAT2 Format = new PARAFORMAT2(); Format.dwMask = 0x0008; Format.wAlignment = 0x0004; Format.wNumbering = 0; Format.cbSize = (UInt16)Marshal.SizeOf(Format); Format.wEffects = 0x00400000; Format.rgxTabs = new long[]{0}; Format.cTabCount = 1; Format.bOutlineLevel= 0; SendMessage(PickControl.SelectedControl.Handle,EM_SETPARAFORMAT,0,ref Format); ........... but it's execution takes no effect to my richtextbox! and sendmessage returns zero value! what is my problem?