put the below code in the function for search a word. string path=@"c:\\aaa.txt"; string[] read=File.ReadAllLines(path); for(int i=0;i
cnr369
Posts
-
Search keyword in documents -
copy and paste urlI think it may help u. write the below code in default page in pageload Session.Remove(Session.SessionID); FormsAuthentication.SignOut(); Context.User = null; Response.Redirect("./.../Login.aspx"); definitely it will help u...already i checked this... rgds, cnr369.
-
Problem with Context Switch DeadlockHi All, While am working for more that 5min.am getting aproblem as below... The CLR has been unable to transition from COM context 0x192008 to COM context 0x192158 for 60seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time. To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump messages during long running operations. so plz help me how to solve the problem to run the application for more than 20min. Thanks in advance, Rgds, cnr369.
-
Reading from a textHi all, I am working on DXF formats in c#.NET in windows applications.i was struck with reading data from dxf formats i.e.,importing data.how to import the data according to the requirement of the values....Plz help me ASAP. advance in thanks, cnr.
-
How to solve CONTEXTSWITCHDEADLOCKHi All, am working on .net windows application.as my application takes more time to run,a problem is getting known:ContextSwitchDeadlock how to solve the problem and where to include the code in my application to solve it.if any of u find, plz reply me as early as possible. Thanks in advance. Regards, cnr.
-
Reading values from specified line from a text file [modified]Hi all, i am working as a software eng..let know that how to read values from a text file at specified location which the file consists of no of lines of code...moreover i want to code in c#.net for example.. 1 23.34 2 456.33 --- i want to read values below 1 n 2 as x,y values...so plz let me know how to do.. Thanks in advance... Regards, cnr.. -- modified at 1:26 Friday 11th August, 2006
-
Using Java Appplet in Asp.net Appllicationu can put the applet in body tag as below and add the class file of applet into .net project
-
embedding java applet and asp.netHi all, How to integrate java applet and asp.net web application.I want to know how to include applet into aspx web page.Plz help me as soon as possible. Thanks in advance....
-
embedding of asp and applets [modified]I am a .net developer.I dont know how to embedd asp and applets.Plz let me know abt it... Thanks in advance -- modified at 8:01 Monday 29th May, 2006
-
Integration of asp and appletPlz let me know how to integrate applets with asp.net thanks in advance nag.