|
-
VB Forms Calling C++ Code
Jonathan,
Does your book cover using VB forms in a C++ project? Or, is it better to
call C++ code from within a VB project? I'm interested in how I might use
a VB form as a user interface for data input, with command buttons that will
trigger the execution of C++ code.
A simple example I have in mind is a VB form with two text boxes. The first
text box will accept a first name and the second a last name. How can I
call C++ code to display the contents entered in each text box after a command
button is clicked? Thanks.
-
Re: VB Forms Calling C++ Code
Lawrence,
My book basically teaches how and advocates using VB for the front end and
most of the application logic, while using C++ DLLs (COM or Standard) to
perform speed critical functions. The book has many examples of VB
applications calling functions in C++ DLLs. The book also contains an
example program that almost exactly matches the description of the sample
you requested.
Thanks,
Jonathan
Lawrence Brabham <lbrabham@webcombo.net> wrote in message
news:3a108f77$1@news.devx.com...
>
> Jonathan,
>
> Does your book cover using VB forms in a C++ project? Or, is it better to
> call C++ code from within a VB project? I'm interested in how I might use
> a VB form as a user interface for data input, with command buttons that
will
> trigger the execution of C++ code.
>
> A simple example I have in mind is a VB form with two text boxes. The
first
> text box will accept a first name and the second a last name. How can I
> call C++ code to display the contents entered in each text box after a
command
> button is clicked? Thanks.
>
Similar Threads
-
By Pihlis in forum VB Classic
Replies: 2
Last Post: 07-17-2002, 12:34 AM
-
Replies: 150
Last Post: 03-04-2002, 05:40 PM
-
Replies: 38
Last Post: 09-07-2001, 05:55 PM
-
By Robert G in forum .NET
Replies: 84
Last Post: 02-08-2001, 02:38 PM
-
By Aivosto in forum vb.announcements
Replies: 0
Last Post: 09-25-2000, 02:02 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks