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

Search:

Type: Posts; User: ZOverLord

Page 1 of 6 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: How to control visibilty of form1 from form2

    Yes, I was showing methods to create a linkage from Form2 to Form1 so that things like this could be done after Form2 was started, if needed. Without restricting that use, to event monitoring, only...
  2. Re: How to control visibilty of form1 from form2

    Simple example that gives you a reference to anything in Form1 from Form2:



    // In Form1 add this where you launch Form2
    private Form2 myForm;
    myForm = new Form2();
    ...
  3. Re: Problem:How to use the string array after using the Split() method?

    string val = "Andy,Ram,Seth";
    string variable = "";
    String[] synonyms = val.Split(new Char[] { ',' });

    if (synonyms.Length...
  4. Re: Problem:How to use the string array after using the Split() method?

    This index is zero based, if there is no 1, you will cause an exception.

    You might also wish to check length as well: if synonyms[i].Length > 0 ...
  5. Replies
    35
    Views
    9,915

    Re: [RESOLVED] multi threading question

    This is because you gave him the WRONG link.

    The Link(s) I have been using about this since post #11, in post #11, Post #12, Post #14, #16 and #21 in this thread has been:



    The link you...
  6. Replies
    35
    Views
    9,915

    Re: [RESOLVED] multi threading question

    You have conveniently left out the rest of what was said:



    Since, this has ALWAYS been about using a bool, NOT any 64bit value of ANY kind ("See Post #3 in this thread") and the example...
  7. Replies
    35
    Views
    9,915

    Re: [RESOLVED] multi threading question

    They both came here and read this thread. Their statements were made, after they read this thread.

    Also, I keep repeating this over and over and over and over but I will do it again:

    The...
  8. Replies
    35
    Views
    9,915

    Re: multi threading question

    First the concept code was/is only using a bool. I have NO idea where this 64bit tangent started from, but it does NOT apply to what the original poster requires. Again, my concept code was/is only...
  9. Replies
    35
    Views
    9,915

    Re: multi threading question

    I supplied the link I did not forget.

    Nothing was out of context, as I said the original poster would need only a Bool of true or false. My point was to show that is NOT a 64 bit issue. Nor has it...
  10. Replies
    35
    Views
    9,915

    Re: multi threading question

    You need to learn how the try/finally block works and WHY Microsoft would code it that way, in BOTH their examples, as well as wonder WHY nobody has added any Community Content about any issue you...
  11. Replies
    35
    Views
    9,915

    Re: multi threading question

    Yes, I realize you are wrong. Correct

    Please re-read the Microsoft Code located in the 2 links here:

    http://www.codeguru.com/forum/showpost.php?p=1799528&postcount=14
  12. Replies
    35
    Views
    9,915

    Re: multi threading question

    Please call the 1-800-Microsoft Huge problem line now then.

    FYI 64 bit systems have been around for some time now, You need to "READ" the code examples at the Microsoft links please.

    Thanks.
    ...
  13. Replies
    35
    Views
    9,915

    Re: multi threading question

    I disagree There is NO racing condition using this code:

    http://msdn.microsoft.com/en-us/library/system.threading.readerwriterlock.aspx

    None, Nada, Zip, Zero.

    There can be other issues, but...
  14. Replies
    35
    Views
    9,915

    Re: multi threading question

    I repectfully disagree with you for a few reasons:

    I quote:

    "ReaderWriterLock is used to synchronize access to a resource. At any given time, it allows either concurrent read access for...
  15. Replies
    35
    Views
    9,915

    Re: multi threading question

    The concept applies as #4 of of 3 approaches, of course modifications maybe required.

    If my suggested ("Concept") requires more help from me for you to implement, please let me know, otherwise I...
  16. Replies
    35
    Views
    9,915

    Re: multi threading question

    Approach #4 of 3

    If you do not wish to pause and wait with a lock you could do this instead and return instantly based on inFunction1, even if you have a non-fatal exeception, inFunction1 will be...
  17. Replies
    40
    Views
    7,819

    Re: Mix-in Classes VS. C# Interfaces

    The word analogous is NOT used to compare differences ("See Link in prior post for defintion") the question was NOT about are they different.

    Contrary to your belief, I can read, my suggestion is...
  18. Replies
    40
    Views
    7,819

    Re: Mix-in Classes VS. C# Interfaces

    I supplied a "Definition" of http://dictionary.reference.com/browse/Analogous Analogous because I knew it would come to this, so please read it.

    I also quote:

    "Some of the functionality of...
  19. Replies
    8
    Views
    1,346

    Re: need help on small project

    You could use the MaskedTextBox class:

    http://msdn.microsoft.com/en-us/library/system.windows.forms.maskedtextbox.aspx

    Masks examples are here:...
  20. Replies
    40
    Views
    7,819

    Re: Mix-in Classes VS. C# Interfaces

    Yes you are correct, TheCPUWizard and MutantFruit stand to be corrected.

    While these are NOT the same, they are analogous to an interface.

    I Quote:

    "having analogy; corresponding in some...
  21. Replies
    88
    Views
    16,309

    Re: Passing Variable To Form Problem

    Thanks toraj58,

    I know that people like you and others can help keep this from happening.

    I apologize to you and the others in this thread, these 2 follow me and "Trash Threads" like they have...
  22. Replies
    88
    Views
    16,309

    Re: Passing Variable To Form Problem

    For others who may not know what MVC is and does.

    MVC stands for model-view-controller. While Microsoft is adding MVC to ASP.NET as a composition as a release and has been for many years, .NET nor...
  23. Replies
    88
    Views
    16,309

    Re: Passing Variable To Form Problem

    What's sad is that ALL of us who have posted here in this thread, were on the same page before you BOTH started, had you read the posts in this thread you would have seen that we had already...
  24. Replies
    88
    Views
    16,309

    Re: Passing Variable To Form Problem

    I agree, WPF ROCKS!

    Here is a Patterns & Practices guide from the Front Page of the Microsoft Patterns & Practices Area ("I Now Call It Microsoft Area 51 :cool: because "Design patterns are...
  25. Replies
    88
    Views
    16,309

    Re: Passing Variable To Form Problem

    News Flash:

    NOT TRUE. So, lets stick with the facts, NOT your Miss Information and Conjecture:

    This IS the "Patterns and Practices" web site area for Microsoft "Patterns and Practices":
    ...
Results 1 to 25 of 147
Page 1 of 6 1 2 3 4





Click Here to Expand Forum to Full Width

Featured