Use .NET functionality from VB6
![Visual Basic 6, or VB Classic Visual Basic 6, or VB Classic](https://www.fortypoundhead.com//assets/img/icons/v7/vb6.png)
Use .NET functionality from VB6
Original Author: Mike Douglas
Code
This is a link to the MSDN site with a very interesting article on how to call .NET functionality from within VB6.
.
http://msdn.microsoft.com/vbrun/vbfusion/usingnet/default.aspx.
.
Kinda weird...one of the nice things about VB6 is no dependancy on .NET library/download, but if thats not an issue for you, then check it out and let me know what you think..
.
The .NET Framework Class Library provides extensive functionality for the following areas:.
New data types, such as GUID for working with Global Unique Identifiers, and TimeSpan ΤΗτ for working with a relative times (5 minutes instead of 12:05 AM 1/1/2005).
.
Environment information ΤΗτ OS version, environment variables, command line arguments, machine name, user name, user domain, special folder paths, logical drives..
.
Functionality for creating console (command line) applications.
.
Functionality for writing Windows services
Registry access.
.
Power events.
.
Database access.
.
Numerous types of collections, including sorted lists, dictionaries, and queues..
.
Configuration file management.
.
Operating system interaction ΤΗτ processes, event logs, performance counters, services, tracing and debugging.
.
Active Directory access.
.
Advanced graphics capabilities ΤΗτ drawing, gradients, images, printing.
.
Access to COM+ services such as distributed transactions
File system interaction and IO
Windows Management Interface access
Access to message queuing
Low level network access ΤΗτ DNS lookups, IP Addresses, sockets, HTTP communication
Interoperability with non .NET code (known as unmanaged code)
Reflection ΤΗτ allows late binding, and inspection of types at runtime
Remote object access ΤΗτ creating instances of remote classes and calling their methods.
Serialization ΤΗτ the ability to easily import/export the data of a class as XML.
Cryptography ΤΗτ hashing, symmetric and asymmetric encryption, X509 certificates.
Text formats ΤΗτ Conversions for ASCII, UTF-7, UTF-8, Unicode.
Regular Expressions ΤΗτ The ability to insure that a string conforms to a certain pattern (the string looks like a phone number, IP address, e-mail address, etc.) The ability to extract sub-strings from a string (for example, extract all the HTML tags).
Threading - The ability to have an application do work in the background.
Web Services
XML support ΤΗτ superior functionality compared to MSXML.
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.