Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 244
  • Last Modified:

Visual Basic and intraweb

How easy is it to create an interface to a visual basic program through an intranet/internet. The interface will have to be dynamic as options selected by user on interface will change displayed variables.
0
hiten
Asked:
hiten
  • 2
1 Solution
 
dirtdartCommented:
You can insert an Internet Explorer object in your visual basic project.  This provides the basic browser screen (where you view the web page) without all the controls.  You can then add a user interface at your convenience.  Browsing with this control is as easy as:

WebBrowser1.Navigate(url)
0
 
hitenAuthor Commented:
You say I can add a IE object in my VB project, will this be accessible over an intranet, say in the form of a url so users can just link to the url and the interface will appear allowing them to use it?
0
 
dirtdartCommented:
No, when you add IE to your project, it's just like creating a custom web browser, without having to mess with net api.  It would have to be installed on each end users machine.  If you want to create a web site with a custom user interface that will appear in internet explorer, there would be two solutions.  The first (which would work with IE or Navigator), would be to add custom activex controls that you've created with VB5 to your web site.  This has the advantage of being accessable through any browser that supports activex technology, but is somewhat harder to work with.

The second option is to get Microsoft ActiveX Control Pad (free for download at www.microsoft.com) and create a custom html layout control.  This html layout will allow you to create a VB form with any controls and user interface you want to use, and code it just like you would any other VB project.  The only disadvantage to this is that it would only work with Internet Explorer.  Netscape Navigator (at least version 3 or before) does not support html layout.  I haven't tried Communicator yet, so I don't know if it will work or not.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now