Search:

Type: Posts; User: cjwallace

Page 1 of 6 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    15
    Views
    4,537

    Re: Always Run Code with elevated privileges

    Hi guys. I am just picking up this issue again and really need some help trying to get it to work

    Can someone help me. Nothing has changed from last time i looked

    Thanks in advance
  2. Replies
    15
    Views
    4,537

    Re: Always Run Code with elevated privileges

    Hi mate and thanks very much for the reply and your time. Could i be a massive pain in the arse , could you put the code in the attached .vb and post it back me on the forum page as to where you...
  3. Replies
    15
    Views
    4,537

    Re: Always Run Code with elevated privileges

    Hi guys.

    Ok so i have put the code from the Impersonate into a class as per the website article.

    I have put a copy of my code in the attached .vb in this post

    What i dont understand is how...
  4. Replies
    15
    Views
    4,537

    Re: Always Run Code with elevated privileges

    Thanks for the reply. I dont have the code in front of me but i will take a look at it tomorrow and will post back with any issues. I am sure i will have some.
  5. Replies
    15
    Views
    4,537

    Re: Always Run Code with elevated privileges

    Hi guys and thanks for all the replies. I am the network admin and i dont want to give our users direct access to AD because then they can do things out side of the application. If i make the...
  6. Replies
    15
    Views
    4,537

    Always Run Code with elevated privileges

    Hi guys.

    I have some code that will create a user in Active Directory all good there.

    Does anyone know of a way of when this code is run that it always runs with an account that has elevated...
  7. Replies
    3
    Views
    831

    Re: Text Box DD/MMM/YY

    Excellent , thanks very much i did not know that was there
  8. Replies
    3
    Views
    831

    Text Box DD/MMM/YY

    Hi guys.

    I have a text box that i would like to convert to a date box eg the user would be forced to enter in the format of DD/MMM/YY but also for the text box to display as a default DD/MMM/YY so...
  9. Replies
    72
    Views
    174,724

    Re: Validate Login against Active Directory

    Hi mate. No of course i dont mind and its great to see another way of doing it. All about learning

    Thanks again.
  10. Re: TargetInvocationException was unhandled

    I worked it out. i was missing ","

    DepartmentGroup.Invoke("add", "LDAP://cn=" & strCN & "," & sitedn & "")
  11. [RESOLVED]TargetInvocationException was unhandled

    Guys. I have this issue and to be honest it may be easier to look at the screen shot.

    If you look at the screen shot it will show you that when i hover over SiteDN it displays the full LDAP path...
  12. Replies
    72
    Views
    174,724

    Re: Validate Login against Active Directory

    Hi guys. Ok thought i would share back this code with others. Ok the code is the original code in that it will authenticate a user againt Active Directory.

    The will now also check to see if the...
  13. Replies
    9
    Views
    950

    Re: Clear Listbox Contents

    I dont think so. I have only used collection items for each of these combobox's

    Its odd i know
  14. Replies
    2
    Views
    434

    Re: Set Screen Res

    Excellent, thanks very much for that. :-)
  15. Replies
    2
    Views
    434

    [RESOLVED]Set Screen Res

    Hi guys.

    Does anyone know a way for detecting the screen res?

    If the screen res is lower than 1024 x 769 then do abc and it is 1024 x 768 and over then do xyz

    Thanks for any help anyone can...
  16. Replies
    9
    Views
    950

    Re: Clear Listbox Contents

    I have a small issue. I can now clear textbox's and list box's but for some reason i cant clear my comboboxs. I am using

    ComboBoxRoamingProfile.Items.Clear()

    but they dont seem to clear. They...
  17. Replies
    9
    Views
    950

    Re: Clear Listbox Contents

    Hi guys.

    I now know how to clear a list box contents and how to do it if it is databound

    Any ideas how i can do this for combobox's and text box's?

    Thanks in advance
  18. Replies
    6
    Views
    488

    Re: Change to a string

    I wish i had the answer but it works.

    I would love to know the answe if anyone can shine any light on it.
  19. Replies
    9
    Views
    950

    Re: Clear Listbox Contents

    Excellent thanks very much. I must remeber that if they are databound.

    Sorry i should have told you that bit of info.

    Thanks again its all working as i want.
  20. Replies
    9
    Views
    950

    Re: Clear Listbox Contents

    Hi mate. Thanks for the reply. Ok so i have put your code in. I select Yes and it populates my list box which is good. When i choose no i get the following.

    Items collection cannot be modified...
  21. Replies
    6
    Views
    488

    Re: Change to a string

    Well thats what i thought and could not work out what was wrong but as a test i put in the extra " and hey presto its all good. Thanks again
  22. Replies
    9
    Views
    950

    Clear Listbox Contents

    Guys.

    I have a Combobox that when if you select "YES" it will populate a listbox with some contents which is great and it works.

    However what i am trying to do is if you select "NO" i want it...
  23. Replies
    6
    Views
    488

    Re: Change to a string

    Hi mate. Not to worry i have worked it out.

    I just used an extra " and its working now



    mbx.CreateMailbox("" & MDBitem.DistinguishedNameMDB & "")


    Thanks for your help :-)
  24. Replies
    6
    Views
    488

    Change to a string

    Guys. i have this bit of code in my application that is a hard coded path for a exchange mailbox store.

    Part 1 is the full hard coded



    mbx.CreateMailbox("CN=Mailbox Store...
  25. Replies
    0
    Views
    492

    Query Exchange MDB

    Guys.

    Does anyone know a way of Querying Active Directory for Exchange Message Database's

    I have no idea id this is possible or not

    Thanks in advance
  26. Replies
    5
    Views
    631

    Re: Combobox updates another two Combobox

    Thanks. Can you provide any examples?

    sorry still new and learning
  27. Replies
    5
    Views
    631

    Re: Combobox updates another two Combobox

    Ok i am back with my issue and i realized what i had above would not work with what i am trying to do.

    Ok so with the code below i have a Combobox that will change another combobox for example if...
  28. Replies
    5
    Views
    631

    Re: Combobox updates another two Combobox

    Not to worry it was a typo. Soooooooory :-)
  29. Replies
    5
    Views
    631

    Combobox updates another two Combobox

    Guys.

    I have this bit in my code that if you select London from a drop down list it will change the value to LN and if you change the drop down to Geneva it will change the other combobox to GN so...
  30. Replies
    9
    Views
    857

    Re: Exclude from search

    Hi mate. Well i would have put it in there anyway as i thought i had to have it.

    Anyway its all working now so good news.

    Thanks for your help
  31. Replies
    9
    Views
    857

    Re: Exclude from search

    Not to worry.

    I removed (| and its working.

    I thought i needed to use (|

    Can anyone explain?
  32. Replies
    9
    Views
    857

    Re: Exclude from search

    I have an issue.

    I want to exclude up to 10 items but for some reason i can only exclude one.

    Here is what i am using



    Dim OUentry As New...
  33. Replies
    9
    Views
    857

    Re: Exclude from search

    Excellent, Thank you very much that has done the trick.

    Thanks again
  34. Replies
    9
    Views
    857

    Re: Exclude from search

    Hi mate. Thanks for the reply. your right that wont work for what i need.

    I have a lot of OU's that i want to use but i have a load i dont want to use and would rather that they were excluded...
  35. Replies
    9
    Views
    857

    [RESPLVED]Exclude from search

    Guys. I have this bit of code that is searching for all Organization Units and is displaying them in a list box. This works fine and not problems there.

    However i have a couple of OU's i would...
  36. Replies
    2
    Views
    558

    Re: Display OU's in a ListBox

    Thanks mate. its only a test box password that nobody could ever get at as it dont have an internet connection. Thanks for pointing it out however and i will remove it
  37. Replies
    2
    Views
    558

    Display OU's in a ListBox

    Guys. Some of you may have remembered that i was trying to query AD for all the Exchange DL's and display them in a list box.

    Well i would like to do the same only this time with all the OU's
    ...
  38. Replies
    4
    Views
    661

    Re: Me.Close

    Not to worry i got it.

    When you open My Project on the application tab there is a drop down box called Shutdown mode and i have set it to "when last form Closes" it was set to "when Startup Form...
  39. Replies
    4
    Views
    661

    [RESOLVED]Me.Close

    Guys. i had an odd issue hopefully you can shine some light on.

    I have say FormA and FormB

    FormA opens and then opens FormB , When FormB opens FormA is still open behind it. If i then close...
  40. Replies
    4
    Views
    371

    Re: RESOLVED]Open Another form

    Thanks guys.
Results 1 to 40 of 215
Page 1 of 6 1 2 3 4



Click Here to Expand Forum to Full Width