Assuming your VB .dll is a COM server, you use the sp_OAxxx set of stored
procedures, such as sp_OACreate etc. These are documented well in Books
Online and additional COM error handlers are also provided to assist.
Suggest that you consider using a VB ActiveX .exe type COM server which will
run out of process from the main SQL Server Win Process. Generally this is a
better approach, assuming that there is not a large amount of communicatoin
between SQLServer and the COM Object/s.
I think that extended stored procs cannot easily be written in VB but are
really intended for C.
Cheers,
Greg Linwood
> Hello
> Does anyone out there know where I can find an example of an extended
stored
> procedure calling a VB dll. Thanks
> Brian
> -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
> http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
> -----== Over 80,000 Newsgroups - 16 Different Servers! =-----