I would like to use some VB controls, such as the Datepicker, on a web page. How? Any Ideas?
Printable View
I would like to use some VB controls, such as the Datepicker, on a web page. How? Any Ideas?
You can use ActiveX controls on a web page, but not VB's built in controls.
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.
Has anyone ever used a treeview? Woudn't it have to refresh the page eveytime node selected?
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.
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
:rolleyes: :p