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
158 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

896 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now