Results 1 to 6 of 6

Thread: Using VB controls on a web page

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2001
    Posts
    69

    Using VB controls on a web page

    I would like to use some VB controls, such as the Datepicker, on a web page. How? Any Ideas?

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    You can use ActiveX controls on a web page, but not VB's built in controls.
    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
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    You can pretty much use any OCX on a web page. (In theory.. I've yet to successfully get a treeview *with* images on one.. or an imagelist -which is the problem with a treeview.. but anyway..)

    Make sure you create a license pack file for the activeX controls on your page that require licensing or they won't download to the browser.

    Check out this on MSDN for more info on it.
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

  4. #4
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    ocx's

    Has anyone ever used a treeview? Woudn't it have to refresh the page eveytime node selected?
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

  5. #5
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    I've used a treeview. Getting it working is easy. Getting it working with images for each node is another issue. Basically, the problem is that the imagelist is instantiated on the client side. The images you want to use for each node are on the server side. I have'nt figured out a way to add them to it either programatically or at design time. When I tried adding them at design time, it appeared like it would work, but it didn't when the control was downloaded to the client and instantiated, it was empty. I just use a javascript treeview when I need one now. It's more lightweight and browser agnostic.

    But to answer your question.. no you wouldn't have to refresh the page. The control is on the client side as is any activex control on a web page.
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

  6. #6
    Lively Member harsoni's Avatar
    Join Date
    Oct 2000
    Posts
    118

    Lightbulb

    Hi guys,
    Can i suggest u all something why don't u use a javaapplet??
    wan a try check this site for a free download..works great

    http://javaboutique.internet.com/JExplorer/


    Sonia

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