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

Search:

Type: Posts; User: wilnicm

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. I want to Pass the number of elements i want from string array stack

    I don't have any special way i'm passing the number of elements I want. I don't really care what each element's string contain. Here is the issue I already created and have the string array with all...
  2. Have not been able to figure out how to format my index.

    Hi,
    I' haven't been able to figure out how to format a list of string arrays coming from the string array. Currently here is another version of my code. Each time i change my code and...
  3. Replies
    5
    Views
    745

    Re: Converting an int list to a string array.

    Big,
    Ed, I didn't try to waste Talikag time, i got an error message when trying to run the code. I was asking whether this could be implemented with integer list. What i'm try to do is...
  4. Replies
    5
    Views
    745

    Re: Converting an int list to a string array.

    Talikag
    Will this work if im working with a list<int> Thats where
    i'm have the issue at. I was trying to see your code would work,
    but it would not work, since i hat a...
  5. Replies
    5
    Views
    745

    Converting an int list to a string array.

    Hello everyone..
    I've tried the ToString with no success. Can anyone tell me how to convert an int list to a string array. Thanks.. here is my code.



    string [] mystring;
    ...
  6. Re: Is is possible to have weights in Random Range.

    Dataminer,

    When trying to use this code. Its not getting the numbers that i populated inside the array. How would i pull one of the numbers from the array.


    int[] numbers = new int[] {4,...
  7. Re: Is is possible to have weights in Random Range.

    DataMiser that is one way of looking at it but i would be putting the number 3, 4, 5 in the array. I've seen code where people use weights instead of array. I'm assuming this would work about the...
  8. Re: Is is possible to have weights in Random Range.

    Sorry but i'm confuse about what you are saying here. I don't know why i'm muliplying by 5. i'm just trying to add weights to the range. that way the probability of the random number choosing one...
  9. Is is possible to have weights in Random Range.

    I've searched the internet, I've seen weights used in an array list or enum but i havent seen it used in a random range.

    I mean if I'm using Random



    Random.Next(Min, Max);


    method. ...
  10. Re: Cant figure out how to resovle error message "input string was not in a correct f

    Arjay you hit it right on the head.
    ====since you've create a new Form1 instance, textBox1.Text will be blank ===
    ...
    When i was first creating my method i was having some issues becuase i had...
  11. Re: Cant figure out how to resovle error message "input string was not in a correct f

    Does anyone know if this can be due to how my method was created or how its inside my
    public partial class Form1 : Form or is this a setting issue. I've been racking my brain and searching the...
  12. Re: Cant figure out how to resovle error message "input string was not in a correct f

    dglienna
    myVal = textBox1.Text;
    numTxt1 = int.Parse(myVal); This is the line that is throwing the error. I debugged it.
    It seems like the value coming from the...
  13. Re: Cant figure out how to resovle error message "input string was not in a correct f

    Thanks Big ed for the reply here is sample of my code.. thanks..
    Quick eplanation of my code. There is 6 textboxes that i pick up text from which are number text. After that I click a button that...
  14. Cant figure out how to resovle error message "input string was not in a correct forma

    Hi,
    I'm debugging my application and the value from my textbox is always = "" (blank value)even after a value has been entered. This is what i think is causing this error message "input string...
  15. Re: I need help with returning my list in one method to my labels in another method.

    Arjay,
    Thanks for the reply, but i was just asking a question dealing on how to return the number's in my list to the label thats all. I know how to return one number from the list to...
  16. I need help with returning my list in one method to my labels in another method.

    Hi,
    I'm confused on how to return more then one item to my list to more then one label at the same time. Meaning i know how to return on 1 item from the list to 1 label but how do i return...
  17. Re: I have question relating to my list and switch statement in my code

    I figured out the second part. Here is my code for the second part in case someone needs help with this logic... Thanks..again for all that tried to help.

    int numberpicked = 0;

    ...
  18. Re: I have question relating to my list and switch statement in my code

    Thanks Mike for helping out with this code..
  19. I have question relating to my list and switch statement in my code

    I want to thank in advance anyone who's able to help me here. Hi my question is relating to my code for my list and Case . The method that i've used RemoveRange only removes the numbers that i have...
  20. Re: Is is possible to randomize an if statement

    Thanks very much for your help and .. for the reply SMA, I'm going to try it out..
  21. Is is possible to randomize an if statement

    Hi,
    My question which i've been trying to search for is whether i can randomize an if statement meaning this The program can choose to randomly choose which if statement to execute rather then...
  22. Re: My code is not extracting unique number from list

    Hey everyone.. i figured it out.. Here is the code.. Thanks.. for all of the Help from the people that tried to help and for the people that made fun or acted stoopid. Booyah..



    ...
  23. Re: My code is not extracting unique number from list

    Thanks for the advice..(thumbs down..) You didn' t even read the post
  24. Re: My code is not extracting unique number from list

    I understand and you are correct, but I i have tried to use the debugger and but i cant seem to get it.
    I have tried putting a break point but i can't figure it out. This is what i'm getting when...
  25. Re: My code is not extracting unique number from list

    Well i know its looping forever, but how do i add to the list but at the same time check that the next generated number does not equal the generated random number that is on the list.
Results 1 to 25 of 28
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center