Results 1 to 2 of 2

Thread: x2 ultra hard and important questions

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    UK
    Posts
    99

    Exclamation x2 ultra hard and important questions

    Dudes, HELP ME, I have two questions this time round, there are very important, I need to finish this app by the end of this week.

    1.) I have a textbox called textbox1, I have a path to a file (txt) in that textbox, I need to open the file in .net read it, below is what it looks like:

    Object Class: Group
    Current context: RUN.DFEE
    Name: ADMINR_GROUP
    Member: ADMINR
    Member: ADMIN.
    Member: ADMINR2
    Member: ADMINR7
    Member: JTONNER.CV2
    Member: ADMIN3.
    Member: ADMINR6
    Member: ADMINR9
    Member: ADMINR11
    Member: ADMIN5.
    Member: ADMIN10.
    Member: ADMIN11.
    Member: ADMINR3
    Member: SMCPOLAND.CV2
    Member: ADMIN2.
    Member: ADMINR4
    Member: ADMINR5
    Member: MRSNAPPY.CV2
    Member: ADMINR8
    Member: ADMINR10
    Member: ADMINR14
    Member: ADMINR16
    Member: ADMINR15
    Member: ADMINR17
    Member: ADMINR18
    Member: ADMINR20
    Name: SMS SMDR Group
    Member: DFEE-ELH-606 SMS RPC
    Member: DFEE-CVH-601 SMS RPC
    A total of 2 Group objects was found in this context.

    There are lots more than that but what I need it to do it takes NAME & MEMBER, and put them in a tree view, e.g.

    +ADMINR_GROUP
    -ADMINR
    -ADMIN
    -ADMINR2

    also notice some member names have an extension Member: JTONNER.CV2 what I also want is to remove the .cv2 so im left with JTONNER, basically the end result should be something I can use with active directory, I have all the code for that its just this text file stuff I cant do, the NAME will become a group and MEMBERS will be added into that group, how should this all be formatted guys, I need to show the user the group they are about to create with all the users in it, that’s why I want it in a tree view, and then I want a easily readable file or something that I can just put into active directory

    the second question is about user interface, im not sure about how to describe this but, think of a webpage with 2 frames, 1st frame is the menu frame, the second is the content frame, I need a user interface like that, basically so the user see's:

    step1: source file location
    step2: tree view
    step3: summary
    step4: adding users and groups to Active Directory

    I will probably change all of that later but its the user interface part in worried about, and if like to get away from that processes of having 4 frames, making ur form huge, and overlapping your frames and then using frame1.show and stuff like that to fake a good UI, coz in the long run its a pain in the ass to change, and on that topic, does anyone have any ideas on making a reusable UI like that but without putting the coordinates to the components and stuff like that, does the panel control have anything to do with it, dam I don’t know, this is very hard and I need help quick, everyone help me out, its ultra important I get this sorted, many thanks guys (I really mean it)

    please make sure all code is commented so i know what your all up too , and any method is acseptable, like makeing a new reformated file, aslong as it was automatic, not manual, the main point of this is to make this code reusable on my other projects and so that moveing that list to Active Directory is automatic rather than manual, thanks once again guys, i can always realy on vb world

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    UK
    Posts
    99
    dudes, i forgot somit, well not so much forgot, just didnt know, i need all the code to connect to a active directory, useing the api or not, i dont care asong as it works, the code MS has wont work with vb.net :'( so i need help with that, ultra mega super thanks for this guys, i know u always save my ass in the end

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width