Search:
Type: Posts; User: Briantcva
Search:
Search took 0.86 seconds.
-
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.
-
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. ...
-
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...
-
Agreed. Though maintenance in a different way I would argue.
I just got tired of showing/hiding a variety of elements according to state.
-
*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...
-
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,...
-
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...
-
-
or better yet:
DateTime.Parse(string).ToShortDateString()
-
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...
-
Another option for PK generation
-
-
-
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...
-
Installed this series of macros. Don't use all of them but I love the property generator.
-
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...
-
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...
-
-
Nice. Interesting. Been playing w/ this in .Net as well - another layer of reflection. I'll play around and report back. ;)
-
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...
-
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:...
-
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
-
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...
-
-
Are you holding any other classes within that class that might not be marked as serializable?
-
Looks like you're creating a new instance of Class1 in class2. Try dimming class1 w/o the new operator.
-
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. ...
-
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
...
-
That's what I got too - minus the wefly247 thing.
-
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...
-
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?
...
-
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.
-
AFAIK, you can't. Access doesn't know anything about .Net.
Could be wrong...
-
MS Inductive User Interface Guidelines
And some code...
-
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...
-
-
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)
...
-
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...
-
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...
-
Is there a 1-1 mapping between tables/fields between Access and SqlServer?
|
Click Here to Expand Forum to Full Width
|