Solved

I Have a project in VC++ i have *.h and *.dll and i want to transfer the subs to VB how do i do so?

Posted on 2003-12-01
6
162 Views
Last Modified: 2010-05-03
I Have a project in VC++ i have *.h and *.dll and i want to transfer the subs to VB how do i do so?

0
Comment
Question by:michal22
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
6 Comments
 
LVL 16

Accepted Solution

by:
Richie_Simonetti earned 50 total points
ID: 9857524
Dll is a COM dll
In your project, set a reference  to dll and you could create objects from it like when you automate excel, word, lotus, etc.

or a plain win32 one:
Read .h file only shows part of the history but you need to translate all to VB.
Take a look at this example on how to to translate C code to VB.
If you need more help, just ask.



0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 9857561
0
 

Author Comment

by:michal22
ID: 9862191
can i give you the *.h  file to translate
i done know vc at all im a lost couse

can i send it to you by mail or some how ??


0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 9866133
If you know VC, you are almost amore than a half way from manage VB! It is simplest.
E- mail is against EE's policies (this is a forum to share knowledge ;)
If it is not so big, you could post the .h file here but you didn't answer my Q yet (see fisrt comment).
0
 
LVL 29

Expert Comment

by:leonstryker
ID: 10211835
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Answered Richie_Simonetti
 
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

leonstryker
EE Cleanup Volunteer
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

724 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