Search results

  1. J

    Help with directorySearcher and Treeview

    Got a work around im not sure if its the best way to do it but it works for now Sub FillActiveDirectoryTreeView(ByRef tvw As TreeView, ByVal TopLevelDirEntriesArray As DirectoryEntry) Dim DirEntry As DirectoryEntry Dim Nd As TreeNode For Each DirEntry In...
  2. J

    Help with directorySearcher and Treeview

    I have the following code to list all the users in my AD tree and populate a treeview from it: Sub FillActiveDirectoryTreeView(ByRef tvw As TreeView, ByVal TopLevelDirEntriesArray As DirectoryEntry) Dim DirEntry As DirectoryEntry Dim Nd As TreeNode For Each DirEntry In...
  3. J

    Event Log Filter

    :o silly me this was simple.
  4. J

    Event Log Filter

    sorry this part i simply added elEventEntry.EntryType = EventLogEntryType.Error The part im struggling with is the following: Public Class EventAlert Private Shared signal As AutoResetEvent Public Shared Sub main() Dim EvLog As New EventLog EvLog.Log = "System"...
  5. J

    Event Log Filter

    I have the following to read the "System" Event Log. SetupEventsListView() Dim elEvent As New System.Diagnostics.EventLog("System") Dim elEventEntry As System.Diagnostics.EventLogEntry For Each elEventEntry In elEvent.Entries Dim li As New...
  6. J

    Tree View and XML

    Yeah thats right, the tree view is populated from the xml file, and what i want is when i click on a node of the tree view it puts the tag/info of that node into the textbox. So some how in the xml file add a tag/info to each node. someone has suggested class node(object) but not sure how to...
  7. J

    Tree View and XML

    How do i go about adding tags to each of the nodes? I have done numerous searches without any success. I simply want to add an IP address to each of the nodes. Thanks for the help
  8. J

    Tree View and XML

    Hi have the following XML <?xml version="1.0" ?> - <Offices> - <UK> <Hull /> <Middlesbrough /> <Manchester /> <Belfast /> <Linertech /> </UK> - <Europe> <Rotterdam /> <LeHavre /> <Dusseldorf /> <Uentrop /> <Schwechat /> <Porvoo /> </Europe> </Offices>...
Top Bottom