dbTalk Databases Forums  

how to create a reference to a DLL which does not have a separate.tib type library file

comp.databases.ms-access comp.databases.ms-access


Discuss how to create a reference to a DLL which does not have a separate.tib type library file in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
BobAlston
 
Posts: n/a

Default how to create a reference to a DLL which does not have a separate.tib type library file - 05-11-2011 , 10:01 PM






Anyone know how to reference a DLL which does not have a separate .tib
file? I have generated the DLL using WSDL.exe and VBC.exe. It
generates a single output, a dll file. It includes the information that
C++ would put in a separate .tib file. However for visual basic, it is
all combined together. However, Access references wants to select the
..tib file.

Bob

Reply With Quote
  #2  
Old   
BobAlston
 
Posts: n/a

Default Re: how to create a reference to a DLL which does not have a separate.tib type library file - 05-12-2011 , 01:20 PM






On 5/11/2011 10:01 PM, BobAlston wrote:
Quote:
Anyone know how to reference a DLL which does not have a separate .tib
file? I have generated the DLL using WSDL.exe and VBC.exe. It generates
a single output, a dll file. It includes the information that C++ would
put in a separate .tib file. However for visual basic, it is all
combined together. However, Access references wants to select the .tib
file.

Bob
According to this article

http://www.geeksengine.com/article/create-dll.html

I need to a) make the dll "COM visible" and 2) register the assembly as
a COM component in the Windows registry.

I am using WSDL to generate the VB.net class code and VBC.exe to
generate the dll. I do not see any option to make the dll COM visible.

Other than to use Visual Studio as per the article, how can I achieve
these??

bob

Reply With Quote
  #3  
Old   
Bob Barrows
 
Posts: n/a

Default Re: how to create a reference to a DLL which does not have a separate .tib type library file - 05-12-2011 , 01:35 PM



BobAlston wrote:
Quote:
On 5/11/2011 10:01 PM, BobAlston wrote:
Anyone know how to reference a DLL which does not have a separate
.tib file? I have generated the DLL using WSDL.exe and VBC.exe. It
generates a single output, a dll file. It includes the information
that C++ would put in a separate .tib file. However for visual
basic, it is all combined together. However, Access references wants
to select the .tib file.

Bob

According to this article

http://www.geeksengine.com/article/create-dll.html

I need to a) make the dll "COM visible" and 2) register the assembly
as a COM component in the Windows registry.

I am using WSDL to generate the VB.net class code and VBC.exe to
generate the dll. I do not see any option to make the dll COM
visible.

Other than to use Visual Studio as per the article, how can I achieve
these??

You'll probably get a quicker answer in a dotnet group

Reply With Quote
  #4  
Old   
BobAlston
 
Posts: n/a

Default Re: how to create a reference to a DLL which does not have a separate.tib type library file - 05-12-2011 , 01:36 PM



On 5/12/2011 1:20 PM, BobAlston wrote:
Quote:
On 5/11/2011 10:01 PM, BobAlston wrote:
Anyone know how to reference a DLL which does not have a separate .tib
file? I have generated the DLL using WSDL.exe and VBC.exe. It generates
a single output, a dll file. It includes the information that C++ would
put in a separate .tib file. However for visual basic, it is all
combined together. However, Access references wants to select the .tib
file.

Bob

According to this article

http://www.geeksengine.com/article/create-dll.html

I need to a) make the dll "COM visible" and 2) register the assembly as
a COM component in the Windows registry.

I am using WSDL to generate the VB.net class code and VBC.exe to
generate the dll. I do not see any option to make the dll COM visible.

Other than to use Visual Studio as per the article, how can I achieve
these??

bob
Here is a good thread on the topic.

http://social.msdn.microsoft.com/For...?prof=required

So far it appears you can ONLY do this using Visual Studio.

Surely there should be a way to do this without visual studio??

Bob

Reply With Quote
  #5  
Old   
BobAlston
 
Posts: n/a

Default Re: how to create a reference to a DLL which does not have a separate.tib type library file - 05-12-2011 , 01:54 PM



On 5/12/2011 1:36 PM, BobAlston wrote:
Quote:
On 5/12/2011 1:20 PM, BobAlston wrote:
On 5/11/2011 10:01 PM, BobAlston wrote:
Anyone know how to reference a DLL which does not have a separate .tib
file? I have generated the DLL using WSDL.exe and VBC.exe. It generates
a single output, a dll file. It includes the information that C++ would
put in a separate .tib file. However for visual basic, it is all
combined together. However, Access references wants to select the .tib
file.

Bob

According to this article

http://www.geeksengine.com/article/create-dll.html

I need to a) make the dll "COM visible" and 2) register the assembly as
a COM component in the Windows registry.

I am using WSDL to generate the VB.net class code and VBC.exe to
generate the dll. I do not see any option to make the dll COM visible.

Other than to use Visual Studio as per the article, how can I achieve
these??

bob
Here is a good thread on the topic.

http://social.msdn.microsoft.com/For...?prof=required


So far it appears you can ONLY do this using Visual Studio.

Surely there should be a way to do this without visual studio??

