Giter Club home page Giter Club logo

diary's Introduction

注意,为了让webbrowser运行在ie11版本(默认是7)下,需要修改注册表,如下:

让WebBrowser在工作在标准模式下的方法:
32位系统中HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION
64位系统中HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION

在其中增加一个Dword值,名字为咱们的程序的exe文件名,比如“Diary.exe”,值为十进制的11000即可。
当然这里有一个陷阱,在Visual Studio中调试的时候浏览器还是工作在兼容模式下,而直接双击bin/debug下的“Diary.exe”则不会。这是因为VS调试启动一个程序的时候默认是启动“Diary.vshost.exe”,所以把“海驾约车.vshost.exe”也加入注册表即可。

注意,这个选ie最新的版本,不然排版可能跟预期不一样。

ie版本不要运行在11下,虽然好看,但是无法输入中文,shit的微软。

diary's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.