CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: fallnwrld

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    3,973

    Re: Active Directory OU

    Thanks, figured it out.

    Dim ou As DirectoryEntry = dom.Children.Find("OU=SubOU, OU=MainOU")
  2. Replies
    4
    Views
    3,973

    Re: Active Directory OU

    Quote Erased
  3. Replies
    4
    Views
    3,973

    [RESOLVED] Active Directory OU

    I have an OU inside of an OU

    Example:
    MainOU
    |_ SubOU

    Dim ou As DirectoryEntry = dom.Children.Find("OU=MainOU")

    Works Great... but if I did
  4. Re: What Sub/Function/Block of Code Produced Error

    Thanks for your help. I provides me the name of the method that called the sub, but not the sub itself. It gave me the load method of the form, which is the method that actually calls it. Anyway...
  5. [RESOLVED] What Sub/Function/Block of Code Produced Error

    I'm creating some software in visual basic 2005 .Net. My software keeps a log file. If the applications encounters an error, it writes to this log file. Is there a way I can easily produce what sub,...
  6. Replies
    4
    Views
    8,164

    Re: EndEdit Doesn't Add Record!

    Thanks that post helped. I was manually trying to bind them instead of just dragging and dropping the controls from the dataset onto the form.
  7. Replies
    4
    Views
    8,164

    Re: EndEdit Doesn't Add Record!

    BindingSource doesn't have have an .update option?
  8. Replies
    4
    Views
    8,164

    [RESOLVED] EndEdit Doesn't Add Record!

    Ok... this is driving me nuts.

    I have a DataGridView that loads an Access database when the application starts. I also have a bunch of text boxes that are bound to the same database. When you...
  9. Replies
    4
    Views
    57,088

    Re: MSSQL INSERT Record If Not Exist

    It looks like every field has to match in order for it to ignore it. In this case the Date field will always be different, I just want to compare the username and application field, if those already...
  10. Replies
    4
    Views
    57,088

    MSSQL INSERT Record If Not Exist

    Table Layout:
    TABLE: dbo.Applications
    FIELDS: Date, Username, Application, Version

    I want to insert a record only if the record I'm about to insert does not match the Username and Application...
  11. Replies
    3
    Views
    1,485

    Re: How do I display MSSQL Count?

    Thanks for your reply. I was able to figure it out a different way, it looks like the problem was i was using the datareader.



    Dim tmpCount As Integer
    tmpCount = SQLCmd.ExecuteScalar 'Gets...
  12. Replies
    3
    Views
    1,485

    How do I display MSSQL Count?

    Imports System.Data.SqlClient

    Dim SQLStr, ConnString As String

    ConnString = "Data Source=Server;Initial Catalog=CDAD;Integrated Security=True"
    Dim SQLConn As New SqlConnection() 'The...
  13. Replies
    4
    Views
    1,013

    Error erasing a file

    I have the .Net program sending an email and adding a file as an attachment



    Private Sub SendSMTP(ByVal strFrom As String, ByVal strTo As String, ByVal strSubject As String, ByVal strBody As...
  14. Replies
    0
    Views
    940

    Active Directory Question

    I am able to retrieve the group if I provide a username. Is there anyway to list what groups are available in a domain? Every example I see requires a username in some way.
  15. Replies
    2
    Views
    725

    NotifyIcon Bug?

    Even thought I have ShowInTaskBar = false, when I minimize my form it goes into SystemTray like it is suppose to, but the Window minimizes over the Task Bar on the Bottom Left.
  16. Replies
    25
    Views
    13,831

    Re: Resize 3rd Party Application

    Thanks for all the help guys, got this working pretty well. Before I close he got me thinking with that cropping the window idea. That can actually end up being useful for me. See this executable...
  17. Replies
    25
    Views
    13,831

    Re: Resize 3rd Party Application

    I was able to get FindWindow to work thanks. Is there a way to get the hwnd by the executable name, instead of the title of the app like we do in FindWindow?

    I'll try that resize code, i'm...
  18. Replies
    25
    Views
    13,831

    Re: Resize 3rd Party Application

    That transparency thing is awesome!

    How do we go about doing that to an app that is already running and not launched from the program?
  19. Replies
    25
    Views
    13,831

    Re: Resize 3rd Party Application

    HanneSThEGreaT That works great, is resizing that easy?
  20. Replies
    25
    Views
    13,831

    Resize 3rd Party Application

    Is there a way alter the window of a 3rd party application? Resize, Minimizie, Make Transparent... any of those, or all of the above?
  21. Replies
    1
    Views
    3,916

    VBScript Quote Problem

    Since the string requires quotes im having problems getting it to run with all the data. Is there anyway to let vbs know that the quotes surrounding c:\Install\Office 2003\New Custom Setup File.MST...
  22. Replies
    6
    Views
    1,881

    Re: Parent Control of Menu

    No it didn't, that was one of the many things I tried before I posted the problem.
  23. Replies
    6
    Views
    1,881

    Re: Parent Control of Menu

    Yeah, I tried your suggestion and many others before I posted. The .Parent was the last I tried before deciding to seek help.
  24. Replies
    6
    Views
    1,881

    Parent Control of Menu

    I have a Picture Control with Context Menu Strip Connected to it

    PictureBox.ContextMenuStrip = mnuStrip

    If inside that menu strip I have a heading that should tell you what control the menu...
  25. Replies
    4
    Views
    896

    Re: Refer to Image in Resouces

    I was told you can create a cursor from a Cur or a Ico file.
Results 1 to 25 of 95
Page 1 of 4 1 2 3 4





Click Here to Expand Forum to Full Width

Featured