I need to use Visual Basic to create an ActiveX DLL that
subclasses an Access form (cf. Knowledge Base Article
278379). Should I use Visual Studio .NET --or-- regular
Visual Basic 6 --or-- VS.NET 6... something else? what's
the diff?? is VS.NET only for creating managed code? 10 1367
Hi deko
C# and VB.net are for managed code and you can make that with C++
C++ is also for unmanged code in VS.net.
Cor
>Should I use Visual Studio .NET?
You can not create ActiveX anything with .NET. or regula Visual Basic 6?
If you truley want to build an ActiveX DLL, then this would be your
place to do it.
or VS.NET 6?
There is no such thing. VS.NET is the next generation of Microsofts
Visual Studio brand but it is not built upon the same architecture and is a
completely different animal.
... something else? what's the diff?? is VS.NET only for creating
managed code?
Ah, now that is the question! Anything built with .NET is managed code and
you can not use .NET to build (emphasis on build) unmanaged code (COM). You
can build an application with .NET that calls unmanaged code, but you can
not build unmanaged code with .NET.
In genera, using .NET over its predicessor will bring better performance,
better scalability, better compatibility with other .NET languages, easier
maintenane and more to your application. There is a price though, VS.NET is
not just the "next" version of VS 6 and VB.NET is not just the "next"
version of VB 6.0. They are brand new and there will be a learning curve
involved.
Hope this helps.
Scott M.
Hi and thanks for the reply,
so it sounds like VS.NET is for building stuff that
requires the .Net Framework (?)
I fired up Visual Studio 6.0 (VB component) and clicked on
the "ActiveX DLL" icon in the New Project window... so far
so good... -----Original Message-----Should I use Visual Studio .NET? You can not create ActiveX anything with .NET.
or regula Visual Basic 6?
If you truley want to build an ActiveX DLL, then
this would be yourplace to do it.
or VS.NET 6? There is no such thing. VS.NET is the next
generation of MicrosoftsVisual Studio brand but it is not built upon the same
architecture and is acompletely different animal.
... something else? what's the diff?? is VS.NET only
for creatingmanaged code?
Ah, now that is the question! Anything built with .NET
is managed code andyou can not use .NET to build (emphasis on build)
unmanaged code (COM). Youcan build an application with .NET that calls unmanaged
code, but you cannot build unmanaged code with .NET.
In genera, using .NET over its predicessor will bring
better performance,better scalability, better compatibility with other .NET
languages, easiermaintenane and more to your application. There is a
price though, VS.NET isnot just the "next" version of VS 6 and VB.NET is not
just the "next"version of VB 6.0. They are brand new and there will be
a learning curveinvolved.
Hope this helps.
Scott M.
.
> so it sounds like VS.NET is for building stuff that requires the .Net Framework (?)
Yes, that's the whole point. I fired up Visual Studio 6.0 (VB component) and clicked on the "ActiveX DLL" icon in the New Project window... so far so good...
I hope that this serves your purpose.
Good luck!
-----Original Message-----Should I use Visual Studio .NET?
You can not create ActiveX anything with .NET.
or regula Visual Basic 6?
If you truley want to build an ActiveX DLL, then this would be yourplace to do it.
or VS.NET 6?
There is no such thing. VS.NET is the next generation of MicrosoftsVisual Studio brand but it is not built upon the same architecture and is acompletely different animal.
... something else? what's the diff?? is VS.NET only for creatingmanaged code?
Ah, now that is the question! Anything built with .NET is managed code andyou can not use .NET to build (emphasis on build) unmanaged code (COM). Youcan build an application with .NET that calls unmanaged code, but you cannot build unmanaged code with .NET.
In genera, using .NET over its predicessor will bring better performance,better scalability, better compatibility with other .NET languages, easiermaintenane and more to your application. There is a price though, VS.NET isnot just the "next" version of VS 6 and VB.NET is not just the "next"version of VB 6.0. They are brand new and there will be a learning curveinvolved.
Hope this helps.
Scott M.
.
Scott M. wrote: Should I use Visual Studio .NET? You can not create ActiveX anything with .NET.
You certainly can, by exporting your .NET classes usin tlibexp. or regula Visual Basic 6?
If you truley want to build an ActiveX DLL, then this would be your place to do it.
or VS.NET 6?
There is no such thing. VS.NET is the next generation of Microsofts Visual Studio brand but it is not built upon the same architecture and is a completely different animal.
... something else? what's the diff?? is VS.NET only for creating managed code?
Ah, now that is the question! Anything built with .NET is managed code and you can not use .NET to build (emphasis on build) unmanaged code (COM). You can build an application with .NET that calls unmanaged code, but you can not build unmanaged code with .NET.
That is not true. You can build unmanaged code with MC++.
deko wrote: Hi and thanks for the reply,
so it sounds like VS.NET is for building stuff that requires the .Net Framework (?)
In general, yes, but you can export your .NET classes and create an ActiveX
..tlb by doing so which other modules can use as if their were using an
ActiveX library. Still there is the overhead of using .NET to host your
ActiveX .NET implementation as opposed to just creating ActiveX libraries
without .NET. OTOH I believe it is much simpler creating an ActiveX library
from .NET classes than through, let's say, the VC++ ATL classes.
> > You can not create ActiveX anything with .NET. You certainly can, by exporting your .NET classes usin tlibexp.
But then you would be using CCW's so that the .NET app would "look" like a
COM app. Sure, you can do this, but I wouldn't say that this is ActiveX
development. I would say this is .NET to COM interOp.
The fact is that you can't build an ActiveX anything directly from VS.NET.
Scott M. wrote: You can not create ActiveX anything with .NET.
You certainly can, by exporting your .NET classes usin tlibexp.
But then you would be using CCW's so that the .NET app would "look" like a COM app. Sure, you can do this, but I wouldn't say that this is ActiveX development. I would say this is .NET to COM interOp.
The fact is that you can't build an ActiveX anything directly from VS.NET.
I am sure you know that exporting one's .NET classes using tlibexp does in
fact produce an ActiveX library which can be used in the normal way without
the user needing to be aware that the .NET framework will host the ActiveX
implementation. However I think we will be splitting hairs over this if we
discuss it much further. Whether this constitutes just "looking" like an
ActiveX library or being one, or whether it constitutes "building an ActiveX
anything directly from VS.NET", will probably degenerate into a semantic
argument rather than a technical one.
As far as whether it is better to build an ActiveX library from C++/ATL or
..NET classes, I think that is almost purely an ease of personal programming
preference. I do recognize having the .NET framework host an ActiveX library
as being more of a run-time overhead than if one's ActiveX library were
built directly from native COM classes and interfaces. But then again,
having .NET "anything" will impose more of an overhead than dealing directly
with the Win32 API and its native libraries.
> I am sure you know that exporting one's .NET classes using tlibexp does in fact produce an ActiveX library which can be used in the normal way
without the user needing to be aware that the .NET framework will host the ActiveX implementation. However I think we will be splitting hairs over this if we discuss it much further. Whether this constitutes just "looking" like an ActiveX library or being one, or whether it constitutes "building an
ActiveX anything directly from VS.NET", will probably degenerate into a semantic argument rather than a technical one.
I don't think this is splitting hairs at all. I can build a VB 6.0 (COM)
component and use it in .NET but that doesn't mean that I have built a .NET
component in VB 6.0.
The same is true for creating a .NET component and "using" it from a COM
application (via a COM Callable Wrapper -CCW).
The fact reamains: You can't build an ActiveX anything "directly" from
..NET.
Thanks Edward.
I've been away for a few days on Christmas break...
So, as I begin my journey into Visual Studio and Microsoft development,
there are 2 choices: managed code and unmanaged code. If I want to write
stuff that uses the .NET Framework, I can use VS.NET -- otherwise (generally
speaking) I should use Visual Studio 6 and a language like VB or C++. Does
this sound about right?
But now I'm wondering... why bother with the .NET framework? Why not
simply write the app in VB? Is there some advantage to using managed code?
Are there language-based advantages - for example, is C# better than VB for
some things? In general, yes, but you can export your .NET classes and create an
ActiveX .tlb by doing so which other modules can use as if their were using an ActiveX library. Still there is the overhead of using .NET to host your ActiveX .NET implementation as opposed to just creating ActiveX libraries without .NET. OTOH I believe it is much simpler creating an ActiveX
library from .NET classes than through, let's say, the VC++ ATL classes. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: enki |
last post by:
I have been learning perl and C++, and I have been looking into Java.
I know very little about the language, I have found some realy bad
books that realy served to confues me and I have to find...
|
by: manish |
last post by:
Hi,
I am a fresher in the programming field i.e although I have done
programming at the basic level but at professional level I am very new
and I am facing many problems. These probllems are...
|
by: Luke |
last post by:
Elements with name attribute:
form, input, textarea, a, frame, iframe, button, select, map, meta,
applet, object, param, img (if you know more reply...)
Methods of addresing html elements:...
|
by: deko |
last post by:
I need to use Visual Basic to create an ActiveX DLL that
subclasses an Access form (cf. Knowledge Base Article
278379). Should I use Visual Studio .NET --or-- regular
Visual Basic 6 --or-- VS.NET...
|
by: chitu |
last post by:
Hi pals,
Hope u all of r intersted in C programming.Let start
from d basics.
| |
by: Sreenivas Gangadhar |
last post by:
hi everyone i have a quick question,
whats the difference between argc and argv in C
i am new here, so i dont know whether the question was previously discussed but however still i expect.
...
|
by: Mague |
last post by:
Hey,
I need help to some how open a exe file with Microsoft Visual basics. You mite think im trying to steal someone elses project but im not i wont to no how they did it and upgrade it if...
|
by: Satka |
last post by:
Hello,
I'm quite new to Apache, and I have what I think is a very basic question.
I installed Apache 2.2.4, and use it with JBoss/Tomcat, using ajp13 conduit.
This all works very well as...
|
by: babu8880 |
last post by:
www.convensysglobal.com/elearn You can login and attend courses and
similar resources ask your doubts from experienced engineers in iphone
and Objective C Domain
You can attend live classes...
|
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,...
|
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,...
| |
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...
|
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...
|
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: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |