?
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
Medium Priority
?
169 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
  • 3
5 Comments
 
LVL 16

Accepted Solution

by:
Richie_Simonetti earned 200 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

850 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