Computing.Net > Forums > Programming > VB 6 Help

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

VB 6 Help

Reply to Message Icon

Name: Strike
Date: November 18, 2003 at 12:57:17 Pacific
OS: XP
CPU/Ram: Lots
Comment:

"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 B

Im 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



Sponsored Link
Ads by Google

Response Number 1
Name: Stuart
Date: November 18, 2003 at 21:46:33 Pacific
Reply:

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


0

Response Number 2
Name: Global
Date: November 19, 2003 at 02:53:03 Pacific
Reply:

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



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


MS Outlook macro NTFS structures etc...



Post Locked

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


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: VB 6 Help

vb 6 help www.computing.net/answers/programming/vb-6-help/9800.html

I need help about vb 6.0 www.computing.net/answers/programming/i-need-help-about-vb-60/5404.html

Vb 6 begginner help sources?!? www.computing.net/answers/programming/vb-6-begginner-help-sources/10240.html