Click here to Skip to main content
15,921,463 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionopening and appending to a file in vb.net Pin
kankan_155-Sep-05 20:28
kankan_155-Sep-05 20:28 
AnswerRe: opening and appending to a file in vb.net Pin
Briga5-Sep-05 21:31
Briga5-Sep-05 21:31 
AnswerRe: opening and appending to a file in vb.net Pin
Rizwan Bashir5-Sep-05 22:29
Rizwan Bashir5-Sep-05 22:29 
AnswerRe: opening and appending to a file in vb.net Pin
eagertolearn8-Sep-05 8:50
eagertolearn8-Sep-05 8:50 
QuestionHow to import VB 6.0 forms in VC++ 6.0 program? Pin
ladyscarlet995-Sep-05 15:55
ladyscarlet995-Sep-05 15:55 
AnswerRe: How to import VB forms in VC++ program? Pin
Christian Graus5-Sep-05 16:07
protectorChristian Graus5-Sep-05 16:07 
GeneralRe: How to import VB forms in VC++ program? Pin
ladyscarlet995-Sep-05 16:38
ladyscarlet995-Sep-05 16:38 
GeneralRe: How to import VB forms in VC++ program? Pin
Christian Graus5-Sep-05 16:56
protectorChristian Graus5-Sep-05 16:56 
ladyscarlet99 wrote:
It's a relief to know that VB 6.0 have the capabilities.

OK, this is the first you specified VB6. That limits your options, but does not close them.

ladyscarlet99 wrote:
Currently, I'm coding my C++ program using VC++ 6.0 and my program consists of 2 files: main.cpp and lib.h.

OK, that sounds like a pretty basic console app, it doesn't even use standard headers. What's lib.h ? Why isn't there a main.h ? In any case, it's useless to you, although any code you wrote can be ported easy enough.

ladyscarlet99 wrote:
BTW, what is COM or managed C++?

VB6 is a dead language. As of 2002, Microsoft released VB.NET, which along with C# ( a new language at that time ) target a new runtime called the Common Language Runtime. If you had VS2002, 2003 or 2005, you could write C++ to target this runtime, and it would be really easy to call from VB.NET. This is called Managed C++.

COM is a lot more complex, but basically if you create an ATL project in VC++ ( I assume VC6 ? ), then you'll be creating a dll which can be called from VB6. COM is a huge subject, truthfully, I had three cracks at it before I got it enough to start using it. But in hindsight, it's not as complex as it seemed, but it is very different from a normal C++ app ( although, it IS a C++ app, and you can use any C++ you can use elsewhere, it's just working out how the framework sits together ). This[^] is the book that finally got it all together for me, I recommend it 100%. COM is just too hard to learn without a good book, all the more if you're more skilled in VB than c++.



Christian Graus - Microsoft MVP - C++
QuestionSynchronise day and time Pin
Zakiro5-Sep-05 15:17
Zakiro5-Sep-05 15:17 
AnswerRe: Synchronise day and time Pin
Dave Kreskowiak5-Sep-05 17:42
mveDave Kreskowiak5-Sep-05 17:42 
GeneralRe: Synchronise day and time Pin
Christian Graus5-Sep-05 17:57
protectorChristian Graus5-Sep-05 17:57 
GeneralRe: Synchronise day and time Pin
Dave Kreskowiak6-Sep-05 6:45
mveDave Kreskowiak6-Sep-05 6:45 
QuestionSharing data between Windows forms Pin
roraima5-Sep-05 12:17
roraima5-Sep-05 12:17 
AnswerRe: Sharing data between Windows forms Pin
Christian Graus5-Sep-05 12:18
protectorChristian Graus5-Sep-05 12:18 
GeneralRe: Sharing data between Windows forms Pin
roraima5-Sep-05 12:23
roraima5-Sep-05 12:23 
GeneralRe: Sharing data between Windows forms Pin
Christian Graus5-Sep-05 12:35
protectorChristian Graus5-Sep-05 12:35 
GeneralRe: Sharing data between Windows forms Pin
roraima5-Sep-05 14:14
roraima5-Sep-05 14:14 
AnswerRe: Sharing data between Windows forms Pin
_mubashir6-Sep-05 2:38
_mubashir6-Sep-05 2:38 
AnswerRe: Sharing data between Windows forms Pin
korso_rogan6-Sep-05 9:08
korso_rogan6-Sep-05 9:08 
AnswerRe: Sharing data between Windows forms Pin
eagertolearn8-Sep-05 8:59
eagertolearn8-Sep-05 8:59 
AnswerRe: Sharing data between Windows forms Pin
roraima14-Sep-05 7:24
roraima14-Sep-05 7:24 
QuestionIntelligent Datagrid Pin
| Muhammad Waqas Butt |5-Sep-05 6:05
professional| Muhammad Waqas Butt |5-Sep-05 6:05 
AnswerRe: Intelligent Datagrid Pin
mikone5-Sep-05 10:16
mikone5-Sep-05 10:16 
QuestionOpen default mail client with attachments Pin
marowle5-Sep-05 4:19
marowle5-Sep-05 4:19 
QuestionListview selects? Pin
dave@ennead5-Sep-05 3:26
dave@ennead5-Sep-05 3:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.