Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 11th, 2003, 10:17 PM
Registered User
 
Join Date: Jun 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default slider.htc in Visual Studio 2003 (VB)

I am trying to use the slider control but get error messages.

on the design page, putting

<HTML xmlns:ie>
<?import namespace=ie implementation="slider.htc">

then I get "page can not be displayed in Design View. The page contains one or more <?import> Directives, which is not supported in
Design View"

Has anyone had success with this component?
I can get it to work with a web page built with notepad still using ASP.Net.
Note, there are 2 slider.htc files, the old is javascript and is a 32k file, I am trying to use the newer which is 5k in size.
 
Old June 30th, 2003, 05:02 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

I think the design view error is pretty clear- Design view does not support a page with an <?import> directive. Therefore, you will not be able to edit a page that has an <?import> on it in the Design View. Either drop the <?import> or use the standard entry view.


Hal Levy
NOT a Wiley/Wrox Employee- Got a job for me?
 
Old August 2nd, 2003, 08:54 PM
Registered User
 
Join Date: Jun 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I know what doesn't work, I was asking what does?
What is "standard entry view" or have you ever used the slider.htc
files sucessfully.
 
Old December 31st, 2004, 07:28 AM
Registered User
 
Join Date: Dec 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default


use
 <SCRIPT LANGUAGE="JScript">document.namespaces("ie").doImp ort("slider.htc");</SCRIPT>

instead of

<HTML xmlns:ie>
<?import namespace=ie implementation="slider.htc">



 
Old July 20th, 2005, 08:11 AM
Authorized User
 
Join Date: Jul 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi vermontdane,

Can you tell me if you get the suggestion from henrikop working?
<SCRIPT LANGUAGE="JScript">document.namespaces("ie").doImp ort("slider.htc");</SCRIPT>

I am also using this <HTML XMLNS:IE> in my xslt file but unfortunately it doesn't like "XMLNS:IE" and does not recognize
<?IMPORT NAMESPACE="IE" IMPLEMENTATION="#default">.


<HTML XMLNS:IE>
<HEAD>
<?IMPORT NAMESPACE="IE" IMPLEMENTATION="#default">

Because it doesn't recognize the <HTML XMLNS:IE> so I can't declare
these two element behaviour.
<IE:TEMPLATEPRINTER ID="printer"/>
<IE:HEADERFOOTER ID="headfoot"/>

Does anyone have any idea if the <HTML XMLNS:IE> works in xslt or how does it work?

I tried searching on Google but u guys have the only match.

Thanks in advance all,
Grace :)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Studio 2003 Not Responding pcliu Reporting Services 0 August 30th, 2006 03:12 AM
Visual Studio 2003 vs. Visual Studio 2005 eitanbarazani C# 2005 4 May 9th, 2006 01:34 AM
Visual Studio 2005 AND vs 2003 MAB VS.NET 2002/2003 1 December 27th, 2005 05:40 PM
Visual Studio 2002 Vs. 2003 psmothers BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 2 September 13th, 2004 09:52 PM
Visual Studio.NET 2003 Upgrade cjo ASP.NET 1.0 and 1.1 Basics 2 November 20th, 2003 12:17 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.