Results 1 to 7 of 7

Thread: WebBrowser Control and 'Date' Control

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2011
    Posts
    23

    WebBrowser Control and 'Date' Control

    Is it possible to configure the WebBrowser Control to support the use of a date input control in html?

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,302

    Re: WebBrowser Control and 'Date' Control

    A WebBrowser control displays web pages. It will display anything* that you can display in a web page. If you can't display it on a web page, you can display it in a WebBrowser control.

    * Depends on the set of supported functionality, which will vary from control to control.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jul 2011
    Posts
    23

    Re: WebBrowser Control and 'Date' Control

    jmcilhinney,

    I'm not sure I understand your reply. The "date" input controls gets displayed in the webbrowser control but it is un unusable as a way to select a date by the person visiting the page. So, is it possible to configure the WebBrowser Control to support the functionality of a date input control?

  4. #4
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,532

    Re: WebBrowser Control and 'Date' Control

    in what way is it unusable?

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Jul 2011
    Posts
    23

    Re: WebBrowser Control and 'Date' Control

    In other Browsers you can select a date. In The WebBrowser control you can only "enter" or type in a date. Here is a picture...

    Name:  Date Control.png
Views: 311
Size:  18.0 KB

  6. #6
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,532

    Re: WebBrowser Control and 'Date' Control

    By default the web control uses IE7 compatibility settings I believe, which affects how some websites and some controls are rendered. There's a way to change that in the registry... but that means changing the registry on every computer the app runs on. I think you can find a thread here on the subject if you look for web browser compatibility setting. Also note that the web browser control uses the rendering engine of IE, and NOT Edge or Chrome.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  7. #7
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,302

    Re: WebBrowser Control and 'Date' Control

    What you have shown there is a Chromium feature, which is why Edge, Chrome and other Chromium-based browsers will show it. If you want Chromium functionality then you would need a Chromium-based control. I think that Microsoft's WebView 2.0 is based on Chromium/Edge.

    https://docs.microsoft.com/en-us/mic...edge/webview2/

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width