Search:

Type: Posts; User: kairozamorro

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    8,445

    A main() likely already exists. Typically, that...

    A main() likely already exists. Typically, that code would go there in a console application. In a WinForms application, it would be triggered by one of the many form's events or the events of...
  2. Replies
    4
    Views
    1,239

    Base classes should not include anything you...

    Base classes should not include anything you would not want in the derived class. You can however override methods in the base class with methods in the derived class.
  3. Replies
    11
    Views
    11,745

    I don't think structures can be instantiated,...

    I don't think structures can be instantiated, only classes. Thtats why you want to use a class over a structure.
  4. Replies
    2
    Views
    12,301

    Works like a charm, I was having nightmares of...

    Works like a charm, I was having nightmares of having to figure out the code to do it manually, now I don't need to :)

    Thanks for your help.
  5. Replies
    2
    Views
    12,301

    Auto Scroll ListView to Selected Item?

    One of the things I liked about plain old ListBoxes is that if I changed the selectedindex in code the list would automatically scroll so the selected item was viewable.

    I have an application that...
  6. Replies
    6
    Views
    3,120

    I'll be using the Tag property of one of the...

    I'll be using the Tag property of one of the controls (probably the combobox) so I don't need a variable now, great :)

    The reason for these requirements is because of a URL field in an application...
  7. Replies
    6
    Views
    3,120

    Though now you mention it, I could use the...

    Though now you mention it, I could use the default dropdown style of the combo box and ditch the textbox completely. The text property could be anything, though doing this means I'd still haft to...
  8. Replies
    6
    Views
    3,120

    That would be for autocomplete (which .net...

    That would be for autocomplete (which .net already provides without need for code) if I were to use the default dropdownstyle of a combo box w/ its autocomplete source set to the list of the same...
  9. Replies
    6
    Views
    3,120

    Circular updating of combobox/textbox

    Heres a programming challenge for all you .net developers. Before reading my book, please note I've got a solution to the following, I'm just seeing if there is a better way :)

    I've got a dropdown...
  10. Replies
    5
    Views
    2,487

    Bingo! :lol: I found a .net way of doing this...

    Bingo! :lol:

    I found a .net way of doing this thanks to KeePass most recent release notes :)

    Its SendKeys.Send("Whatever here"), part of System.Windows.Forms

    See the MSDN article if you're...
  11. Replies
    5
    Views
    2,487

    I think KeePass is opensource. 2.x is built using...

    I think KeePass is opensource. 2.x is built using .net so I'll see how its done hopefully. I've got about a year of programming experience in .net but I'm still not very comfortable with external...
  12. Replies
    18
    Views
    4,041

    Test to see if its got 7 characters minus the...

    Test to see if its got 7 characters minus the extra &:


    if (lblMessage.Text.Replace("&&", "&").Length == 7)
    {
    // code if true goes here
    }
  13. Replies
    5
    Views
    2,487

    That's the thing... it doesn't. I want to be able...

    That's the thing... it doesn't. I want to be able to type something into the next window to have focus when the program is minimized. Ever use KeePass Auto-Type feature? Thats similar to what I'm...
  14. Replies
    5
    Views
    2,487

    Type with code

    All I seem to be getting via Google is the keypress event. Anyone know of a way to type something into the active control (say a textbox) using code?
  15. Replies
    1
    Views
    1,230

    Nevermind, found a solution: IcoFX Portable...

    Nevermind, found a solution: IcoFX Portable

    Never heard of it before til now and wasnt finding anything under search results. A little confusing at first but the produced ico was only 60kb versus...
  16. Well about 2 months later I'm still battling...

    Well about 2 months later I'm still battling this. I've got another projet I've almost finished with and its only taken me 3 days. This project? Oh about 5 months. Its ridicously amazing how...
  17. Replies
    1
    Views
    1,230

    Compressing Project Icons

    I've got a really small app (30-50kb) and I'd like to keep it close to that if possible and be able to give the project an icon. I use coolutils online image converter to get my icon from a jpg but...
  18. Replies
    12
    Views
    1,752

    Yes, but to avoid the extra characters, etc.

    Yes, but to avoid the extra characters, etc.
  19. Replies
    12
    Views
    1,752

    In the function store the char array in a string...

    In the function store the char array in a string and print the string?
  20. Replies
    14
    Views
    8,427

    Shouldn't the struct be outside your function? If...

    Shouldn't the struct be outside your function? If you want the pointers to be valid both the scope of the array of the structs and the pointer must be outside the worker function.
  21. Replies
    3
    Views
    1,518

    The answer is to set up a while loop and use a...

    The answer is to set up a while loop and use a variable (like a bool). If the user enters something that is invalid, the variable changes values to meet the while loops conditions (say true?) and...
  22. Replies
    16
    Views
    20,391

    Best use bools, since ints could vary than in...

    Best use bools, since ints could vary than in your case, especially if the user is inputting the coordinates.
  23. Replies
    16
    Views
    20,391

    No difference at all.

    No difference at all.
  24. Replies
    5
    Views
    1,889

    The variables in nested for loops are reset for...

    The variables in nested for loops are reset for each literation of the outter loop(s). It has to do with scope. In the example above for example, y only exists within that inner for loop. While it...
  25. adeyblue, thank you for the link to that article...

    adeyblue, thank you for the link to that article

    I can't guarantee it'll solve my problem (the circumstances are slightly different), but at least it helps me to understand some of the underhood...
Results 1 to 25 of 49
Page 1 of 2 1 2