Creating Standalone App

HI Guys,

I am trying to create standalone app independent from browser using Microsoft web browser control.

I have 2 problems as below.

  1. Hello world cesium demo on IE 11 and Firefox done not work giving me below error. chrome works great.
    Error constructing CesiumWidget.

Visit http://get.webgl.org to verify that your web browser and hardware support WebGL. Consider trying a different web browser or updating your video drivers. Detailed error information is below:

  1. I trying to create a standalone app using Microsoft web browser control using below code but getting same error as mentioned above.
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace cesium
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            RegWebBrowserIn32BitIE8Mode();
        }

        private void RegWebBrowserIn32BitIE8Mode()
        {
            RegistryKey key = Registry.LocalMachine.CreateSubKey(@"SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION");
            key.SetValue(Path.GetFileName(Application.ExecutablePath), 0, RegistryValueKind.DWord);
            key.Close();
        }

        private void buttonGo_Click(object sender, EventArgs e)
        {
            webBrowserCesium.Navigate(textBox1.Text);
            // webBrowserCesium.Navigate("http://cesiumjs.org/Cesium/Build/Apps/CesiumViewer/index.html");
        }
    }
}

Please help me how to get this working I have below hardware configuration for my workstation.

Processor: Dual Intel Xeon 5650 (Two processors)
Memory:24GB
Graphic Card: ATI FirePro V5800

Thanks in advance.

Tejas

The WebBroswer control needs to be in IE11/Edge mode in order to show WebGL content. You also need to enable GPU acceleration. See this link for details: http://stackoverflow.com/questions/25051072/ie-11-webgl-performance-slow-when-using-webbrowser-control

If you are having problems with desktop browsers too, that is most likely a video card driver issue. Be sure you are running the latest drivers for your card.