2 Newbie questions...

G

Guest

I'm new to ASP programming but have been a C++ developer for years. Anyway as I'm just getting started I have some very basic questions

1) How do I make a "default" web page that is displayed when users navigate to my website without naming the page in the URL

2) What is the syntax to use an Active-X control in ASP.NET? Do I instantiate it with JScript - I have no idea how to do this in ASP

Any help would be appreciated..

--Richard
 
J

James Hancock

1) How do I make a "default" web page that is displayed when users
navigate to my website without naming the page in the URL?

You can set this is IIS. Just go into the properties on the root of the
domain, and the document tab and choose the file names in the order that you
wish for the default page. It will then work nicely.
2) What is the syntax to use an Active-X control in ASP.NET? Do I
instantiate it with JScript - I have no idea how to do this in ASP?

Check out the references folder in your project. If you right click on it,
and choose add you will (by default) get a list of .net controls and dlls.
If you switch to the COM tab, you get all of your ActiveX stuff. Be warned,
that you don't want to use ActiveX/COM stuff unless you have to, because
they're slow compared to native .net and eat memory. See if there is a .net
version of the control, or there is something built into the .net framework
that will replace what you're needing before you use an ActiveX control.

James Hancock
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,521
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top