473,398 Members | 2,404 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,398 software developers and data experts.

Csharp Server.CreateObj

In asp with VB
we can use:
set obj = Server.CreateObject("AAA");
obj.method(); // Then call the method of the ActiveX object

However, in C#
Object obj = Server.CreateObject("AAA");
obj.method(); // Cannot compile, object does not contain definition of
method()

How to solve ???
Cannot Call ActiveX Object in C# ?
Feb 21 '06 #1
1 1549
"Dragon" <ta*****@hotmail.com> wrote in message
news:u3**************@TK2MSFTNGP09.phx.gbl...
In asp with VB
we can use:
set obj = Server.CreateObject("AAA");
obj.method(); // Then call the method of the ActiveX object

However, in C#
Object obj = Server.CreateObject("AAA");
obj.method(); // Cannot compile, object does not contain definition of
method()

How to solve ???
Cannot Call ActiveX Object in C# ?


C# is not the same as VB.

1) What are you actually trying to do?

2) What ActiveX object are you trying to use?
Feb 21 '06 #2

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

Similar topics

2
by: lathe_biosas | last post by:
Hi Im trying to get the variable x from Code Composer via Matlab the following way variable=createobj(cc_target,'x') but there is and error message from matlab: ??? Processor not...
4
by: L.Peter | last post by:
Dear Group, I have the following code for vb.net *** Dim objFaxServer As New FAXCOMEXLib.FaxServer Dim collFaxIncomingJobs As FaxIncomingJobs Dim objFaxIncomingJob As FaxIncomingJob
3
by: C# | last post by:
Hey all, in my MSN-Like project .. i needed a trigger that should send Notifications to all online users when a contact in their lists is online for example.. Server is in C# .. The problem is...
1
by: Rafael Grybs | last post by:
Hi Ng, does Csharp provide something correspondig to applet-technlogy in java world? Need some information on this topic. Regards Rafael
1
by: Sherif | last post by:
I'm making an application using csharp to connect to a database made by MSSql Server and i've already done backup for the database from the csharp and i need now to know how can i restore the...
2
by: http://vmdd.tech.mylinuxisp.com/catalog/ | last post by:
<quote> Java vs. Csharp I attempted to write a csharp version of sockSvr (java). After months of research, I aborted the project. Csharp (and ..NET) does not have the equivalents of JDBC,...
2
by: news.microsoft.com | last post by:
Hi: I work in Csharp's parser files by LEX/YACC.Now I have only CSharp-lex.l and CSharp.y file,but they not have CSharp'comment Parse. this is a part of CSharp-lex.l. ........................
2
by: blackdog | last post by:
I have Oracle client in my system, like to use csharp to communicate with Oracle server to retrieve data. I am very new in csharp, would anyone please give me an example codes or web pointer....
3
by: Yoavo | last post by:
Hi, I have an application that was written as ATL project which uses as a server application and has a COM class which implements IConnectionPoints interface (to fire events). I have clients...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.