VB6 Common Code for Access, Excel and VB Projects

From: Tim ffitch (fia_at_ifs.inchcape.co.uk)
Date: 09/28/04


Date: 28 Sep 2004 07:51:13 -0700

Hi

It has been sometime since I have done any pure VB programming. I need
to set up in Visual Basic 6 something like a dll that has common
functions I can use in Microsoft Access, Excel and VB Projects. I am
am sure I did something similar years ago in VB 5.

I have created a class which stores all the code for the function
procedures but from my projects I have to reference the instance of
the class instead of just calling the function.

I am sure I did this last time without having to set up a class. I
have tried a Standard Exe project but it wont allow me to connect to
it.

Any ideas please?

Kind regards
Tim ffitch



Relevant Pages

  • Error using dlls
    ... Has Anyone programming any application using a dll? ... ("can't execute the program"). ... have some code line calling some function of my dll. ...
    (microsoft.public.pocketpc.developer)
  • Re: .Net packaging/wrapper application?
    ... the simple answer to DLL Hell for Visual Basic apps was simply to place a copy of the needed DLLs in the same directory as your executable. ... The way Windows works is to look in the executable's directory for a needed DLL BEFORE using the registry to find one EVEN IF THE REFERENCED DLL IS REGISTERED ON THE PC RUNNING THE APPLICATION THAT NEED IT. ... Perhaps I'm getting old and but what really bothers me is nobody seems to notice this--maybe the 80s was before they got into programming. ... Looks to me like Jim is looking for the .NET equivalent of compiling with static libraries to produce a single executable. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Visual Basic.net
    ... As i've said, welcome to Lego programming. ... > at the cost of adding overhead. ... For example my error trapping tends to be - trap, ... > make sure it's not the DLL that will crash, but rather, if possible, ...
    (comp.lang.basic.visual.misc)
  • Re: newbie question - how to enumerate font
    ... I've started programming vb.net for 1 month.... ... you tell .NET the name and information of the DLL function ... The problem is that EnumFontFamilies ... requires that you give it a "callback" function. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: newbie question - how to enumerate font
    ... I've started programming vb.net for 1 month.... ... you tell .NET the name and information of the DLL function ... EnumFontFamilies function. ... requires that you give it a "callback" function. ...
    (microsoft.public.dotnet.framework.compactframework)