Search results for query: *

  1. J. Scott Elblein

    Question Anyone have a "blank screen" issue in VS 2022?

    I'm very frequently having an issue where a Windows Form tab in [Design] mode shows nothing but all white: It seems to usually happen after running the debugger; after closing the debugee it's just a white screen... so far I've only been able to "fix" it by running "rebuild solution", or...
  2. J. Scott Elblein

    Question Attach a form to the window of a separate process?

    Ty @JohnH , tested it out and works great. Rather than do all the conversion to VB for it though, think I'm just gonna use this as an opportunity to finally learn WPF + C#, lol.
  3. J. Scott Elblein

    Question Attach a form to the window of a separate process?

    What is the usual method to attach a vb form to the window of another process? For example, the program "Listary" attaches a "toolbar" (probably just a small form) to OpenFileDialogs, and moves along with it if the OFD is moved: I'm hoping to save a lot of time and find a pre-made example...
  4. J. Scott Elblein

    Question Latest "best/fastest" way to search for files?

    Thanks @JohnH Naturally, the devs of the .NET framework want to make us work out their puzzles for them, :rolleyes:, lol ... As soon as I give a quick test run of that method: Sub Main() Dim strSrcPath As String = "D:\" Dim strExtension As String = "*.po"...
  5. J. Scott Elblein

    Question Latest "best/fastest" way to search for files?

    Hey all, Been a while since I was dev'ing in VB/C# and wondering if anything has changed for the better that I haven't heard about yet, when it comes to searching a hard drive for files. Context: I'm about to start developing a "cleaner" type of app that scours hard drives for specific file...
  6. J. Scott Elblein

    Question Default Form Icon?

    Now why didn't I think of that? :black_eyed: As always, you da man, JohnH. Thanks!
  7. J. Scott Elblein

    Question Default Form Icon?

    Weird question, but, anyone have a copy of the actual .ico that gets added to forms if you don't add your own? The one that looks like this? I've Google'd, Resource Hacked, searched my pc's, everything, and for the life of me, can't just find the icon itself, lol.
  8. J. Scott Elblein

    Question Run a Relative Path in Windows?

    Aha! For the example I originally had txtSource set to a full path including an actual file name, but shortened it for the example without double-checking first, lol, but setting .UseShellExecute to True was the key. It's always those little things you miss when you've spent 12 hours a day...
  9. J. Scott Elblein

    Question Run a Relative Path in Windows?

    I'm attempting to run a destination relative path from within a VB.NET app. I've made sure to use backslashes (rather than forward slashes), and also running the Process with the working directory set to the correct source path; still getting a The system cannot find the file specified error...
  10. J. Scott Elblein

    Question VS 2010 - No Source Available - when debugging

    Hey all, Been a long time since I've been able to dev in VB.NET again (rusty again too, lol) and I'm just now getting used to the 2010 IDE. When I'm debugging an app and hit the Pause button, I get the following error message: I've tried reinstalling DotNet 4 after reading a little on some...
  11. J. Scott Elblein

    Question Transferring Tasklist after VS upgrade?

    haha, ok, apparently I was in too much of a rush, plus a ton of spacing out - the reason was because I didn't choose "User Tasks" in the drop-down combobox. Think I'm overworked lately ... :p
  12. J. Scott Elblein

    Question Transferring Tasklist after VS upgrade?

    Hola JB, This is the one I mean
  13. J. Scott Elblein

    Question Transferring Tasklist after VS upgrade?

    Hey all I just upgraded from vs2k8 to vs2k10 and after opening up one of my projects from 2k8 in 2k10, the previously filled tasklist data isn't there, just a blank tasklist. Anyone know how to transfer the tasklist data over? :confused: TIA
  14. J. Scott Elblein

    How many timers is too many?

    Just curious, is it a good coding practice to keep timers in a project to a minimum, or does it not really matter? I've always tried to use as few as possible, but wondering if I really even need to be too concerned with it?
  15. J. Scott Elblein

    Question How can I get the current URL from the location bar in Firefox?

    I'd like, in my program, to be able to capture the URL being shown in the location bar / URL bar. It's fine to just get the currently focused one if they have multiple tabs open, or just a list of all if multiple tabs are open. Does anyone know how to do this? :confused: Thanks!
  16. J. Scott Elblein

    Question How to make browser control open a link in a brand new window?

    ok, I'm really struggling with this one. Now I'm trying to get creative. I'm wondering if there's some way to trap a click on a banner on a page in the web browser control, and then do a simple Process.Start("ADDRESS") so that it launches any URL i want in the user's actual default browser...
  17. J. Scott Elblein

    Options strict and late binding

    I have this declared up top. Public oldDocument As mshtml.IHTMLDocument And this function. Public Function GetFocusedElement() As mshtml.IHTMLElement Dim focusedElement As mshtml.IHTMLElement = Nothing If oldDocument.selection.type,mshtml. = "None" Then...
  18. J. Scott Elblein

    Question Having some random number problems

    Thanks again John, that worked. For educational purposes I ask, how come using a new instance each time would give the same random number? Also, why switch from arraylist to list? Less overhead? Faster?
  19. J. Scott Elblein

    Question How to make browser control open a link in a brand new window?

    Anyone have any ideas on this? Still stuck on it.
Back
Top