VS2010 unicode support gone after installing Service Pack 1 - visual-studio-2010

I'm in a bit of a mess. I made the mistake of installing SP1 for VS2010 during development phase and now I'm in trouble. I'm working on a bengali website that has bengali unicode text hardcoded in many of the asp.net pages. Before installing SP1 everything was fine and I was able to see the unicode characters but now all I see is rectangle boxes!! I uninstalled SP1 but that didn't solve the problem either.
Any other idea's??

Change the font to one that supports Bengali.
That is what boxes usually means: the characters are there, but the font does not have the necessary glyphs.

Related

Multilingual App Toolkit won't translate in VS 2022 Pro - translation key problem?

My colleague and I use VS 2022 Pro (VS), Multilingual App Toolkit (MAT), and Azure Translator service to translate our RESX resources into other languages; all on Windows 10. This tooling used to work for me; still Works great for my colleague with the same tools.
After a recent rebuild of my workstation, VS works but MAT no longer translates. Translations in intermediate XLIFF and final RESX files are not generated (despite MAT appearing to run - nothing changes).
Again, this tooling still works for my colleague.
One thing we noticed is the Azure Translator service key might not be being saved between VS restarts. Other settings can be saved but this key is not. But this key-save issue might not be relevant as even after supplying the translator key and starting a translation without closing VS - the translation fails to generate.
Very much appreciate your suggestions for what I could try. Thanks!
P.S. I have seen these SO answers:
Why is the Multilingual App Toolkit not generating machine translations?
Multilingual App Toolkit .xlf file is not updated during build
Multilingual App Toolkit translation service broken

ABCPDF font access Windows 2012

Problem: After migrating a stable system from Win 2008 to Win 2012, ABCPDF is not able to subset fonts correctly. We suspect a Windows permissions issue but do not know what or how to fix.
Background: We have enjoyed the use of ABCPDF for many years on a that has just been migrated from Win 2008 R2 to Win 2012 R2 Datacenter. We use ActiveX DLL's - yes we want to replace them but that is out of scope for now. Current ABCPDF level is ABCPDF 8.1. The dll's run under COM manager and have a specific run-as identity set to avoid the common access issues experienced when running as Network Svc or System accounts.
Our app uses the custom font files meaning we do not rely on the fonts being installed under windows. We use the Windows API call
AddFontResourceEx(font_path, FR_PRIVATE, &O0)
to load fonts into memory and run text measurement routines. This is proven to work because we generate a small bitmap with sample characters from the select font and the glyphs we see are correct. Conclusion is that the fonts are loaded via Windows API successfully. This is important because it informs us that the fonts are where they are expected to be and the run-as user account can access them.
Meanwhile we give the same font to ABCPDF via
oDoc.AddFont(font_path)
but the generated PDF does not include the glyphs of the specific font. Inspecting within Acrobat pro shows Times New Roman is being used.
All works fine on old Win2008 installation. Since moving to Win 2012 R2 we have this issue.
Conclusion: the DLL code can access the font under Win API, but ABCPDF cannot. Suspect some permissions change in Windows 2012. Help?
When we installed ABCPDF it was installed as a user who was not an Administrator. Solution was to uninstall then follow the advise on Websupergoo website which is to install with Run-As Administrator.

Unable to install Visual Studio for Win7 (Unresponsive)

This might be a stupid question, but I can't solve it for hours and it is killing me.
I'm trying to install visual studio in my lab computer, which runs Win7. The problem is, when I execute visual studio installer, it does not do anything after showing the Visual studio logo and is utterly unresponsive (only a black square pops up). At first, i thought it might be loading for a long time, but after leaving for few hours and still it does nothing.
I've tried to install it using ISO images, or even tried previous versions(2013 and 2012) but failed.
Formatting would be a simple answer, but it is practically impossible since it is used by multiple members in our lab, so I can't occupy it for too long to format and installing all other existing software.
How can I solve this problem?
Thank you for even reading this question. I would appreciate even more if I can get an answer!
You should install all Windows Updates and also update the GPU driver. The setup is based on Windows Presentation Foundation (WPF) which uses GPU to accelerate the UI so also up to date drivers are recommend.

Visual Studio 2013 installation doesn't process after displaying logo

I'm trying to install visual studio 2013. I have an iso file and I'm mounting image to drive but the installation doesn't process anything after displaying Visual Studio logo and a black rectangle after that.
Visual Studio logo appears. See Image
Now logo gets disappear and there is a black rectangle box in front of me.
See Image
I can move the box by pressing mouse button and moving it even with 2 inch below the box.
I have Windows7 32 bit with service pack 1 installed in my desktop. Core i3 and Intel HD graphics. I have Titanium Studio, Visual Studio 2010 and other regular softwares installed as well.
The exactly same issue happens when I attempt to install VS2012.
I googled quite a while and found some topics on https://social.msdn.microsoft.com complaining this issue. Basically, the answers ask to check Windows Update and make sure it's up-to-date, especially .NET framework to version 4.5.x. So I do this, and after installing updates and restarting several times, it finally works. Maybe you can try this way too.
I found solution for myself. I was using a software which was protecting my pc's graphic driver and was using another one. I removed that and VS installed as usually.
You should try to install at least once without any driver in your system if you are facing such issue.
In my case it was a missing file machine.config in C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG. I copied the file from another PC and installation of VS2013 immediately started, and completed successfully.

Easiest way to use Vista icons in VS 2005?

I've downloaded a Vista icon from the web for a new application I'm developing. When I try to compile it in Visual Studio 2005 C++, I get an error message:
error RC2176 : old DIB in res\XXXXX.ico; pass it through SDKPAINT
The error message seems a little misleading, I think the "old DIB" is actually a newer format that it wasn't expecting. I've never heard of SDKPAINT, and Search doesn't find it installed on my system anywhere. Microsoft claims SDKPAINT comes with the Windows 3.0 SDK, but I can't download any SDK due to incompatibilities with our firewall.
I don't really need anything Vista specific in this icon, so anything that would dump the incompatible bits would be fine.
I did a little more digging, and I found this previous question:
Which Icon Editing Software would you recommend for creating icons for apps
The accepted answer for that question suggested IcoFX. I downloaded that and used it to delete the 256x256 and 128x128 versions of the icon, and now everything's fine.
There are two more ways to achieve this in Visual Studio 2005:
replace rc.exe and rcdll.exe of your Visual Studio 2005 installation with the ones from a newer SDK (e.g. Windows Vista, 7 ...) or DDK/WDK (ditto)
or integrate the newer SDK into your Visual Studio 2005 using the respective tool that comes with the SDK
The resource compiler is the part that creates the .res files and then the usual Visual Studio 2005 linker (with the first option) or the SDK tool chain's liner links that into the binary. Meaning that even in conservative scenarios where it is frowned upon to upgrade the tool chain as a whole, this should be harmless.

Resources