how create a vb2012 library with one function that calls a calendar... be able to call from vfp9

Posted on 2014-07-17
Last Modified: 2014-08-06
Hi Experts,
We need créate a library in vb 2012 with just one function, to use the calendar control.

The library will be called from a legacy application in vfp9,
its enough just to save the selected date in a text file.

Then after the control closes the legacy app can read the text file...
Please if you have an example on how to créate and use a library in visual basic 2012
Please your help.....
Question by:rguillermo
    1 Comment
    LVL 83

    Accepted Solution

    To create a class library in VB.NET, you need to create a new project in VS and select the Class Library template. This will add a class file in your project. You can then add a method to this class as needed.

    You may have to make the DLL COM visible to make it usable in VFP.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
    When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
    Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
    This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now