Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
"Im having problems trying to make an appz that will run 2 different projects...Well on advice given i was told to make one project into dll...and then make a call from the other function...Well im kinda confused on this since both projects are quite large....Any advice or steps you could suggest cause i dont have the slightest idea where to start.
Ok, example, I have project A and B, I would like Form "C" to run either A or B, I can not combine AB into one project cause they are both rather large and complex and both similiar in nature"
So upon advicee I need to make A a dll and run it through project BIm an ameture and and simple steps and examples would be appreciated..Ive seen examples for txt but i want to run a program instead of calling text...Thx
Email or msn me if i confused ya and your willing to help... :>0
All help appreciated as always
Regards

This is a complex subject that can quite invloved. There is no way I could tell you how to do without vertualy re-writing the VB Help Files.
What you appear to be trying to do is possible. You need to look up ActiveX DLLs or even an ActiveX EXE file. Look up Class Modules and how they differ from ordinary VB Modules.
Run some of the examples provided in the VB Help files to get a feel of what is going on. Then apply what you have learnt to your own project.
Have a look at the VB Support files on Microsoft. There is a mine of information there.
http://support.microsoft.com/default.aspx?scid=fh%3Ben-us%3Bvbb&x=18&y=15&sd=msdn
If you have more specific problems get back here and I am sure somebody will be able to help you.
Stuart

I guess it would depend on what exactly you are trying to do and what is involved within both projects.
A DLL would work fine but you have to ascertain whether or not it is really required or not. It may well be that there is a relatively simple solution.
For example, it may be that you need a third program that just calls an executable. If the need will be to pass information project to project then an external component will be needed I guess.
But yes, the Microsoft documentation on such examples is pretty good for a change so I would recommend having a trawl through.
I think I have confused myself now!
Global

![]() |
MS Outlook macro
|
NTFS structures etc...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |