FEATURE_BROWSER_EMULATION not working on Windows 8 32bit - c#

I have created a .NET 2.0 Winforms apps that uses the browser control to load a website which uses HTML5 features and such; on my development machine which is a Windows 7 Ultimate x64 computer after creating the necessary registry keys the page loads and works 100%, my problem is when I run it on a Windows 8 32-bit machine, even after adding the registry key it will still bomb with javascript errors which happens on the dev machine if the registry key is not created, does this trick works on Windows 8 too?
64 bit setting (used on dev machine = OK)
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION]
"VideoChat.exe"=dword:0000270f
32 bit setting (used on Windows 8 = ERROR)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION]
"VideoChat.exe"=dword:0000270f

Related

Windows Application installation on a 64 bit OS windows 10

I am running a setup of Windows application on a windows 10 64 bit OS.
Previously the win forms app had been running on 32bit windows 7 Os for last 14 years.
Every module works fine but not reports (crystal reports).
After installation the application is in Program files(x86).
I installed CRforVS_redist_install_32bit_13_0_19.
I installed CRforVS_redist_install_64bit_13_0_19.
Still the error shows
Please help.
This might mean that you need to have correct Crystal runtime. X64 for 64 bit machine and X86 for 32 bit machine.
Here is a list of all Crystal runtimes: Crystal Reports Runtime Distribution & Supported Operating Systems

Blank Windows Feature list when loading through C#

I want to be able to open the "Windows Features" menu in my C# application, but for some reason, it'll show a blank Windows Features list, but only on some machines. I've ran this on another Windows 7 VM and it worked perfectly fine, but when doing this on my machine (and my friends machine), it left us with a blank list.
Here's the code I use to open "Windows Features". If I run this with CMD manually it works files however - only in the C# application will it cause problems.
Process.Start("OptionalFeatures.exe");
The same problem will happen if I use this as well
Process.Start("control.exe", "appwiz.cpl,,2");
Any ideas on why this is happening..?
Try specifying a platform target corresponding to your OS platform.
I assume the computers that run into this problem are 64 bit machines and your application runs in 32bit mode. So try specifying either platform target = AnyCpu AND disable the checkbox "prefer 32 bit" or set the platform target to 64bit.

Develop WPF on Window 7 (32 bit) VMware guest on Mac OS X (64 bit) host

I installed Windows 7 (32 bit) on VMware running on Mac OS X 10.6 (64 bit).
I have VS 2010 on the Windows 7 guest. I developed a WPF C# .NET 4 application using this VS 2010. Will the application be a 32 bit or 64 bit application in this scenario.
32bit. Its your windows machine that is executing the application, and that is 32bit.
.Net applications (and by inclusion WPF applications) are compiled into IL, which is actually converted to machine code by the framework. By default, this IL code is set to be able to run on both CPU types and therefore if your end users are on 64bit machines with 64bit framework, they will get a 64bit application. If 32bit with 32bit framework, they will get a 32bit application.
32bits in this case. It depends on the platform Visual Studio installed on.

C# 32bit project under 64bit windows

I'm working on a form application, I use plenty of hardware, Wiimote, USBjoystick and serial port. It all worked fine under 32bit windows, but I had to upgrade to 64bit for some other apps I'm working on.
I did some research and it is possible to develop x86 apps under x64 system, but now I don't know if this is what I want. The trouble maker is obviously directX sdk. AFAICS another option is, to install a virtual x86 machine specificly for developing this app (I don't want dual boot). I've never used this before, so I'm kinda worried that all this hardware won't work under virtual machine.
I'm using wiimoteLib and blueSoleil to connect bluetooth. So will this work. And do I use windows 7's virtual xp option, or a different virtual machine software? I'd probably use winXP as a virtual OS.
32 bit applications run perfectly fine on 64 bit operating systems. I have lots of my applications developed for 32 bit and they run without any issues in 64 bit. As you say you have lots of hardware used we can't be sure which may work or may not work.
best solution is to run your app in 64 bit and see if anything is not working (I am sure 95% will work) and then come back here with specific questions.
Inside IIS (7) click on Application Pools.
Find the Application Pool that is configured for your web application in the list.
Select it, then click Advanced Settings on the right.
Second setting in the list: Enable 32-Bit Applications - must be set to True.
When compiling your application in Visual Studio, try setting the target platform to x86 rather than "any CPU" (Project options/build/target platform).
I had the same problem running a 32 bit app on a 64 bit development computer. On VS 2010 I had to go to Properties/Configuration Manager/New and choose x86. Then I did a clean and rebuild and it ran fine.

C# Windows 7 problem

I develop a windows application on c#.
I have tried it on different PCs with XP operating system, but I had a problem when I start to run on PC with windows 7.
The program is closed automatically.
I use SQLite for database and interaction with php files in the program.
Just guessing, could it be that the Windows 7 operating system is 64-bit? If yes, and you're using the 32-bit version of SQlite, you might have forgotten to make your C# a 32-bit only project.
To do so, open the project properties, and on the Build page, select x86 (which means 32-bit).

Categories