Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums


Type: Posts; User: TheGreatCthulhu

Page 1 of 47 1 2 3 4

Search: Search took 0.06 seconds.

  1. Re: Newbie in C sharp/ Microsoft Visio

    Also, after you add assembly & namespace references as described above, check you code for typos and syntax errors (there are both in the code you posted above):

    PrincipleContext ctx = new...
  2. Re: How to return the integer value of a string?

    May I suggest to consider the text of the exercise once again and think about what it's trying to teach you - because I think that the way you are going about it is overly complicated.
    To me, it...
  3. Replies

    Re: Random number/array/histogram

    You seem confused about what your histogram should display. The number of calls to roll() has nothing to do with how many different numbers roll() can return. Those two things are independent. Say,...
  4. Replies

    Re: .xml to .txt

    No, what he meant was: if you were to write some code that would insert the line breaks and save the output to a txt file, that code would have to parse the original xml file to achieve this - but...
  5. Re: Fixed delete recoders SQL Server database ?

    See this:

    Looks like your table somehow doesn't have a primary key.
    Using SQL Server...
  6. Re: How to repeated insert into history by textchanged event problem

    Or, in case the user is allowed, but not required, to press enter, you can additionally handle the LostFocus event.
  7. Re: Building a parser using two differnt classes

    P.S. For validation, you would check things like if the split results in the expected number of components, and you would catch any exceptions thrown by int.Parse(), etc. If you detect any problems,...
  8. Re: Building a parser using two differnt classes

    That shouldn't be too hard to make. You would use some of the methods provided by the string class. Note that none of these methods alter the original string (string type is immutable) - they all...
  9. Re: Problem : Unable to connect to specified host From C# application

    Yes, but, what are the details of the exception - stack trace, inner exception and all - there's probably a clue in there as to what is going on.

    Try changing
  10. Re: The handle is invalid error exception when screenshoot from screen why and how to

    Also, is this a service by any chance? If so, take a look at this.
  11. Replies

    Re: Gaussian Rationals??

    Hi and welcome to the forums.
    When posting code, please use the
    tags - they will keep existing code formatting and help others read your code.

    Now, about your question - um... what exactly...
  12. Re: Obj.Orient. Structure question newbie/intermediate

    In addition to what Arjay said, let me just add a few thoughts. Your "manager" classes can do more than just store a list of things - as long as it conceptually makes sense, and as long as the...
  13. Replies

    Re: What should I be doing differently?

    So far, this peace of code doesn't really do anything:

    Private Sub lstNames_SelectedIndexChanged(sender As Object, e As EventArgs) Handles lstNames.SelectedIndexChanged
    Dim query = From...
  14. Replies

    Re: Concatenate images - H E L P

    Well, the main thing is to figure out how you'll arrange those images, both within a row, and the rows themselves. What you would do is collect all the rectangles in some list-like container...
  15. Re: How to access a managed 2D array in C++ *without* making a deep copy?

    Here's what I've found on this page.

    It seems that you can simply pin an arbitrary element of the array outside of your loop, and the entire array will be pinned - so you don't really need...
  16. Re: SLOWING DOWN NumericUpDown control increments

    Oh, I was switching among several tabs, didn't see you've answered already - and you gave it quite a bit more thought than I did.

    Right - I forgot that the user input will still update the...
  17. Thread: P = np

    by TheGreatCthulhu

    Re: P = np

    Superbonzo, awesome post/topic! :D

    A few points:

    They are transition probabilities, but the "conditional" part is most likely not true - the process where one state collapses into some other...
  18. Re: SLOWING DOWN NumericUpDown control increments

    It seems that the NumericUpDownAcceleration objects within the collection returned by the Accelerations property do not change the number of ValueChanged events per second, but rather determine by...
  19. Re: if then statement and switch statement

    Yeah, me to, and in general it's a good thing to do because it helps the client developer debug his own code, rather than hide the error that might come back with a revenge. But, there are specific...
  20. Re: if then statement and switch statement

    Yes, but note that if you are range-checking client input, then you have to decide what to do if the input is invalid (throw exception, use default value, ignore, etc.) - so if you look at it from...
  21. Replies

    Re: N-Tier C# Master Detail member

    You are, of course, correct, but I think the OP is not really looking for an existing solution/framework, and rather wants to learn and understand the inner workings of such architectures.

  22. Re: if then statement and switch statement

    But note that, depending on how you construct your code, even using enums can give you the same error. Enums can be type-casted from integers, and so can end up having values you didn't specify in...
  23. Re: Button/busyindicator in other than Click Event

    If BusyIndicator is an instance variable or a property, then it's because those two methods, GetDriveAndFile() and CRCChecker(), are static.
    If you can change the code of those methods, then either...
  24. Re: need an Opinion about how to start this project i`m practicing..

    Well, we normally can't tell if you have mistakes without knowing what the system is supposed to do and how it's supposed to function in more detail - because there's no one specific design that is...
  25. Re: Synchronizing a function with the message loop?

    I think you could use the same approach video games use - they basically let the message loop run as fast as possible, getting (and making) status updates on each iteration. So your program is just...
Results 1 to 25 of 1163
Page 1 of 47 1 2 3 4

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

HTML5 Development Center