Results 1 to 4 of 4

Thread: calling vb in HTML

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2001
    Location
    Manila
    Posts
    7
    I am designing a webpage. when I click on a button, I want a visual basic program to be activated. How will I do this? Please help.

    tnx.

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    On the client side? It won't work - the best you could do would be to give them a dialog box asking them to download it.

    Josh
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  3. #3
    Hyperactive Member compuGEEK's Avatar
    Join Date
    May 1999
    Location
    Mpls,MN,USA
    Posts
    281
    You could always write your program as an ActiveX control and then insert it into your HTML page by using the <OBJECT> tag. The user then downloads it and bingo! Your program will execute.

  4. #4
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Unless the user has totally shut off all security, the ActiveX control will not automatically download and execute. They will be prompted if they want to download if you sign the ActiveX control. And it won't work in browsers other than IE. And a lot of security-minded or privacy-minded surfers have them disabled anyway.

    Josh
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

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