Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 10-20-2004, 06:03 AM   #1 (permalink)
john_tran
Registered User
 
Join Date: Oct 2004
Posts: 22
john_tran is on a distinguished road
C++ combine with VB?

I want to write a application that use VB for the GUI, and C++ for the source code. Can i coordinate that ?
Please show me step by step to do that.
(And how should i organize my Cpp file, because it include its main(), its libraries and its functions.)
thank you!
john_tran is offline   Reply With Quote
Old 10-20-2004, 06:42 AM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,446
sde is on a distinguished road
i think this will only work if you develop your c++ app 100% with the .NET framework.

if you are, then what you do is create a new solution and add a c++.net library project and write your dll files there.

then, create a vb.net windows application project in the same solution and reference the c++ project.

have you tried this?
__________________
Mike
sde is offline   Reply With Quote
Old 10-20-2004, 07:33 PM   #3 (permalink)
john_tran
Registered User
 
Join Date: Oct 2004
Posts: 22
john_tran is on a distinguished road
Oh, Unfortunately, i use Windows 98 and Visual Studio 6 for VB.6
There isnt any other way?
john_tran is offline   Reply With Quote
Old 10-20-2004, 08:31 PM   #4 (permalink)
rdove
Masked Moderator
 
rdove's Avatar
 
Join Date: May 2002
Location: Indianapolis, IN
Posts: 260
rdove is on a distinguished road
With VB 6...NO!

Your best bet is to go with sde's suggestion. Also, despite popular belief you can install .NET on Windows 98 and it will work fine.
__________________
~Ryan

rdove is offline   Reply With Quote
Old 10-21-2004, 05:40 AM   #5 (permalink)
john_tran
Registered User
 
Join Date: Oct 2004
Posts: 22
john_tran is on a distinguished road
Ok, i will.
Assume that i installed VB.NET. And tell me all the steps to do.
I dont know what dll is? dll's structure and how to create it?
john_tran is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VB or C#, or something else Apodysophilia MS Technologies ( ASP, VB, C#, .NET ) 6 10-15-2004 09:48 AM
operate overloading member function in C# sureshkumar_kc MS Technologies ( ASP, VB, C#, .NET ) 2 10-15-2004 02:36 AM
edit? anon Lounge 10 11-21-2002 03:02 PM


All times are GMT -8. The time now is 04:37 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting