473,396 Members | 2,147 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

moving to ASP.NET C# from ASP vbscript

In an old application on which I am working, in an ASP file there is a
server side vbscript function that is creating object of a class
created in CPP file -- Server.CreateObject(NAME1.CLASS123) and
performing a set of functions. I figured that its a DLL that is
registered. I also found that it was created in CPP.
Currenly we r moving everything to ASP .NET. We bought a custom
ASP.NET application for this purpose and can only edit/change .CS (c#)
files in this new application. I am trying to emulate the server side
vbscript functionality in .CS file by referencing to the DLL directly.
So using NAME1.CLASS123 obj = new NAME1.CLASS123() for vbscript
equivalent of Server.CreateObject(NAME1.CLASS123). Everything compiles
fine. But the custom .NET application with this change stops at the
point where I am calling NAME1.CLASS123 obj = new NAME1.CLASS123().
I don't know why. I can't see the exception (bcos its part of custom
app). Any clues???

Workaround help: Is there a way to include a vbscript file in .CS file
and call the vb function (written in that file)?? The function returns
2 variables. Basically function is f123(ByVal p1, ByVal p2)
Thanks
--------------------------------
From: Kuljit Singh
Nov 16 '05 #1
0 1214

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: John Davis | last post by:
When I create new documents in Dreamweaver, there are several choices for ASP creation: ASP JavaScript: run at client side?? ASP VBScript: run at server side?? ASP.NET C# ASP.NET VB I don't...
29
by: Christopher Brandsdal | last post by:
If I have a .ASP page that runs JScript code - is it possible to include an ..ASP page that runs VBscript???
16
by: Mike Schinkel | last post by:
Does anyone know if there are bugs in VBScript's GetRef()? I'm using VBScript Version 5.6.8515 on Win2003Server w/ASP. Sometimes it returns an object that VarType() says is a vbObject. Other...
2
by: colin.steadman | last post by:
Is it possible to moves files to and from other servers in ASP? I'm in the process of incorporating a VBS script into ASP that used to do this job for me. However the VBS script was setup to run...
1
by: Mr. x | last post by:
.... The second time I am sending this email ... .... I want a good solution, please. .... Thanks :) What I need is moving xml data from client to server & vice versa, but not using xml file....
3
by: Bill | last post by:
I've been programming ASP VBScript applications for years, & now I want to move to .NET, partially for the increased efficiency it will give me. But something has me confused: what's the...
6
by: BillCo | last post by:
I've been working to date almost exclusively with a2k, but it looks like i need to move a major app to 2003. I've heard that there are various complications surrounding Digital signatures and...
6
by: rishabhshrivastava | last post by:
Hello All, I am using ASP.NET 2.0 and I am experiencing a problem using vbscript that is this script on client side is preventing the postback of my controls. I have a dropdownlist which is...
26
by: Trish | last post by:
I have an Access 2003 database application consisting of a frontend on each user's desktop and a backend on a network drive. I have been asked to move the backend into a folder that the users...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.