Wrox Programmer Forums
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 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 21st, 2005, 04:58 AM
sh sh is offline
Registered User
 
Join Date: Jan 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dreamweaver API ASP.NET

I am using dreamweaver for development of a web application.
I must use API calls and I am getting error message:
"Cannot create ActiveX component."

I am not sure how I should declare the API within dreamweaver

<%@ Import Namespace="System.Text"%>
<%@ Import Namespace="System.Web.UI" %>

..........
If IsPostBack Then

            Dim myObject As New Object

            myObject = CreateObject("DLLNAME.MYAPIClass")
            'get info from form
            Dim coll As System.Collections.Specialized.NameValueCollection
            coll = Request.Form
...................

Thanks in Advance
 
Old June 21st, 2005, 07:57 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You are using the old VBScript syntax for creating objects.

Try it like this:

Dim myObject As New DLLNAME.MYAPIClass

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.net with Dreamweaver MX for Intranet cJeffreywang ASP.NET 1.0 and 1.1 Basics 0 April 2nd, 2007 05:49 PM
API functions in ASP.NET 1.1 zuesegy ASP.NET 1.0 and 1.1 Basics 0 June 11th, 2006 09:09 AM
ASP.NET E-Commerce - Datacash API Problems steelo All Other Wrox Books 1 October 7th, 2005 11:57 PM
Help required with ASP .NET in Dreamweaver MX CFerthorney Dreamweaver (all versions) 3 September 7th, 2003 11:27 AM





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