473,653 Members | 2,948 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IDE basics question

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?
Jul 21 '05 #1
10 1386
Cor
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
Jul 21 '05 #2
>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.
Jul 21 '05 #3
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.
.

Jul 21 '05 #4
> 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 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.
.

Jul 21 '05 #5
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++.
Jul 21 '05 #6
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.
Jul 21 '05 #7
> > 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.
Jul 21 '05 #8
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.
Jul 21 '05 #9
> 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.

Jul 21 '05 #10

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

Similar topics

1
2934
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 medicore C++ books to explain objects. Now working with C++ and perl understand object oriented programming. I know that Java is realy good for the web and applets, but how is java for sprites and graphics? Are there good built in libraries for...
1
2273
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 not taughtand I am not getting any Refrences to cope with them. ********Setting in VC++ 6.0 I don'know to apply setting for various/different projects. I am not getting basics out of it .Can u pls tell me how to make a good understanding of...
22
3316
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: <form name="myform"> <input name="myinput" /> </form> 1. var input = document.forms.myform.myinput;//from nn3+ 2. var input = document.forms.myinput;//from nn3+
10
290
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 6... something else? what's the diff?? is VS.NET only for creating managed code?
14
2271
by: chitu | last post by:
Hi pals, Hope u all of r intersted in C programming.Let start from d basics.
2
1169
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. thankyou.
3
1985
Mague
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 possible. I can install other programs if needed also i have got Microsoft Visual Basics Express Edition 6 Also please don't Call me a noob (i no i em) Also im onnly 13 so i have learned completly of the internet! Ty Mague!
0
3628
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 long as I'm on the server (where JBoss, Apache are installed) But when I'm trying to access my server from another computer on my intranet, I only get a "Unable to connect" on my browser. I'm using the internal server IP (starting with 192.), which...
0
3226
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 through our website with experienced teachers available world wide. Some among you can also be teachers while others will be your students. This is fun and adds knowledge in the domain of i-Phone Development. We request all users to be active in...
0
8370
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8283
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8811
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8470
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8590
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6160
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5620
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
1914
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1591
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.