Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / JScript / December 2007

Tip: Looking for answers? Try searching our database.

Converting from ASP 2.0 to ASP.Net

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
geoffrey.mcgrath@gmail.com - 03 Dec 2007 04:14 GMT
I'm converting an old ASP 2.0 file that used interpreted javascript,
and need it to work in Jscript.net on in an .aspx file.  The old code
instantiate an MSXML object using late binding, in the conversion I'd
like to take advantage of early binding.  Here is the original code:

   var oXML = Server.CreateObject( 'Msxml2.DOMDocument.6.0' );

To change that to early binding, I'd like to do somthing like this:

   var oXML  = new DOMDocument60();

What I'm unsure about is how do I reference the msxml6.dll file in the
project, and add a using-like reference?  I read something about a
@Assembly page directive, but I don't quite understand...is that
something someone can help me with?

Thanks!
geoffrey.mcgrath@gmail.com - 03 Dec 2007 04:20 GMT
I guess I should emphasize that other than early binding, I'm hoping
to not change any code--the first step of our conversion is to just
make it compile, not to otherwise optimize.  And I think that if I
knew how to properly bind and reference the MSXML6.dll then the other
code wouldn't require any further changes.

Optimization is a task for later...

As an aside, It seems there isn't much JScript.net posting activity
out there...that is sad, i've enjoyed JScript and it's starting to
feel kind of lonely!  Or is the JScript.net community hiding somewhere
I haven't found (and hiding from Google too...that's a neat trick :)

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.