Bob
This article would see to be on point

http://msdn.microsoft.com/en-us/libr...8vs.71%29.aspx

except using the regasm with /libfile and /reg results in a error that
my dll is not a valid .net assembly.

Reply With Quote
  #6  
Old   
BobAlston
 
Posts: n/a

Default Re: how to create a reference to a DLL which does not have a separate.tib type library file - 05-12-2011 , 01:54 PM



On 5/12/2011 1:35 PM, Bob Barrows wrote:
Quote:
BobAlston wrote:
On 5/11/2011 10:01 PM, BobAlston wrote:
Anyone know how to reference a DLL which does not have a separate
.tib file? I have generated the DLL using WSDL.exe and VBC.exe. It
generates a single output, a dll file. It includes the information
that C++ would put in a separate .tib file. However for visual
basic, it is all combined together. However, Access references wants
to select the .tib file.

Bob

According to this article

http://www.geeksengine.com/article/create-dll.html

I need to a) make the dll "COM visible" and 2) register the assembly
as a COM component in the Windows registry.

I am using WSDL to generate the VB.net class code and VBC.exe to
generate the dll. I do not see any option to make the dll COM
visible.

Other than to use Visual Studio as per the article, how can I achieve
these??

You'll probably get a quicker answer in a dotnet group


Perhaps but they don't seem to know about /care about VBA clients.

bob

Reply With Quote
  #7  
Old   
Tony Toews
 
Posts: n/a

Default Re: how to create a reference to a DLL which does not have a separate .tib type library file - 05-12-2011 , 08:45 PM



On Wed, 11 May 2011 22:01:48 -0500, BobAlston <bobalston9 (AT) yahoo (DOT) com>
wrote:

Quote:
Anyone know how to reference a DLL which does not have a separate .tib
file?
Do you need the reference? Some DLLs can be used directly from
within the code without a reference or registering. Although those
DLLs likely need to be in the same folder as your Access FE database
file. I'm thinking specifically of Leban's printer PDF DLLs and the
open source Info Zip DLLs.

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
For a convenient utility to keep your users FEs and other files
updated see http://www.autofeupdater.com/

Reply With Quote
  #8  
Old   
BobAlston
 
Posts: n/a

Default Re: how to create a reference to a DLL which does not have a separate.tib type library file - 05-12-2011 , 09:25 PM



On 5/12/2011 8:45 PM, Tony Toews wrote:
Quote:
On Wed, 11 May 2011 22:01:48 -0500, BobAlston<bobalston9 (AT) yahoo (DOT) com
wrote:

Anyone know how to reference a DLL which does not have a separate .tib
file?

Do you need the reference? Some DLLs can be used directly from
within the code without a reference or registering. Although those
DLLs likely need to be in the same folder as your Access FE database
file. I'm thinking specifically of Leban's printer PDF DLLs and the
open source Info Zip DLLs.

Tony
Unfortunately for this DLL, created using WSDL.exe and VBC.exe I tried
to add it to the Access References, but it fails. apparently, it is not
COM visible.

Maybe no one here has used WSDL.exe to generate a SOAP proxy that allows
web service access AND includes the ability to modify the custom header
data values required by the web service (which the Office web generation
tool will not do).

Bob

Reply With Quote
  #9  
Old   
Tony Toews
 
Posts: n/a

Default Re: how to create a reference to a DLL which does not have a separate .tib type library file - 05-12-2011 , 09:40 PM



On Thu, 12 May 2011 21:25:35 -0500, BobAlston <bobalston9 (AT) yahoo (DOT) com>
wrote:

Quote:
Do you need the reference? Some DLLs can be used directly from
within the code without a reference or registering. Although those
DLLs likely need to be in the same folder as your Access FE database
file. I'm thinking specifically of Leban's printer PDF DLLs and the
open source Info Zip DLLs.

Tony
Unfortunately for this DLL, created using WSDL.exe and VBC.exe I tried
to add it to the Access References, but it fails. apparently, it is not
COM visible.
But did you try using it in your code without a reference?

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
For a convenient utility to keep your users FEs and other files
updated see http://www.autofeupdater.com/

Reply With Quote
  #10  
Old   
BobAlston
 
Posts: n/a

Default Re: how to create a reference to a DLL which does not have a separate.tib type library file - 05-12-2011 , 09:44 PM



On 5/12/2011 9:40 PM, Tony Toews wrote:
Quote:
On Thu, 12 May 2011 21:25:35 -0500, BobAlston<bobalston9 (AT) yahoo (DOT) com
wrote:

Do you need the reference? Some DLLs can be used directly from
within the code without a reference or registering. Although those
DLLs likely need to be in the same folder as your Access FE database
file. I'm thinking specifically of Leban's printer PDF DLLs and the
open source Info Zip DLLs.

Tony
Unfortunately for this DLL, created using WSDL.exe and VBC.exe I tried
to add it to the Access References, but it fails. apparently, it is not
COM visible.

But did you try using it in your code without a reference?

Tony
I don't know how to create a reference to the proxy server method and
the three structures defined in the proxy. Can you help and tell me how
to do that?

Bob

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.