Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

dengboo

@dengboo
About
Posts
16
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Read & Display a huge text file in textbox
    D dengboo

    Hi aspdotnetdev, Thank you very much for giving me so detailed tips. Yes, that's what I'm trying to implement. A good news is that the textbox will be readonly, user only has the read, find, print options for this huge text. dengbo.

    --------------------------------- Believe what you saw!

    C# csharp performance help question

  • Read & Display a huge text file in textbox
    D dengboo

    Luc Pattyn wrote:

    Dengbo wrote: reading and displaying a huge text file (>=300MB) in a textbox. that sounds like extreme non-sense; who in his right mind is going to read one huge page of text like that?

    you know, some routing reported files (shop order, job cost, etc) in ERP can be very huge...

    --------------------------------- Believe what you saw!

    C# csharp performance help question

  • Read & Display a huge text file in textbox
    D dengboo

    Hey, I'm suffering an issue of reading and displaying a huge text file (>=300MB) in a textbox. I found that the maximum string I can read into memory is about 250MB because of the limitation of the RAM and also likely related to the limitation of the .net component. (when the text is very large to display in a textbox, out of memory exception will be thrown) So in this case, the only way we can do is to show the text file on demand, which is likely what the UltraEdit does. Could anyone give me some tips or solutions about this issue? Thanks in advance. dengbo

    --------------------------------- Believe what you saw!

    C# csharp performance help question

  • ListView Gridline color
    D dengboo

    Where do you put the painting code? Paste your code, or it's hard to resolve it.

    --------------------------------- Believe what you saw!

    C# css

  • Progress Bar
    D dengboo

    To xmen_xwk, you can use "Application.DoEvent();" at each loop.

    --------------------------------- Believe what you saw!

    C# question

  • How to grow to be top programmer in c#?
    D dengboo

    A says like this : Practice makes perfect.;P

    --------------------------------- Believe what you saw!

    C# csharp tutorial question code-review

  • Should I write destructors for all the classes
    D dengboo

    No, I don't think so. .Net Framework has its own Garbage Collection.

    --------------------------------- Believe what you saw!

    C#

  • How to implement a user configuration for an Application by C#? [modified]
    D dengboo

    YouMiss wrote:

    I did read about that the C# (or maybe the .NET framework) supports the *.resx file format which is to persist all the external resources used for an application. However, upon what I read I haven't figured out how to modify a resource file at real-time. And yes, the resource file is making use of the XML file. Is it what you were just trying to say?

    .resx file is mostly like a file stores base 64 string of images or the extra infos of design mode of a form, and as default it's build as "Embedded Resource" in VS2005 (see the properties of one form, there is a "Build Action" node at the properties window). If you want to read and write the use configuration, a good way is to use .xml file or .config file, the select the "Build Action" as "Content", and the property "Copy to Output Direactory" as "Copy if newer".

    --------------------------------- Believe what you saw!

    C# csharp design tutorial question workspace

  • oops+inheritance
    D dengboo

    To kalyan_2416, Take a look at the following sample. public abstract class BaseClass { public BaseClass() { Console.WriteLine("Invoke from base class."); } } public class DerivedClass : BaseClass { public DerivedClass() : base() { Console.WriteLine("Invoke from derived class."); } } class Program { static void Main(string[] args) { new DerivedClass(); } } ---------------------------output-------------------------- Invoke from base class. Invoke from derived class.

    --------------------------------- Believe what you saw!

    C# oop tutorial question

  • Detecting key pressed on parent/childs MDI forms
    D dengboo

    hey Amjath, perhaps you have little misunderstanding of the question.;) to daniel, I think it's the question about how to bind key events in a simple way. As it mentioned above, there're too many child forms in the parent form, and you don't want to bind the key event in each child form. Thinking of this, if there's a base form called ControlEx (or something else), and it contains the override method of OnKeyPress, OnKeyUp, etc, things will be simpler when all the child forms inheritted from ControlEx not from System.Windows.Froms.UserControl.

    --------------------------------- Believe what you saw!

    C# help lounge learning

  • How to implement a user configuration for an Application by C#? [modified]
    D dengboo

    As you mentioned, you're a newbie in C#, so I think the most important thing to you is not the application interative but how to create a real application. You can create some applications without thinking too much more, just let them run with simple features, such as IO, Registry, Graphics, etc. These can help you with further programming.

    YouMiss wrote:

    but I still don't understand that how to persist and implement user configurations to make the application interactive?

    Since then, you shoule know this way: you can use XML document to save the user configuration and let the application "read" the user's settings and "implement" them. Use XML to store and read user configruation. That's "what you do", not "how to do".

    --------------------------------- Believe what you saw!

    C# csharp design tutorial question workspace

  • Google Suggest feature with ASP.NET 2.0
    D dengboo

    Use the keywords "auto complete" in CP, and you will see tons of articles about feature like Google Suggest

    --------------------------------- Believe what you saw!

    C# csharp asp-net help tutorial

  • .NET Newbie
    D dengboo

    Christian Graus wrote:

    Even that is not strictly true, there's a web server built in to VS2005.

    Hah, Thanks for your kindly figured out. It's true you can VS2005 in-build web server to deploy your websites or web applications, but it has no configuration. It's just a simple web server provider and depends on the running VS2005.;P

    --------------------------------- Believe what you saw!

    C# csharp c++ perl visual-studio game-dev

  • from_unixtime in c#.net
    D dengboo

    So far as I know, C# language has no specified function. But you can create a similar function your self.

    --------------------------------- Believe what you saw!

    C# csharp mysql tutorial

  • .NET Newbie
    D dengboo

    Hey, guys, maybe you have little misunderstanding of Client/Server. So fars as I know, you just need to install Visual Studio 2005 with Windows Vista enhancement hotfix. And that's all for your winform applications. And if you want to do the web developing, the IIS 7.0 is also needed on the Windows Vista. Our working based on Windows Server 2003, Visual Studio 2005 and SQL Server 2005. PS, I have one question: have you had any experience of C# programming ? ( I know you have other langugage programming exp)

    --------------------------------- Believe what you saw!

    C# csharp c++ perl visual-studio game-dev

  • .NET Newbie
    D dengboo

    HI, Brian, Since reading this, I want to help you with my great effort. I'm a .net developer in China, and I have two years experience of C# programming. The early I touched with C#, i found it very hard for me to get through, but things got better while I doing my work, which I mean that you should study C# till with some projects. That's a good way. And if you want further infos about learning C#, I'm very appreciate for your reply. The mail is Dunbar.Cui at Gmail.com.

    --------------------------------- Believe what you saw!

    C# csharp c++ perl visual-studio game-dev
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups