My MFC app written with VS2019 displays correctly at 1920x1080, but when I deploy it to a 1920x1080 laptop it shows up at about 1/4 size. I have toggled DPI Awareness, but without effect. When I deploy it on a laptop that already has VS2019 on it, it displays correctly.
Problem solved. I had been using a font that didn't exist on the target machines. It is 20 points high, and the default font is 8 points high. MFC sizes the dialog to fit the font size. All I had to do was copy and install the font file. Thanks for your thoughts and suggestions. For what it is worth, in the past I have always used a 3rd party deployment tool that packaged in the fonts, and now I have learned that the Visual Studio supplied tool doesn't do that.
Related
I'm using visual studio C# and have a weired problem, i closed the IDE and open it in again the next day and now the design view the icons and text become oversized like the screenshot below but when i run the the App the icon/text has normal size
Even when i open an old project i got an oversized button/text.
I was able to overcome this problem two times by installing an update of the software when it's available. but now the same problem happened but unfortunately there is no software update available.
Thanks,
I had a 4k screen connected to my computer along with my 2 1080p main screens.
i uplugged the 4k screen calbe and i restarted visual studio and it seems working. the text/button .. are back to normal.
it's weired because the 4K screen is disabled inside my windows OS.
So we've recently had our dev machines replaced with 4k laptops and windows 10. I've got visual studio set up, the DPI scaling has worked for the most part to make things usable. The only problem is errors / dialog boxes.
I can't find a way to make them scale up to something readable. Instead I'm getting unintelligable errors written for ants.
Has anyone had any experience of this issue on high DPI screens? And if so did you find a way to fix the problem?
As an example of what I'm talking about, content is scaled, but the options to the left are not. If I get an error popup (exceptions, build failed etc) then everything is in that tiny text, making it unreadable.
I have installed Xamarin under Visual Studio 2015 Community Edition, including the intel HAXM hardware acceleration, but I have a problem with the emulator:
None of the default Xamarin avd's seem to have been installed
When I create one myself and run it, it doesn't look right.
The attached image should make it clear. As you can see the top bar takes up about 1/5th of the screen height, and the bottom bar about 1/4.
Does anyone know what is wrong?
I'm also confused by the buttons on the right hand side. Are they supposed to be there?
VS can use AVDs but it's better to use emulators for Android for VS. It is using Hyper-V virtual PCs.You need to download and run Visual Studio Emulator for Android, then download VMs
Because the screen display size is too small. You should use an AVD Device Template to get a normal size:
When you launch it, make sure that the display doesn't get scaled. You can scale this, but you might accidentally make it too small
The buttons on the right are due to the Skin you have selected.
Based on your screenshot, it looks like you potentially are using the old version of emulators. Make sure to update your Android SDK tools and then re-create an emulator to benefit from the 2.0 emulators:
https://developer.android.com/studio/run/emulator.html#dependencies
After a reboot things seem to be working which weren't before, so I guess something hadn't finished installing. I still find that when I use a skin I don't see any message about hardware acceleration HAXM working, but I think it probably is. With regards to speed, it improved dramatically when I selected the option to 'Use host GPU'.
The HVGA skin still looks wrong, but I downloaded some ones for the Samsung Galaxy which work well.
I have a Windows 10 64-bit PC (fresh install, not an upgrade).
When I run the setup file (web or offline alike) in order to install Visual Studio (2013 or 2015, Community edition), all I get is a small black rectangle on the screen (which I later found out that this is actually the title of the setup popup window), without the actual window of the installation.
I have tried it also after a reboot, and with various "versions" of the installation files (web, iso, standalone), but it's always the same situation.
What can I do about it? VS is my main development tool and I really need it on this computer as soon as possible.
Similar problem here. Program install ok but display blank screen after launched.
Problem solved when I changed my Nvidia graphics's global 3D setting to integrated graphics.
Right click desktop
Select Nvidia Control Panel
Select Manage 3D Settings
Under preferred graphics processor, select integrated graphics.
Apply.
If you are using a laptop with an external monitor, try unplugging it and using your primary monitor to launch. This worked for me. Laptops often have dual graphics cards and I believe we're hitting some issue with the way the Installer for VS was written (likely WPF)
Once I launced it and started the installation, I could safely plug my monitor in and it kept working properly.
I'm using an AMD GPU, It was a blank white screen but when I hover the mouse over it, I can see the text events
By the way
I went to my AMD Radeon Settings and saw that vs_installershell.exe and vs_setup_bootstrapper.exe were added automatically to the Switchable Graphics list
they were with Not Assigned Option which usually is like High Performace Option
means It would run it with my ATI GPU.
So I clicked on them
Selected Power Saving Option (to work with my Intel GPU)
Which worked and I can see the window of visual studio installer back
after restarting visual studio installer for sure.
whether is your graphics card, just turn on power saving for it.
Had the same issue. Since this topic is not accept any answare, there is one from https://developercommunity.visualstudio.com/content/problem/150888/visual-studio-installer-shows-blank-screen.html
Try to open installer as Admin.
You will probably have blank screen. Do not close it!
Open installer once more.
Hope it help other people with same issue.
the same thing happened to me, i didn't do anything i just waited for it and it started showing it's status, i suggest you close other running programs to avoid conflicts and performance hindering, and try it again.
This seems like a very shoddy issue. I've run into this problem too, and I tested all solutions that I came across online. These all work:
Running the installer as administrator, which is a blank screen. Leave it open and run a second instance of the installer, which will not be blank (doesn't need to be run as administrator the second time.
Changing screen settings so that the laptop screen is not being used.
Downloading the AMD Settings application, and setting vs_installershell.exe to run on powersaving mode. Restart the installer after saving the settings.
Use a default graphics driver instead of the AMD one.
I had the the same problem in my laptop. The temporary solution is: start the installer only without the battery, if installer starts you can connect the cable, it works fine.
I had to run integrated graphics rather than my Nvdia. That solved it for me.
Remember to change it back when programming in OpenGL and DirectX otherwise you may get a list of messages staying that nothing works.
I had the the same problem in my laptop. The work around is, in device management, remove the amd graphics or start the installer only with battery.
My team has used the same Install Shield 12 project for years. Several weeks ago Windows Explorer in Vista and Win7 stopped displaying icon sizes above 16x16 for the installer. So List, Details, and Small views show the 16x icon but Tile, Thumbnail, Medium and Large views are just text.
This is true for new installers, but also for 3 years of archived installers. We have not tried systems older than Vista, but we have tried it on multiple machines. We use a normal 32x32 32bit ICO file. In IrfanView it has two pages with a blank first page. In InstallShield it has one Icon to choose from at index 0. None of this has changed in the last three years.
I've dug around on the Flexera forums, here, and in various Google results but I haven't discovered anything except that quite a few people still use Install Shield 12.
Does anyone know what happened or how to fix it?
I suspect that there has been a recent windows update that changed the rules. Do we need to include an ICO containing different sizes? Does windows now restrict something that the older versions of Install Shield does?
I changed tactics. Instead of trying to understand why our old ICO suddenly stopped working I just created a new ICO. I made an effort to create exactly what Windows would expect in an ICO.
A quick and dirty search for application icon editors turned up IcoFX (this link goes to an free older version). Even Stack Overflow contributors recommended it. I fed it a pristine 256x256 png and told it to "Create Windows Icon From Image" using its default settings:
- 4bit # 16x16, 32x32
- 8bit # 16x16, 32x32, 48x48
- 32bit # 16x16, 32x32, 48x48, 256x256
This new ICO worked, although I had to rebuild my Windows icon cache to see the change.
I'm disappointed that I don't know what changed in the OSes. However, this solved the problem and also dramatically improved our old 32x32 pixel by 32bit ICO.