Results 1 to 9 of 9

Thread: Getting a VB form on the internet?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2005
    Posts
    26

    Getting a VB form on the internet?

    Hi all, just a short question to determine what software to use for this. I've finally finished my project, a VB6 front end tied to a Access database. Showed it my course leader who is much impressed. In September I move on to my next course and for the project for that he wants me to take my stand alone .exe and put it on the college intranet so it can be accessed by anyone through a web browser. How do i do this? Is there a technology to pull the form into a browser or do I have to recreate my front end in say Dreamweaver and start connecting to the database that way? if someone can point me in the right direction I can start researching the stuff now and over the summer ready for September!

    Cheers, Lol

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Getting a VB form on the internet?

    You can't just put a VB program on the internet I'm afraid - the closest you can do is put up an installation package, which will then install the program from the client PC.

    I haven't used (or seen) Dreamweaver, but I presume that like VB it would still require some form of installation, presumably just a one-off install of a plug-in (like Flash uses).


    What you can do is use server-side script such as ASP (Active Server Pages), which uses code very similar to VB6 to generate the html page that is sent back to the client. As it is html being sent, nothing at all needs to be installed. (one alternative to ASP is php, which this site uses)

  3. #3
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Getting a VB form on the internet?

    Just rewrite your app as an ACTIVEX control, and you can load that into a browser.

    EDITED:
    Last edited by dglienna; Apr 18th, 2005 at 04:46 PM.

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Getting a VB form on the internet?

    Quote Originally Posted by dglienna
    Just recompile your app as an ACTIVEX control, and you can load that into a browser.
    You can not "just recompile your project as an activex control". You need to re-write it either
    as an ActiveX Document Project or write some ASP web pages that replicate your forms design and logic and
    [optionally] integrate some custom controls that you will have to make as ActiveX controls or just use all ASP.

    Also remember that ActiveX controls are widely supported on MS' IE browser. Other third party browsers may not support them.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Mar 2005
    Posts
    26

    Re: Getting a VB form on the internet?

    Dreamweaver is a web authoring package. Can someone point me in the direction of suitable books/resources for creating ActiveX Document projects? My VB front end uses ADO to create the connection, is this transferrable to ASP?

    Lol

  6. #6
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Re: Getting a VB form on the internet?

    If you have .NET at your college I would take a look at making it in ASP.NET
    You will have to learn a little more, but it's fun and a challenge, and it's exactly what you want.

    Can can embed an ActiveX control into a web page, but it's not as easy as "Compile your project as an ActiveX control"...it's way more complex than that....you would have to do sokme serious design work to your app.


    Woof

  7. #7
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Getting a VB form on the internet?

    Is it the same with 'Net? Or can you run the same code on a webpage?

  8. #8
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Re: Getting a VB form on the internet?

    No you can't...Well you can create controls to run in a web page. ASP.NET coding is WAY WAY WAY different from Win32 VB.NET coding

    Woka

  9. #9

    Thread Starter
    Junior Member
    Join Date
    Mar 2005
    Posts
    26

    Re: Getting a VB form on the internet?

    Unfortuinately we don't have ASP.Net at college, just plain old ASP so i'll get some ASP books and get playing over the summer.

    Thanks a lot, Lol

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