How to use ActiveX DLL in Visual Foxpro 6? - dll

I have an ActiveX COM DLL developed in VB6. How can I use it in Visual Foxpro 6?
Please explain with Visual Foxpro 6 code.

Try:
myObject = CREATEOBJECT("Project.Class")
myObject.RunMethod()

Related

How to create ActiveX Control in Visual Studio 2010/2015 VB.net

I want to create activeX objects (.OCX files) using VB.net visual studio 2010 or 2015.
Is there any way to create activex objects using these tools.
In my project i have software like graphics builder it will accept activex objects, by registering it.
So i want to create some new customized activex objects.
.Net Cannot create pure ActiveX controls.You can create a .NET DLL with a COM callable wrapper, which is actually a .DLL, using the COM Class.
If you don't need to call the component from a COM then create a standard .NET DLL.

VB or VB.NET? How do I know which one to use

I need to make a windows app. Should I use VB or VB.net? What is the real difference actually? I downloaded visual studio for vb and right now I have "microsoft visual basic 2010 express". I'm assuming if I want to use VB.net it'll say "microsoft visual basic.net 2010 express". Where do I get that from though?
COM-based VB (i.e., "VB6") is obsolete and no longer sold.
VBA is only part of another app or product (such as Excel, Word, etc.) that hosts it and is not appropiate for a stand-alone app.
VB.Net is current, available for purchase (as part of Visual Studio), and supported.
So use VB.Net.
Visual Basic 2010 Express is the IDE to write VB.NET code. You already have the correct program.
As you're starting now - why not use the newest Visual Studio Express 2012?

Copy VB.NET code from Visual Studio Express to Microsoft Access 2013

Is it possible to develop forms in Visual Studio Express, and copy the VB.NET code to Microsoft Access 2013? Because I'm not familiar with Visual Basic code in Microsoft Access.
No, it is not possible. Microsoft Access uses VBA (Visual Basic for Application) and VBA is a different Language than VB.NET.
Sure, you could write your DLL in a NET Language of your choice and call that DLL from Microsoft Access VBA code, but it is not an easy task.
Here there is a project that explain how to build a COM visible NET library that is callable from a VBA code. It is in C# but the principles are the same, just search for different syntax if really want to do it
I Thing if you know vb.net you should be able to learn "VBA" in no time is almost the same

How do I call a vb dll from C in Visual Studio 2010?

I have a C program in Visual Studio 2010. I created an empty project in visual studio 2010. I add some .C files and some .h files. I would like to call an existing vb dll from the C. Is it possible? Can anyone suggest a way?
Calling a C DLL from VB is described by Microsoft :
http://support.microsoft.com/kb/106553/en-us
Similarly, you can call managed code (VB, C#...) from C++ :
http://support.microsoft.com/kb/828736/en-us
HTH.

VB .NET vs. VB 2010

I just want to know if VB.NET and VB 2010 are the same.
I'm just wondering.
VB 2010 is the latest version of VB.Net. Microsoft dropped the ".Net" part of VB with the VB 2005 release.
Wikipedia has all you need to know about VB.net: Wikipedia Page
VB.NET is any version of Visal Basic since version 7, where the language moved to the .NET platform and became object oriented.
2010 isn't a version of the VB language, it's sometimes used to describe the version that comes with Visual Studio 2010, which is VB version 10.
As specified on the wiki page for VB.NET VB 2010, or VB 10.0 is a new version of the language commonly refered to as VB.NET.
as the time changed visual basic became more advanced. Before it used a p code compiler. but all the versions after vb 6.0 IDE it stopped using msvb60.dll and shifted to .NET framework which is now called VB.NET. But Microsoft removed the .NET after VB 2005 final release. Also it used a VBC.exe which is the new Visual Basic compiler. There was a lot of criticiscm after this because it was not compatible with Win 98 and previous versions.
Visual Basic .NET (VB.NET) implemented on the .NET Framework. Microsoft launched VB.NET in 2002 as the successor to its original Visual Basic language. Although ".NET" portion dropped in 2005,"Visual Basic .NET" to refer to all Visual Basic languages releases since 2002.
There is Visual Basic and Visual Basic .NET. Visual Basic .NET runs on the .NET framework and the former does not.
Basically yes, Vb 10 is just the newer version
Yes they are the same, but VB.Net runs with .NET framework.
Yes they are the same. Bassicaly VB 2010 is using .NET framework
Vb.net is the same as VB 2017. In your case it's 2010. Just more features
VB 2010 , because nobody is needed to know .net when they know vb
but in vb.net you also have to learn .net,
This version is also the latest
you can also have vb2010 express for free here
http://www.microsoft.com/visualstudio/eng/downloads#d-2010-express
(OR)
get the paid version like pro edition here (trial only)
http://www.microsoft.com/en-us/download/details.aspx?id=2890
VB.NET is the language that you can use on the .NET framework. Before .NET framework evolved, Microsoft had a separate product called Visual Basic, and in 2002 when Microsoft came with .NET framework then they discontinued Visual Basic as independent product, and combined it in the .NET framework.
Basically .NET framework supports 50+ languages (Visual Basic is one of them, and C# is another commonly known language) which you can use to develop variety of applications. Over the years, Microsoft improved .NET framework, so thus the VB language to make it more smart.
The VB 2010 that you are asking is the Visual Basic language that came with the Visual Studio 2010.
VB 2010 is a part of the VB .NET family. VB.NET uses the .NET language runtime, while VB6 and previous VB does not. VB .NET is object-oriented, and the classic VB is event-driven.