473,466 Members | 1,336 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

.NET and ActiveX question

What is the .NET equivalent to the old ActiveX or is there any? I have an
ASP.NET appliction and I need to build a control or something to access a
program on a server from a client machine without going through the web
server. I'm using VB.NET for my code behind. Any suggestions?

Thanks
Chris Smith
Nov 19 '05 #1
5 991
The suggestion is to still use ActiveX if the app must be hosted in a browser.
Now you can use managed code to write ActiveX controls, but it's not supported
that well. And from the browser's perspective it's still a COM object, so
your managed component needs to be wrapped up as a COM component. Also, this
would meanyou need the .NET Framework installed on the client machine. And
if you're going to do that, then I'd say skip all this hassle and just build
a Click-Once app.

-Brock
DevelopMentor
http://staff.develop.com/ballen
What is the .NET equivalent to the old ActiveX or is there any? I
have an ASP.NET appliction and I need to build a control or something
to access a program on a server from a client machine without going
through the web server. I'm using VB.NET for my code behind. Any
suggestions?

Thanks
Chris Smith


Nov 19 '05 #2
The equivalent is to host a windows forms control (or application) in the
browser, assuming the client has the .NET framework installed.
Here's how:
http://samples.gotdotnet.com/quickst...eSourcing.aspx
http://devcenter.infragistics.com/Ar...ArticleID=1264

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"clsmith66" <cl*******@discussions.microsoft.com> wrote in message
news:BB**********************************@microsof t.com...
What is the .NET equivalent to the old ActiveX or is there any? I have an
ASP.NET appliction and I need to build a control or something to access a
program on a server from a client machine without going through the web
server. I'm using VB.NET for my code behind. Any suggestions?

Thanks
Chris Smith

Nov 19 '05 #3
Thank you both for your suggestions. As time is short for this project I'm
going to go with the windows forms control for now but I was interested in
the managed code, unfortunately I didn't understand a lot of what I was
reading. Any suggestions on where a newbie should start with managed code?
Once again, thank you both.

Chris Smith

"clsmith66" wrote:
What is the .NET equivalent to the old ActiveX or is there any? I have an
ASP.NET appliction and I need to build a control or something to access a
program on a server from a client machine without going through the web
server. I'm using VB.NET for my code behind. Any suggestions?

Thanks
Chris Smith

Nov 19 '05 #4
Managed code just means .NET -- so C# or VB.NET.

-Brock
DevelopMentor
http://staff.develop.com/ballen
Thank you both for your suggestions. As time is short for this
project I'm going to go with the windows forms control for now but I
was interested in the managed code, unfortunately I didn't understand
a lot of what I was reading. Any suggestions on where a newbie should
start with managed code? Once again, thank you both.

Chris Smith

"clsmith66" wrote:
What is the .NET equivalent to the old ActiveX or is there any? I
have an ASP.NET appliction and I need to build a control or something
to access a program on a server from a client machine without going
through the web server. I'm using VB.NET for my code behind. Any
suggestions?

Thanks
Chris Smith


Nov 19 '05 #5
No J# nor Managed C++ ?

;-)

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Brock Allen" <ba****@develop.com.i_hate_spam_too> wrote in message
news:67*********************@msnews.microsoft.com. ..
Managed code just means .NET -- so C# or VB.NET.

-Brock
DevelopMentor
http://staff.develop.com/ballen

Thank you both for your suggestions. As time is short for this
project I'm going to go with the windows forms control for now but I
was interested in the managed code, unfortunately I didn't understand
a lot of what I was reading. Any suggestions on where a newbie should
start with managed code? Once again, thank you both.

Chris Smith

"clsmith66" wrote:
What is the .NET equivalent to the old ActiveX or is there any? I
have an ASP.NET appliction and I need to build a control or something
to access a program on a server from a client machine without going
through the web server. I'm using VB.NET for my code behind. Any
suggestions?

Thanks
Chris Smith

Nov 19 '05 #6

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

Similar topics

8
by: AnalogKid | last post by:
Short question: What's the difference between SingleUse and MultiUse ? Long question: I've been writing some sample code to see how different Instancing values and threading models work. I...
4
by: Rob Allen | last post by:
Hi Folks. This is more of a "thinking about" post than a real question with a solution. That being said, here we go: Microsoft has in fact lost a patent infridgment suit which will cost them...
18
by: DartmanX | last post by:
Is there a simple way to determine if someone using Internet Explorer has completely disabled ActiveX controls? Jason
4
by: rufus | last post by:
Hi, On the project I am working on we need to encapsulate all data and business logic in an activex dll. My question is: How do I do this? How can I access the form objects ie text boxes,...
2
by: lionel letoffet | last post by:
Hello, I wrote an ActiveX in MFC. I use it in a C# application (forms). My computer has a screen resolution of 1280x1024 with 96PPP (Important !!) I insert my activex in a form, I compile...
7
by: Jarod_24 | last post by:
I just downloaded a activex control that was written in C# and tried to view it on my PDA's Internet Explorer. At my regular PC it displayed just fine, but nothing showed up on the pda. Do...
6
by: hufaunder | last post by:
I have an ActiveX component that I want to use in a library that I am writing. As a first test I used the ActiveX component in a windows form application. Adding the component created: Ax.dll...
7
by: Artie | last post by:
Hi, Our team have a web project which includes some C# ActiveX DLLs. On some developers' PCs, the code which calls methods in the ActiveX dll is succesful - no exceptions. On other PCs, the...
2
by: =?Utf-8?B?Sm9obiBG?= | last post by:
Hello All, I have a question about using an ActiveX control with a Windows Servce in C#. I believe it is not possible to properly setup an ActiveX control in a windows service as the particular...
1
by: Jialiang Ge [MSFT] | last post by:
Hello Philippe, In addition to bruce's points, I'd suggest the KB article http://support.microsoft.com/kb/317392. It demonstrates how to host an ActiveX control in ASP.NET (for your first...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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.