Lutrosis

Members
  • Content count

    82
  • Joined

  • Last visited

Community Reputation

122 Neutral

About Lutrosis

  • Rank
    Member
  1. You, sir, are my hero. What a great message board - that was less than 2 minutes. Not sure how I missed that in the docs, but many thanks for pointing me in the right direction. All is right with the world once more. -Lutrosis
  2. I'm new to VB in general, and especially VB.NET. I've searched through documentation and the web for hints on whether or not it is possible to write a VB.NET functon/sub that takes variable-length argument lists, and haven't found much besides a reference to the poorly-documented ArgIterator class. I miss my stdarg.h! So what's the verdict? Can VB.NET do variable-length argument lists? I know I could always just pass in a collection of objects or something, but it's annoying to have to build the collection before calling the function or sub. Thanks, -Lutrosis
  3. Unfortunately, it doesn't look like that's available to me when working with a VB.NET project. I've seen references to PreBuild and PostBuild events, and read about them in the documentation, and I get the impression that they're fired once per project - that's not what I'm looking for. I'd like to be able to define custom actions to take in order to build a particular type of file. I'm beginning to think this isn't going to be possible without a big headache. Isn't this a fairly obvious and useful feature? Why would it be dropped? -Lutrosis
  4. In VC++ 6.0, right-clicking on a file in a project and choosing properties brought up a dialog that included a 'Custom Build' tab, where I could specify commands to run on this file at build time. How do I accomplish the same thing in Visual Studio .NET 2003? ** EDIT: I'm looking to do this specifically on a VB.NET project ** More specifically, I'd like to be able to store file back-ups of DTS packages from a database as a part of a VS.NET project, and have them shoved into the database at build time. I have a command-line tool capable of supplying all the database interaction, I just need to know how to get VS.NET to run a set of commands for a particular file type. I suspect this is done with Add-ins, but I'm at a loss as to how. Can anyone help out on this one? And if you're wondering *why* I want to do this...I'm working on a team semester project with 5 other undergrads, and we're building a web application. We're following the 'local' development model as recommended by microsoft, where every developer has their own local setup including webserver and DB. Two of our members aren't even CompSci majors (one is business, one is ~gasp~ history), yet we must *all* write a share of the code. I'm anticipating some database schema changes here and there, and I'd like a really painless way to keep all of our local databases synced. I have a DTS package that reconstructs our DB from scratch and then populates it with data that is known to be consistent. If I can put this thing into source control and have it automatically maintained on all developers' local DB's, we should all stay on the same page without the not-so-savvy team members having the opportunity to botch something ;) -Lutrosis
  5. Sex before Marriage

    I've enjoyed this thread thus far folks - it's been thought-provoking, and I appreciate that everyone's keeping it civil despite the conflicting viewpoints. Haro writes: >On topic, I am in favor of sex before marriage. Physical intimacy >is another major part of any relation, just like communication or >even compromise. I've noticed this view expressed in some other posts, as well. Why is physical intimacy a major part of a relationship? I know you don't mean *all* relationships, but the ambiguity of that statement caught my attention. Physical intimacy of a sexual nature is obviously not an integral part of *all* relationships, so is it an integral part of *some* relationships? If yes, why in some and not others? Naturally I have my own views here, but I'd be interested to hear others' take on this. -Lutrosis
  6. Thanks for the quick reply! Post/Pre/Level order it is. -Lutrosis
  7. Binary trees have preorder/inorder/postorder, but I haven't seen much on formal traversal methods for n-ary trees. Seems to me that pre-order depth-first is different than post-order depth-first and both are pretty clear. Then there's breadth-first. And maybe Breadth-first, going backwards? For a picture of my thoughts: A | | | B C D | | | | | E F G H I | | J K Preorder depth-first: ABEFJCGHKID Postorder depth-first: EJFBGKHICDA Bread-first: ABCDEFGHIJK This makes sense to me (at least right now. It might not once someone points out why it's obviously wrong ;) ), but are there some formalized traversal methods with proper names? I ask because I'm writing a wanna-be iterator (wanna-be because the project is coded in C) for an internal tree-ish datastructure on a fairly large project, and I'd like to be able to offer multiple traversal methods to whoever happens to need to use this code =) Thanks, -Lutrosis *EDIT* Yerg. My backslashes escaped my newlines =p *EDIT #2* Eheh. Backslashing the backslashes doesn't work either. Blast it. *EDIT #3* FOR THE LOVE OF...ok, no more backslashes. Fine.