-
VB GUIs and C++ code?
Hello DevX :)
I recently installed Visual Studio .NET 2003 edition. I plan on making a program with a Visual Basic GUI and C++ for all of the coding, math, et cetera. I've taken classes on both languages, but never learned how to combine the two. Could anyone help me get started? I need to know what solution and project choices I should make to start this in Visual Studio (New C++ project, et cetera).
Also, I need to know how to get the two languages to talk to each other. For example: pressing a button in the VB GUI calls a C++ function.
I'm sorry if my request is a little vague.. Thank you for the help. :)
-
I have never heard of this..
Why dont you code the GUI in C or C++?
-
Well, I only know how to do the DOS/command prompt style C++ programs. :P Is it possible to do VB-style GUIs in C++? I wanted to use VB because of how simple it is, just drag-n-drop..
-
You can do them its just not drag and drop..
You use the Windows API or MFC!
I have not done any VB so I cant tell you how to link a VB prog with C++..
Sorry mate
-
What is the Windows API and how do I use it? :x
-
API is Application Programming Interface..
Check this for starters.. :)
Its not a quick and simple thing however I am afraid..
-
The simple thing to do is wrap the c++ in a dll that the basic can call.
-
can i see ur code??????????????
-
I also heard that you can do the mix in 1 project, but just can't find the document about. So, I suppose it's only a myth ?
What I suggest if you know C syntax (in DOS) and like VB way of programming, go for C# (this is one of the C# goal) or like jonnin said compile the C code as DLL (you'll also gain a knowledge of Java, cause they're really similar :)).
Forget about MFC if you never do it, it's really painful to start with (I like MFC and have to use it in my job, but it's just not that intuitive to learn).
Similar Threads
-
By Mike Mitchell in forum .NET
Replies: 60
Last Post: 09-13-2002, 05:41 PM
-
By Willy Van den Driessche in forum .NET
Replies: 0
Last Post: 08-10-2001, 08:19 PM
-
By soonchik in forum .NET
Replies: 1
Last Post: 07-23-2001, 02:41 PM
-
By Robert G in forum .NET
Replies: 84
Last Post: 02-08-2001, 02:38 PM
-
By pnichols in forum Java
Replies: 5
Last Post: 12-27-2000, 12:25 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