Calling and controlling a web browser (C#) -


i'm going try , make detailed possible on first go around, lord knows i'll miss something.

what have far program can call default web browser, good. i'm trying to, i'll break down steps because frankly doubt contingent on each other:

  1. the current call open new tab if default web browser open. ideally, want create new window instance every time called, specific reasons relate #3. how have thus:

    system.diagnostics.process.start(storage.urls[storage.tabcount-1]); 

    i have tried code snippet provided here, either visual studio 2015 no longer supports browserapplication class, or i'm missing using somewhere, there precious little information class. there simple solution one.

  2. (optional) wrap newly called web browser in windows form. let's face it, 1 unnecessary, visual sake wouldn't complain being able wrap web browser inside windows form. make doing things resizing browser , moving around lot easier. still, it's pretty low on list of things do. but, tie 1 , 3 nicely together.

  3. make newly create web browser child of main application. want way able read information , set things web browser through program @ time. being able make child give me access feature. there's kind of integration dll can add program, few things preventing me looking. first, still can't browser open in new window, , don't want control existing tabs well. second, want code not browser dependent. it's 1 of reasons why want open default browser, because want user not notice difference normal browsing habits.

the obvious solution 90% of issues code in webbrowser tool windows form. fallback option, have few things don't it. primarily, have reinvent wheel in terms of creating multi tab functionality in web browser other browser features. in end, user going end noticing big disjoint normal browsing experience.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -