CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: mmx_nexus

Page 1 of 5 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    3
    Views
    1,074

    Re: GUI Refresh issue

    I did't quite understand "assigning a delegate in GUI class".Can you explain a little bit more??

    Please note that the object creation,adding to binding list etc all happends in GUI thread.Inside...
  2. Replies
    3
    Views
    1,074

    GUI Refresh issue

    Hi,

    I have a bindinglist(source) of objects(Record) and the list is bound to a grid.Now,inside the object I have a callback method which gets invoked by a different thread to inform about a...
  3. Replies
    3
    Views
    1,408

    Re: Help:Datetime format string

    I almost got it,but it looks ugly..is there a single string format which can satisfy my case?


    if (DateTime.TryParseExact(enteredText,
    new string[] {
    ...
  4. Replies
    3
    Views
    1,408

    Re: Help:Datetime format string

    Agreed with the space issue.I'm going to go back and convince them that space is going to be mandatory between mm dd and yy.

    Is there a single format string which can satisfy the following...
  5. Replies
    3
    Views
    1,408

    Help:Datetime format string

    Hi,

    I’m looking for a small help for forming the correct datetime format string for validating an user input.

    Case 1:
    User can enter 2008-11-08 or 11 nov 08 or 08 11 nov with spaces between...
  6. Replies
    0
    Views
    591

    Help me with a recursive method.

    I have a string(an expression) like this (A | B) & (C & D) | E,which should be converted into the following XML.



    <Expression>
    <Or />
    <Expression>
    <And />
    <Expression>
    <Or />
  7. Replies
    1
    Views
    1,172

    Batch Operation!!!

    I have 3 different select queries querying 3 different tables in my DB.I need all of them to be executed at once as a batch and retrieve the results and fill a dataset with 3 different tables...
  8. Replies
    3
    Views
    916

    Why is value types on the stack???

    I have a very dead basic doubt about value types and reference types. The root object in .NET is System.Object and all others are derived from System.Object which is a reference type. Now all value...
  9. Replies
    2
    Views
    806

    Concurrency Implementation issue!!!

    Hi,

    I’m looking out for an opinion on how to do this better..

    I have a shared dictionary between two threads…one thread is continuously updating it, say the updation is more than 20 times...
  10. Re: Trace messages to a control based on filtering..how???

    The moment you add it to the listeners collection...all trace commands gets dumped into the listbox.

    As i said if any part of the code says Trace.Writeline("message")...it gets dumped into the...
  11. Re: Trace messages to a control based on filtering..how???

    Well...i see your point...but then the approach you mentioned is not standard tracing...as i see that the listener MinListener is not added to the listeners list of the application,and hence when you...
  12. Re: Trace messages to a control based on filtering..how???

    Thanks for all your answers...

    Now, creating seperate instances of 2 trace listeners wont work..as whenever any body says Trace.WriteLine("Something")...it gets written to both the traces..

    I'm...
  13. Trace messages to a control based on filtering..how???

    Hi,



    How do i set up two trace listeners which does tracing on the basis of some condition???



    Scenario:
  14. Preparing a Dictionary out of a huge XML.

    I have the below mentioned XML and i need to populate a dictionary out of it...


    <IntrestedBookSet>
    <IntrestedBook AuthorName="XXX" Book="YYY" ID="1"/>
    <IntrestedBook AuthorName="XXX"...
  15. Re: Looking for a suitable design pattern...

    Well..that is where exactly the problem is...

    Find the code & comments below..




    class Program
    {
    static void Main(string[] args)
  16. Looking for a suitable design pattern...

    Hi,

    I'm looking for a specific design pattern or a solution which can solve my problem..

    I have a base class with 3 derived classes.Let us say A,B,C are derived classes and Base is the base...
  17. Replies
    1
    Views
    1,076

    What should be the Row filter for this???

    I have a Datatable in the following format

    Colum1 Colum2
    xxx aaa
    xxx bbb
    xxx ccc
    yyy aaa
    yyy a

    and so on...
  18. How to abort a thread waiting on a lock???

    I have a requirement wherin i have a timer which raises events in a timespan of 5 milliseconds..and i have got a pice of code in the timercallback which basically retrieves data from the...
  19. Replies
    6
    Views
    1,263

    Re: Loading Global data???

    OK, i see that my post was bit confusing..

    Let me give you an exact scenario of what i want...

    I have a component which sends my GUI clients memory profile to the server.I need this dll to...
  20. Replies
    6
    Views
    1,263

    Re: Loading Global data???

    Assume that i have a component which basically loads global data(data which is going to be used across entire application) and i add a reference of this project to my main exe and that is all what i...
  21. Replies
    6
    Views
    1,263

    Loading Global data???

    How do i load global data in C#???

    Also,how do i start a component added as reference to my project,without calling it...i.e assume that you have an exe and a dll...on executing the exe the dll...
  22. Replies
    5
    Views
    1,026

    Re: Looking for a better Search Algorithm

    That is exactly my problem...

    If i'm maintaining two different dictionaries with 50K objects in each that too parsed and populated at the app startup...my application memory consumption goes for a...
  23. Replies
    5
    Views
    1,026

    Re: Looking for a better Search Algorithm

    I'm already pulling out the records from the DB..

    Imagine a real world scenario like capital market historical data..

    I'm pulling out the entire data in one shot,and giving offline support in...
  24. Replies
    5
    Views
    1,026

    Looking for a better Search Algorithm

    I'm looking for an algoritham which helps me in retrieving data in a faster way..

    The following is my XML



    <IntrestedBookSet>
    <IntrestedBook AuthorName="XXX" Book="YYY" ID="1"/>...
  25. Replies
    3
    Views
    980

    Re: Reduce Startup memory usage..HOW???

    I guess i can give a try on XMLReader rather than using XmlDocument and prepare the dictionary while looping through the XML.

    SqlLite and direct DB querying is not possible due to other reasons.....
Results 1 to 25 of 123
Page 1 of 5 1 2 3 4





Click Here to Expand Forum to Full Width

Featured