Did the Delete Row messagebox layout break in v12.2? Attached is a sample app along with a screenshot. It looks like it is truncating the text of the message.
Thanks, Dave
Hi Dave,
I ran your sample and I get the same results.
If I run the same sample in VS2010 or run it in VS2012 without the Debugger, it works fine. So this appears to be a bug in VS2012 with the Debugger.
I checked it out and it looks like this is a known bug and has been reported to Microsoft here:
WinForm dialogs displayed differently by *.vshost.exe and *.exe using VS 2012 when FormBorderStyle set in form codebehind | Microsoft Connect
There's nothing we can do about it, but the good news is that it only happens when the Debugger is attached, so it will not affect your clients using your app.
Yup, just tried it. Even with 2012.1.2082 running under VS 2012 debugger the dialog layout is cut off. Run your exe standalone and it looks ok.
I thought I varified this in January but made I just took your word for it. Now that I'm trying to release an application and I'm testing out changes, I'm noticing the issue again.
When I run the .exe as Admin on win 7 x64 it's still clipping the message. I'm using VS 11.0.51106.01 Update 1 to build the exe. I don't have a debugger attached. Can someone confirm running the exe doesn't clip the message for VS 2012?
If I build it as .Net 4.0 I can verify that using a debugger causes the clipping and running without the debugger does not clip.
However, when I build as 4.5 it causes clipping regardless of whether or not the debugger is attached. Could someone else confirm this?
Thanks
I did confirm that adding <subsystemversion>5.01</subsystemversion> to the vbproj file (under <PropertyGroup>) resolved the issue for .Net 4.5.
Hello,
Microsoft posted a handful of workarounds within the link provided on the work item; one of which is specific to projects that target the .NET 4.5 Framework.
“If your are building a 4.5 application you would need to request the user to disable themes on the target machine or apply workaround #1.”
Workaround #1:
Interesting. Confirmed. Target 4.5 exe clipped. Target 4.0 exe not clipped.
But what happens when you run targetting 4.5?
I'm running with a standalone exe using Infragistics 12.2 targeting 4.5 and I get the clipping (that's what the screen is).
I had reported this too, but I just ran under VS 2012 Update 1, with 12.1 as our stand alone exe and the clipping is ok. If you run inside VS it is clipped. Targeting 4.0.