Search Results - VBForums

Search:

Type: Posts; User: weirddemon

Page 1 of 13 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    58
    Views
    22,913

    Re: [Ready] Visual Studio 2010 Menu/ToolStrip

    I can help, but I need some more information. But, it would be easier if you could just share your project with me. Can you zip it up and add it as an attachment so I can download it and fix the...
  2. Replies
    1,101
    Views
    48,042

    Re: [RESOLVED] artificial intelligence

    Do what now?



    Right? So much entertainment from this thread. Can't believe it's been 4 years already.
  3. Replies
    1,101
    Views
    48,042

    Re: [RESOLVED] artificial intelligence

    So what's going on with YotaMaker?
  4. Re: Populate TreeView with Active Directory objects

    Have you tried converting it? Shouldn't be hard at all.
  5. Replies
    387
    Views
    16,598

    Re: The Bump Thread

    A two year old bump. This has to be a record.
  6. Is there a way for a WPF page to keep its style when in a Frame?

    I have a WPF page that I've styled like this:

    96103

    When I set the source to the WPF page, it looks like it loads. However, the hatched background style disappears.

    96105

    The button is...
  7. Re: [Extension] Set control properties across threads

    Nick,

    I'm having trouble with .GetThreadSafeproperty. Here's the error:

    http://i.imgur.com/OGyvK.png

    And this is how I'm using it:

    foreach (ListViewItem lvi in...
  8. Does anyone know if there's a freely available control like this?

    The application I'm making has a finite amount of space. But there are a lot of buttons needed. So to better take advantage of the space I have available, I want a control that I can add buttons to...
  9. Access Denied When Attempting To Edit A File ProgramFiles

    I can't change the location of the file to be edited
    UAC is OFF
    Just in case, the app.manifest has been edited so it runs as admin

    Here's the code:


    public void...
  10. Re: [RESOLVED] Permission Denied When Trying To Delete A File

    I didn't say people did try to help. I'm saying people focused on things I said *wasn't* the problem. Mainly referring to security and UAC that I ruled out many, many, many times. I just think if...
  11. Re: Permission Denied When Trying To Delete A File

    You kept going on about permission issues. Which I said many times had nothing to do with this.
  12. Re: Permission Denied When Trying To Delete A File

    I'm not sure why you guys won't listen. It has nothing to do with the permissions of the path.

    Also, I just resolved the issue. The MainMethod opens up the XML file to retrieve the data. If a...
  13. Re: Permission Denied When Trying To Delete A File

    Ugh... yeah. It worked if I called the deletion method by itself. Which means that the MainMethod must be locking up the file somewhere. More digging to do.
  14. Re: Permission Denied When Trying To Delete A File

    I think that at this point, it becomes irrelevant where the file is located since it *can* be deleted from the application. However, it's just a folder from the user documents on my PC and the...
  15. Re: Permission Denied When Trying To Delete A File

    Ok. I've done a couple of things. I tried making the method the very first action in Form_Load to rule out any other code screwing it up. That didn't work. Then I tried deleting the file in the first...
  16. Re: Permission Denied When Trying To Delete A File

    I tried Reset, but it did't work.



    If your read my reply above, you'd see that I told you that the security permission are fine. I double checked it and my account has access to everything. On...
  17. Re: Permission Denied When Trying To Delete A File

    Security permissions are not an issue. I have full control over everything. This same error occurs on two different machines. Both are running Windows 7 Pro with UAC turned off.



    I can delete...
  18. Re: Permission Denied When Trying To Delete A File

    It's a generic file permissions error. I've Googled this error for quite some and came across that document as well. Nothing there applies to this situation.
  19. Re: Permission Denied When Trying To Delete A File

    It just says RunTime Error 70. Permission denied.

    http://i.imgur.com/MEsrn.png
  20. Re: Permission Denied When Trying To Delete A File

    The file isn't readonly and it doesn't work on any machine. But they're all Windows 7 and each PC has UAC turned off and are admins.
  21. Re: Permission Denied When Trying To Delete A File

    I checked the path and it's good. I tried sleep like you recommended, I even tried it with 10 seconds, but it didn't help.
  22. [RESOLVED] Permission Denied When Trying To Delete A File

    I'm using the following code to copy some lines from file into a new file. After all the correct lines are copied, I delete the old file. This was working just fine last week. But suddenly it's not...
  23. Re: Creating File & Writing Data Causes a Permissions Error

    Ugh... this whole thing is a mess. For some reason, the line where I compare the string (Instr) was changed from > 0 to = 0. I changed it back so that's working again. But it looks like it is failing...
  24. Re: Creating File & Writing Data Causes a Permissions Error

    I was mistaken on when the error occurs. It seems as if it executes Do While Not, Line Input #from_file, one_line, and If InStr(one_line, target) = 0 Then just fine. Then it loops back up to Do While...
  25. Re: Creating File & Writing Data Causes a Permissions Error

    I would appreciate it if you could provide any information that is relevant. This has nothing to do with what I'm asking.
  26. Re: Creating File & Writing Data Causes a Permissions Error

    UAC is off and it's running from a My Documents. it also worked on Friday.
  27. Creating File & Writing Data Causes a Permissions Error

    I get a "permission denied" error while running the following code.

    Public Function DeleteLines(ByVal from_name As String, ByVal to_name As String, ByVal target As String) As Long
    Dim strlen...
  28. Re: Populate TreeView with Active Directory objects

    Forgot to come back here. Yeah, that's what's happening.

    Thanks
  29. [RESOLVED] " InvalidArgument=Value of '0' is not valid for 'index'" When Selecting 2nd Item

    When I select one ListViewItem, the data populates correctly. But after selecting the second, it throws this exception. This exception would normally be thrown if I tried to set the selected item's...
  30. [RESOLVED] Looping Through the DirectoryEntry.Children Objects Doesn't Pull All Attribute Names

    In my loop, I'm adding the property name and the value to a custom class.

    foreach (PropertyValueCollection p in ChildObject.Properties)
    {
    ...
  31. Re: Populate TreeView with Active Directory objects

    Oh. Ok. That should be easy. One more thing, if you don't mind. This is the code I'm using to get the OU/Container attributes and their values.

    foreach (PropertyValueCollection p in...
  32. Re: Populate TreeView with Active Directory objects

    Chris,

    Also, is there an easy way to get the attributes for each container? For the attributes you see in ADSI Edit.

    EDIT: Never mind. I figure it out. You were already populating this data via...
  33. Re: Populate TreeView with Active Directory objects

    I got it to work. I pasted something wrong. When I deleted everything and repasted, it worked.

    But, it won't work if I leave the password as an empty string. I can't look through your code right...
  34. Re: Populate TreeView with Active Directory objects

    Chris,

    I'm using your code in a C# project. Do you have any idea why I'd be able to load the main now, obtain the distinguished name, but not be able to load the child nodes? When I expand the...
  35. Re: Can I parse XML or psuedo parse it without the MSXML library?

    Oh. So declare it at the top. Gotcha. It's compiling now. Thanks, mark.
  36. Re: Can I parse XML or psuedo parse it without the MSXML library?

    Err... this is strange. It won't even compile in the main app, but when I put the code in a test app, it runs just fine.
  37. Re: Can I parse XML or psuedo parse it without the MSXML library?

    It's in the same module as the other methods. What do you mean by general declarations section?
  38. Re: Can I parse XML or psuedo parse it without the MSXML library?

    Thanks, Mark. That looks good. But I'm getting the following error on the provided line.




    Public Function GetLineData(ByVal xml As String) As xmlData()

    I copied your code as is. I haven't...
  39. Re: Can I parse XML or psuedo parse it without the MSXML library?

    Yeah. For the most part. The data for each field will always be different. But the fields will always be in that order. This solution doesn't need to be perfect. It just needs to work. When I convert...
  40. Re: Can I parse XML or psuedo parse it without the MSXML library?

    Duplicate
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.