VB and the web
Up Client-side scripts Server-side scripts (ASP) ActiveX controls
Most web pages are rather static and lifeless - web pages can be made more dynamic or interactive by adding scripts (simple programs) or  'applets' (more sophisticated programs that run inside a web page). Here are some options:

bulletScripts can be placed either on the server (the computer that stores web pages and serves copies of them to other computers) or on the client (the computer that you use to request and view the pages that are received from the server). To read about server-side scripting or client-side scripting follow the links above.

bulletTo learn how to use the full version of VB to make applets called ActiveX controls - follow the link above.

bulletThe full version of Visual Basic 6 can also be used to make an ActiveX Document. An ActiveX document is different from an ActiveX control in that it cannot be placed INSIDE a web page. An ActiveX document is something that the browser would open INSTEAD of opening a web page - the browser's address bar would confirm this. A big disadvantage of Visual Basic Documents is that they are are not compatible with Netscape Navigator.

bulletYou can use the full version of VB6 to make DHTMLweb pages. DHTML (Dynamic HTML)  has many advantages over VBScript - DHTML can be created inside version 6 of the Visual Basic program and this environment provides rich support to the process. Also, Dynamic HTML code is packaged into a DLL file before delivery to the browser - the DLL format cannot be 'cracked' to expose the source code.
 
bulletVB.NET is even better at making web applications than VB6. See the VB.NET section of this site for more information.

bulletJava 'applets', like Visual Basic Documents are powerful, full-fledged applications that are designed to run within a browser. Both 'Java applets' and Visual Basic Documents are much more powerful than 'JavaScript' or VBScript. Visual Basic Documents are not compatible with Netscape Navigator but it is possible to convert VB applications into Java applets, if you can afford several hundred US dollars for the converter!

bulletTo make applets to put in web pages most professionals would choose Macromedia Flash for this purpose (see my Flash page). They would normally not choose VB. VB was created long before the World Wide Web became popular, and early versions were therefore not designed to make programs that could run inside a web browser (programs that run inside a browser are called 'applets'). The language used in Flash resembles Java rather than VB.
 

Client-side scripts Server-side scripts (ASP) ActiveX controls

Previous Up Next