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

Search:

Type: Posts; User: Three5Eight

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    11
    Views
    1,452

    Re: Creat Property in th CLass

    lol
  2. Replies
    6
    Views
    1,404

    Re: BoardTracker

    I have no idea what toolbar you are talking about but if codeguru has a virus they better get it fixed, I'm not coming back here until they do. Seems weird about BoardTracker.
  3. Replies
    4
    Views
    1,182

    Re: Display an int in Binary

    Google

    Result 1
  4. Replies
    11
    Views
    1,452

    Re: Creat Property in th CLass

    Set is setting.
    Get is getting.
  5. Replies
    3
    Views
    1,003

    Re: Silly Answer...

    :confused:
  6. Replies
    6
    Views
    1,404

    BoardTracker

    Who is BoardTracker and how come they keep viewing my profile over and over again? But never post anything. Is it a spam bot?
  7. Re: Windows form control like this?

    I'll take a look at WPF then, because I need to change the UI of a ListView control myself. But its always been too much work for me to worry about right now.
  8. Re: Limit Number Of vb setup Installation on client machine

    Neat! I had this exact same idea but I thought it was stupid. But you just thought of the same idea so it must not be that stupid after all.

    I don't think I would delete/uninstall the software for...
  9. Re: Create an application without a window?

    Opacity to 0% is the best way to do this in my opinion. I wouldn't play around with other methods that can cause bugs later.

    Just make sure if you use opacity you remember to set ShowInTaskbar to...
  10. Re: Limit Number Of vb setup Installation on client machine

    I got it open with express edition and there were too many errors for me to worry about. Does anyone know of any newer key programs like that? Something written for C#? I have been searching for...
  11. Re: Windows form control like this?

    It looks like its in the column header to me. I think that's what he is looking for. I don't know of any Windows control that can do that. Asside from ineriting from ListView and doing it yourself....
  12. Re: Limit Number Of vb setup Installation on client machine

    I would be interested in getting a copy of this program attached to Post # 17 for either C# or Visual Basic .Net. I am really interested to see how it works because I am looking for this exact thing...
  13. Replies
    52
    Views
    32,068

    Re: Object Validation

    TheCPUWizard:

    In reguard to your PM here is the new project you requested. I think this is what you needed.
  14. Replies
    3
    Views
    4,681

    Re: Need help Marshaling in C#...

    You know, when Jelsoft invents the version of vB that automatically detects code and places code tags around it, they will be able to charge 3 times as much for the software.
  15. Replies
    5
    Views
    1,083

    Re: Forms and Close() method

    Show me the money!!! :eek:

    Heh, yep, it's not possible to do this unless you have a mistake in your coding. Close() does not effect Owners.
  16. Replies
    52
    Views
    32,068

    Re: Object Validation

    Well everything works except the IsValid() function right now. I have many more classes to design, and if I can get the IsValid() down first then I do not have to rewrite all those classes.

    But,...
  17. Replies
    52
    Views
    32,068

    Re: Object Validation

    Interesting, I'll look forward to your example. I think that would be usefull in many places. Not just validation. I guess you learn something new everyday. In the mean time I'll keep working on...
  18. Replies
    52
    Views
    32,068

    Re: Object Validation

    Ok, I'll make the changes then. I tried to stay away from returning true because no matter what is passed into the function will always be true even if it's not valid. I figured it was safer to...
  19. Replies
    52
    Views
    32,068

    Re: Object Validation

    Sorry, but I don't know how to create a validator for a boolean field if I always need to have a validator assigned.

    I can't even assign it to Validator class and use the default "do nothing"...
  20. Replies
    52
    Views
    32,068

    Re: Object Validation

    Ok, so I think you are saying instead of doing this:



    public Field<bool> field1;


    I just use the normal way?
  21. Replies
    52
    Views
    32,068

    Re: Object Validation

    Well the reason I decided not to have a validator is because some fields cannot be validated. For example:



    bool Taxable;


    In my Department class to tell if the class is taxable or...
  22. Replies
    52
    Views
    32,068

    Re: Object Validation

    OK,

    I added one function to the Field<> class:



    public bool IsValid()
    {
    if (m_validator != null)
    {
  23. Re: Please Help... Simple Problem I can't solve please!

    Interesting, I read in a book some place. I think it was "C# CLR" that elseif statements add extra overhead because they cause the same expression to be evaluated over and over again. Where a switch...
  24. Replies
    52
    Views
    32,068

    Re: Object Validation

    If I modify Validate to return a bool so that statement will compile, then the class is incorrect because my override would also have to return a bool and it would not return anything because once...
  25. Replies
    52
    Views
    32,068

    Re: Object Validation

    Yes, however one part doesn't make sense to me.



    public T Value
    {
    get { return this.m_Value; }
    set
    {
    if...
Results 1 to 25 of 91
Page 1 of 4 1 2 3 4





Click Here to Expand Forum to Full Width

Featured