|
-
Jun 7th, 2001, 08:00 AM
#1
Thread Starter
Lively Member
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?
-
Jun 7th, 2001, 10:58 AM
#2
Black Cat
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.
-
Jun 7th, 2001, 12:18 PM
#3
Frenzied Member
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..
-
Jun 7th, 2001, 12:32 PM
#4
PowerPoster
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....
-
Jun 7th, 2001, 01:01 PM
#5
Frenzied Member
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..
-
Jun 7th, 2001, 01:10 PM
#6
Lively Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|