ReadAllText() is synchronous method, when you try to read a large text file, your application will hang or slow down ... better to use asynchronous medthod !!!
hackerhcm
Posts
-
Read large text files with c# -
Help Me with "Directory"Great ... It works ! Thank you !
-
Help Me with "Directory"When I want my file to be hidden, I simply use this System.IO.File.SetAttributes(str filepath, FileAttributes.Hidden) . But what about Directory, How can I set my directory to be hidden, I dont find any SetAttributes method for directory ! Any helps ???
-
How to acess a floopy drive in c#?what do you mean with the word "content" ? is content Files list in Floppy Disk ? You can easily get files content of your floppy disk by using System.IO.Directory.GetFiles . You can get your Floppy Disk drive info by using System.Environment.GetLogicalDrives good luck !
-
Help Me (Directx)I have made a program to play video file in directx (directx.AudioVideoplayback)! It worked well ! But I couldn't find the way to handle the video.owner ! when I did set the video.Owner = (name of my panel); I wanted to set video to full screen mode by double click on the video (in bool property video.FullScreen). I tried to add Double Click EventHandler to my panel or video.Owner but It didn't work ! How can I do this ? Any ideas ... ?
-
Help me (directx) !???????????????????????????????????????????????????????????????????? -- modified at 9:29 Monday 6th March, 2006
-
Help me (directx) !I have made a program to play video file in directx (directx.AudioVideoplayback)! It worked well ! But I couldn't find the way to handle the video.owner ! when I did set the video.Owner = (name of my panel); I wanted to set video to full screen mode by double click on the video (in bool property video.FullScreen). I tried to add Double Click EventHandler to my panel or video.Owner but It didn't work ! How can I do this ? Any ideas ... ? -- modified at 0:24 Monday 6th March, 2006
-
How can I do this?"open with"thank you so much .....! I understood and tried it ! Worked perfectly ... ! :-D
-
How can I do this?"open with"I created a program which has a "Load Picture" button, and a Picture Box .Whenever I click a "Load Picture" button, it will show a Open File Dialog then selected file will load to a picture box. My question is How I can make the picture loads to my Picture Box when User right click on a image file ---> Open With --> browse for my program. Like Photoshop, you know, when you rigt click a image file ---> Open With ---> Photoshop --> then Photoshop will open with that image file. Thanks !
-
How can I creat an .EXE file ? ... Thanks !here's my question : How Do I Compile a new .EXE file using VB.NET Application ?
-
How can I creat an .EXE file ? ... Thanks !How can I make an .EXE file ? for example, I creat a vb.net program that allow to type custom message on its text box. Then after click a "Make an EXE" button, a new .EXE file will be compiled and created. Of course, that new .EXE file will have the code : msgbox(Custom Message)
-
Help me with ListBox please ...! ThanksThank you, Steve.
-
Help me with ListBox please ...! ThanksI have a listbox with the following items for example : a ab abc b ba When I add a new item "abt" . How can I add that new item ("abt") in alphabetical order => So, my new item ("abt") will be placed after the item "abc".