Search:

Type: Posts; User: Briantcva

Page 1 of 13 1 2 3 4

Search: Search took 0.86 seconds.

  1. Re: Class Member Variables Naming Convention

    I find it's nice to have private class variables prefixed w/ an underscore - it's a nice heads up re: what you're using.
  2. Replies
    17
    Views
    1,084

    Re: [02/03] Best commenting practice

    This is the crucial point. If you're at all good about function and variable naming, it should be relatively obvious (either at first glance or after some brief study) what the function is up to. ...
  3. Thread: Camel Case

    by Briantcva
    Replies
    4
    Views
    4,108

    Re: Camel Case

    You may, obviously, do things in whatever manner you choose and the only bottom line is be consistent!

    There are a lot of casing "standards" with camel casing being IMHO the most popular. Of...
  4. Replies
    9
    Views
    755

    Re: GUI Design issue....

    Agreed. Though maintenance in a different way I would argue.

    I just got tired of showing/hiding a variety of elements according to state.
  5. Replies
    9
    Views
    755

    Re: GUI Design issue....

    *Warning - Possibly sweeping generalizations follow. This is my experience/opinion and in no way discounts what other may or may not do.*

    I've lately come to the opinion that whenever possible/it...
  6. Thread: VB.Net vs C#

    by Briantcva
    Replies
    17
    Views
    1,297

    Re: VB.Net vs C#

    Both offer some things the other lacks.

    Ex, many VBers hate that C# enforces variable casing (varName is not the same as VarName) - in fairness, when I started C# I found this annoying too,...
  7. Re: opinion needed for tech. Interview questions

    I get what your saying, and it may often be true, but I wouldn't count on it. There are any number of interview paths and a face-to-face isn't always a personality test. I had one where I took an...
  8. Replies
    4
    Views
    723

    Re: Class Documentation

    NDoc
  9. Replies
    5
    Views
    767

    Re: best way to handle dates

    or better yet:


    DateTime.Parse(string).ToShortDateString()
  10. Replies
    16
    Views
    1,576

    Re: Saving apostraphy to sql table

    I think The Duck was using double ticks, not a quote in his .Replace. In plain text, .Replace(single apostrophe, w/ double apostrophe). In this case, the conversion back is unnecessary. Though...
  11. Replies
    5
    Views
    630

    Re: AutoNumber in MSDE

    Another option for PK generation
  12. Replies
    11
    Views
    772

    Re: Properties in classes

    Ah, but it can be yours.
  13. Replies
    11
    Views
    772

    Re: Properties in classes

    Class Designer
  14. Replies
    11
    Views
    772

    Re: Properties in classes

    Hmm. That's how I feel about pre-programmed phone numbers. :)

    Personally I don't have an issue w/ these type of small utility macros. I'm not too worried about forgetting how to code properties...
  15. Replies
    11
    Views
    772

    Re: Properties in classes

    Installed this series of macros. Don't use all of them but I love the property generator.
  16. Re: inheritance...populating objects properties question.

    Nope, not at all.

    The decision on how to move all this data around depends on the project:

    Have an app where there is mostly a 1-1 relationship between tables and data presented? Use the...
  17. Re: inheritance...populating objects properties question.

    I think he's suggesting that despite what many seem to think, you don't have to send System.Data objects to the UI - that .Net offers you the ability to pass all manner of collections or custom...
  18. Replies
    11
    Views
    1,003

    Re: Naming convensions

    Pluralize them.
  19. Replies
    13
    Views
    951

    Re: SQL: When User Input Includes an '

    Nice. Interesting. Been playing w/ this in .Net as well - another layer of reflection. I'll play around and report back. ;)
  20. Replies
    13
    Views
    951

    Re: SQL: When User Input Includes an '

    Stay up on that soapbox. :) I think by and large you're right. Wish I could remember what turned me off re: sprocs b/c I used to be a big proponent. I think it was mostly the overhead (by which I...
  21. Replies
    13
    Views
    951

    Re: SQL: When User Input Includes an '

    Sprocs are, as mentioned above, the obvious choice. I used to use them alot but they started to feel cumbersome for lots of things and I've been moving away from them.

    But more to the point:...
  22. Thread: Java vs .net

    by Briantcva
    Replies
    27
    Views
    1,990

    Re: Java vs .net

    I was thinking of stuff like Enterprise Patterns or GOF Design Patterns, both of which require some understanding of Java/C#.

    But your point on application blocks is well taken
  23. Thread: Java vs .net

    by Briantcva
    Replies
    27
    Views
    1,990

    Re: Java vs .net

    And I never got that. C# is a near identical syntax match to Java - sounds like marketing to me:

    Java Developer: "I'd like to try .Net but you don't have a language that matches the first letter...
  24. Re: anyone have any secrets or pearls about vb.net you want to share!

    Add interfaces to #5.
  25. Replies
    7
    Views
    2,933

    Re: Serialization bombing out, why?

    Are you holding any other classes within that class that might not be marked as serializable?
  26. Re: reference obects to each other - bit problem :-(

    Looks like you're creating a new instance of Class1 in class2. Try dimming class1 w/o the new operator.
  27. Re: is it possible to overload without canceling the the content of the overloaded method

    Interesting. I really had no idea (obviously). I seem to remember [early on in working w/ .Net] trying to just vary return type, getting that error and assuming that you couldn't vary return type. ...
  28. Re: is it possible to overload without canceling the the content of the overloaded me

    Correct except for differing return type. Overloaded methods can only differ in arguments, not in return type.

    Public Function rtn() As String
    Return "test string"
    End Function

    ...
  29. Replies
    46
    Views
    2,018

    Re: Move from VB6 to .Net

    That's what I got too - minus the wefly247 thing.
  30. Replies
    46
    Views
    2,018

    Re: Move from VB6 to .Net

    For anyone that has the 2005 beta 2, if you haven't yet checked out the class designer, do so right now!! :)

    Coolest IDE feature yet. Beside myself w/ excitement.

    Team System Modeling...
  31. Replies
    4
    Views
    1,070

    Re: Hashtable and database....

    What and how is the data stored in your hashtable? Ostensibly, the key of your hashtable entry will be the PK for the DB (or, perhaps not). What is stored in the value half of the hashtable?
    ...
  32. Replies
    6
    Views
    4,725

    Re: Multiple pages in one windows form?

    True. Seems cleaner though. The problem w/ one form (to me anyway) is a potentially obscene amount of if..then code and difficult to debug form elements.
  33. Replies
    4
    Views
    598

    Re: dll creation and usage

    AFAIK, you can't. Access doesn't know anything about .Net.

    Could be wrong...
  34. Replies
    6
    Views
    4,725

    Re: Multiple pages in one windows form?

    MS Inductive User Interface Guidelines

    And some code...
  35. Replies
    4
    Views
    598

    Re: dll creation and usage

    To use MS Access, you have to import the System.Data and System.Data.OleDb namespaces.

    Strictly speaking your .dll/class doesn't need an entry point. What does need an entry point is the project...
  36. Replies
    12
    Views
    1,142

    Re: Adding Values for DB in VB code . . .

    Might a Key Table help?
  37. Re: Can someone take a peek at this .NET DA tier source code?

    Tight. Very tight.

    Wrote something similar b/c I got tired or rewriting DA code and didn't like the MS Data Access Application Block. Same boat?

    Couple o' things (take them FWIW)

    ...
  38. Replies
    4
    Views
    724

    Re: Help about LDAP and AD

    Oh, I see. No you don't need that info (password) for each user for which you're searching. However, what you do need is the name/password for someone authorized to search AD - could be you or...
  39. Replies
    11
    Views
    1,358

    Another way

    Never mind - don't think it matters.

    Anyway, create a Transfer class:
    *Warning this is only psuedocode and may be missing some VB syntax but the general idea is all there


    public class...
  40. Replies
    11
    Views
    1,358

    Re: VB.Net database woes

    Is there a 1-1 mapping between tables/fields between Access and SqlServer?
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width