Search results for query: *

  1. L

    Turning off hover effects in VS 2022?

    I've found all kinds of dated SO posts explaining how to do this in older versions, but it seems MS has completely forgotten about us Magnifier users. We move the mouse. A lot. To move the zoomed-in area of the screen that we're looking at. Not to trigger constant aggravating tooltips...
  2. L

    Image.Save creates empty/blank file

    Hahahahaha wow, what a bonehead mistake! I knew it was transparency, but I thought 0 meant 0 transparency. Nice catch, and thanks! :D
  3. L

    Image.Save creates empty/blank file

    Okay, so I got a real weirdo here, and web searches and MSDN haven't been much help. Here's a minimal version of my code: using System.Drawing; // Create an empty image var bmp = new Bitmap(156, 128); var graphics = Graphics.FromImage(bmp); // Draw on it var blue = new...
  4. L

    Word interop: how to gaet the name of an InlineShape object?

    Interesting... I'm surprised the VBA editor and Visual Studio don't catch that. But at this point I think the only logical move is to give up. Wherever the mysterious "Picture 1" comes from, it's clearly not worth any more aggravation than it's already caused. Guess it's something only Word...
  5. L

    Word interop: how to gaet the name of an InlineShape object?

    Yeah, Title threw "System.NotImplementedException: The method or operation is not implemented." Nice and vague (and again, what method/operation?). So an inline shape that Word identifies as "Picture 1" doesn't have a title, because... titles haven't been fully implemented yet? Then why do...
  6. L

    Word interop: how to gaet the name of an InlineShape object?

    Yeah, the docs "I was provided" (meaning MSDN) are as dense, vague and confusing as the API itself. Everything I've managed to dig up from there seems to crash my program with vague errors (even if I try the same thing in VBA), with zero explanation of why. For example, if (in VBA) I do this...
  7. L

    Word interop: how to gaet the name of an InlineShape object?

    That's just the trouble - which properties? Which objects? It's a bit of a maze, cuz it's not like a simple data structure where its properties are its properties; one of its properties is a Range (or was it ShapeRange?) object which has another set of properties and another object and so on...
  8. L

    Word interop: how to gaet the name of an InlineShape object?

    lol yeah, thank you Captain Obvious :D Seriously tho, thanks for trying! I read that as well, but here's the thing: in Word, they still have something "name-like": Word gives them names (titles? labels? pseudonyms? pen names? lol idk, they're names but they're not called a Name). That's...
  9. L

    Word interop: how to gaet the name of an InlineShape object?

    Hey guys, happy Friday! :) As usual, Microsoft's propensity to create ultra-complex hierarchies of objects upon objects upon objects has me completely baffled. So in Word, there are 2 "shape" (picture) object types that I know of: Shapes and InlineShapes. Shapes have a "Name" property that...
  10. L

    UIA question (extremely bizarre lol)

    Hey Skydiver, I had a null-check like yours in place and deleted it sometime yesterday. Sorry I forgot to add it here (lol). Re-adding it didn't really make a difference. Good guess tho! :) I thought of what you said too, about the program still being running. Every obscure Stack Overflow...
  11. L

    UIA question (extremely bizarre lol)

    Hey there, I've been working on a project that automates the "Save As" dialog as part of an automated download process, and I thought it would be best to use UIA (a.k.a. "Microsoft UI Automation", in the System.Windows.Automation namespace) as opposed to simulating keystrokes AutoHotKey-style...
Back
Top Bottom