Search:

Type: Posts; User: DavyEFC

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    538

    Re: Get Directories

    Right, so Append it is. Thanks 👍
    (was wondering if i'd missed some trick in the parameters to include it)
  2. Replies
    3
    Views
    538

    Get Directories

    I am using:


    Dim DInfo As New IO.DirectoryInfo(Pth)
    Dim D() = DInfo.GetDirectories("*", IO.SearchOption.AllDirectories)

    to get a collection of directories contained within 'Pth'. No issue...
  3. Thread: .bat file flag

    by DavyEFC
    Replies
    10
    Views
    2,235

    Re: .bat file flag

    Just another comment: The software sales earns the money and the time writing the documentation doesn't earn anything in 99% of cases, so maybe therein lies the general issue?
  4. Thread: .bat file flag

    by DavyEFC
    Replies
    10
    Views
    2,235

    Re: .bat file flag

    As mentioned i did search and found the same but it was certainly lacking in detail and therefore usefulness (as Shaggy alludes to in his post), hence the reach-out.
    Just FYI: In the same .bat file...
  5. Thread: .bat file flag

    by DavyEFC
    Replies
    10
    Views
    2,235

    Re: .bat file flag

    Point taken, but to be honest I have been web searching. I know some people don't even try to help themselves and that is frustrating but I do before posting. Asking on here is a last resort, meaning...
  6. Thread: .bat file flag

    by DavyEFC
    Replies
    10
    Views
    2,235

    .bat file flag

    I have to convert some .bat files, which is going ok, but there is a flag in some of them that i'm not understanding. Wonder if someone can explain?
    The .bat file opens the Oracle Discoverer...
  7. Thread: Hash Values

    by DavyEFC
    Replies
    10
    Views
    1,216

    Re: Hash Values

    So if i got the folder whitelisted, what happens if the .exe is moved outside of that folder? Does the AV jump in again or...

    (edit: meaning that the .exe has to go out to multiple users, both...
  8. Thread: Hash Values

    by DavyEFC
    Replies
    10
    Views
    1,216

    Re: Hash Values

    Because that is controlled by corporate. We did try that just as a test, which worked as expected, but when the .exe was moved outside of the exception range AV jumped in and did it's stuff again.
  9. Thread: Hash Values

    by DavyEFC
    Replies
    10
    Views
    1,216

    Re: Hash Values

    Security guys did send the actual .exe but seems Symentec whitelist via the file's hash value. Quite logically the hash will change with every compile where the source code has changed so obviously...
  10. Thread: Hash Values

    by DavyEFC
    Replies
    10
    Views
    1,216

    Hash Values

    I am having real issues with the AV here at work; it deletes my release .exe immediately upon compiling (in fact, this morning started deleting the debug too!) Our security guys have submitted to...
  11. Thread: Modal forms

    by DavyEFC
    Replies
    6
    Views
    1,201

    Re: Modal forms

    I understand most of this and am trying to do it correctly following your best practices, but not understanding how to implement this bit:



    Could you show an example?
  12. Thread: Modal forms

    by DavyEFC
    Replies
    6
    Views
    1,201

    Re: Modal forms

    Ah thanks John, i understand now. Just one other question though... i am passing a var (a textbox) like this:


    frmSpell.ShowDialog(Me.txt1)

    then in the 'child' form:


    Dim tBox As...
  13. Thread: Modal forms

    by DavyEFC
    Replies
    6
    Views
    1,201

    Modal forms

    Hi, not asking for help coding here, just help with the train-of-thought that i am not grasping at the moment.

    In my app i have a form which is opening modally (.showdialog) However, i want...
  14. Replies
    2
    Views
    934

    VS 2019 Re: Mouse wheel scroll issue

    Yes, obviously trying to scroll the textbox, but the link you sent worked perfectly 👍 so thanks so much for that.
    For anyone facing same the code is as below to make the textbox 'ignore' the...
  15. Replies
    2
    Views
    934

    VS 2019 [RESOLVED] Mouse wheel scroll issue

    On my form i am drawing a series of panels onto which i am drawing a thumbnail image, each with a text box below. There may be 100 or more thumbnails so the whole form scrolls. No issue there......
  16. Replies
    18
    Views
    2,346

    Re: Odd write permissions issue

    Ok so the issue is now resolved. Solution was simply to add an exception to the VS projects directory. Question that will probably never be answered is why did i have to add that exception now; what...
  17. Replies
    18
    Views
    2,346

    Re: Odd write permissions issue

    Definitely in the right direction but still something not right:

    Avast disabled: Tests good via VS and running an .exe independent of VS
    Avast enabled: Tests fail via VS but also fails when...
  18. Replies
    18
    Views
    2,346

    Re: Odd write permissions issue

    Great shout. I just disabled my virus software (Avast free) and it works. Looks like your persistence got there Frabulator.
    Now two questions:
    1. Why didn't i try that earlier (will get someone to...
  19. Replies
    18
    Views
    2,346

    Re: Odd write permissions issue

    But it's every project - i've tried multiple.

    Another update: It seems to be only C drive. It works pointing to d:, x:, and z:

    (BTW: i do appreciate all your thoughts)
  20. Replies
    18
    Views
    2,346

    Re: Odd write permissions issue

    I have all my projects on GIT so tried that, exactly the same result.

    Update again: I have just run an app i wrote from it's .exe (i.e. completely outside of VS) I tried this app because it...
  21. Replies
    18
    Views
    2,346

    Re: Odd write permissions issue

    Yeah, computer had been rebooted many times. The next one will be from a great height.
  22. Replies
    18
    Views
    2,346

    Re: Odd write permissions issue

    Nah! I'm not having that you don't know, John!

    The problem is it's affecting every project i have and as is i can't do any modifications or recompile (well, theoretically i can if i use no...
  23. Replies
    18
    Views
    2,346

    Re: Odd write permissions issue

    Update2: If i change it to any 'known' extension (.jpg, .mp3, .txt, .pdf whatever) it fails. Use any not known extension (.zzz) and it works fine.
  24. Replies
    18
    Views
    2,346

    Re: Odd write permissions issue

    Apologies. It's "Access to the path 'path' is denied."
  25. Replies
    18
    Views
    2,346

    Re: Odd write permissions issue

    Update: By way of test I just changed the fPath to a hard-coded path (e.g. "C:\mydir\textfile.txt") and it still failed. I then changed it to the same but without the extension .txt and it worked...
  26. Replies
    18
    Views
    2,346

    [RESOLVED] Odd write permissions issue

    I have just had an odd issue with write permissions that has only just started affecting all of my projects (well, i've tried around 5 and all the same) I test whether the user has write permissions...
  27. Replies
    8
    Views
    1,480

    Re: ProcessStartInfo

    Possibly is. Maybe someone with greater knowledge than mine may advise.
  28. Replies
    8
    Views
    1,480

    Re: ProcessStartInfo

    Something like:



    If CheckProcess("Outlook") = True Then CloseProcess("Outlook")

    Function CheckProcess(pName$) As Boolean
    If Process.GetProcessesByName(pName).Any() Then...
  29. Thread: References

    by DavyEFC
    Replies
    0
    Views
    1,186

    References

    IN the latest update of VS a feature was added to 'Remove Unused References'. Even though i have it checked to use in my preferences the menu item never shows. Anyone have an idea what's wrong?...
  30. Replies
    4
    Views
    973

    VS 2019 Re: Disposing of picture boxes

    Ah, understand now. Thanks very much John, again.

    Thanks for the reply dbasnett, but didn't try as John's reply sorted me out.

    Edit: Following John's latest comment i am now disposing the image...
  31. Replies
    4
    Views
    973

    VS 2019 Disposing of picture boxes

    I'm a bit confused and hoping someone can enlighten me.
    I have a panel that has a number of pictureboxes (thumbnails) added to it at runtime, the quantity can be anything from 0 to, say, 7. At a...
  32. Thread: vbNewLine??

    by DavyEFC
    Replies
    7
    Views
    770

    Re: vbNewLine??

    Sorry to labour this but i'm just trying to understand...

    If i use Text.Encoding.Default then i get André, and if i don't specify anything then é is not displayed correctly.
  33. Thread: vbNewLine??

    by DavyEFC
    Replies
    7
    Views
    770

    Re: vbNewLine??

    Am I understanding correctly - you're saying the below is more appropriate? By not specifying anything in particular I'm telling it to try to determine the encoding itself?


    Dim lines As String()...
  34. Thread: vbNewLine??

    by DavyEFC
    Replies
    7
    Views
    770

    Re: vbNewLine??

    I didn't. I was having issues so was modifying all sorts of things trying to figure out what the issue was. I should have clarified that in my post.


    As mentioned, this was only done "by way of...
  35. Thread: vbNewLine??

    by DavyEFC
    Replies
    7
    Views
    770

    vbNewLine??

    Hundreds of times I've read a text file and split it to an array like the below, no issue at all:


    T = IO.File.ReadAllText(FN, Text.Encoding.Default)
    S1 = Split(T, vbNewLine)


    On my...
  36. Re: Referring to controls created at runtime

    Ah, perfect! Thanks a million!
  37. [RESOLVED] Referring to controls created at runtime

    Saw at thread yesterday named 'Buttons created with code and their events' and my issue is close to that but didn't want to hijack the thread, so...

    If i create some controls at run time (here...
  38. Replies
    0
    Views
    373

    Tooltip preview

    Sorry not sure exactly where to post this question...

    Is there a way to turn off the tool tip that shows the contained code when hovering the mouse over a collapsed procedure in the IDE? I've put...
  39. Replies
    4
    Views
    601

    Re: Datagridview with CellSelect

    Sorry for asking, John. I'll go sit on the naughty step.
  40. Replies
    4
    Views
    601

    Re: Datagridview with CellSelect

    SelectedCells, i know, thanks. But i'm not making the connection (feels like one of those days!) with iterating rows using SelectedCells...
Results 1 to 40 of 55
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width