Solved

How to create extended stored procedure in VB ?

Posted on 2006-06-16
7
208 Views
Last Modified: 2010-03-19
Hi,

I want to create a simple extended stored procedure which prints "Hello World" in VB ! Can you please provide me sample code / link to an article in VB ?

Thanks,
Kishore
0
Comment
Question by:kishore_peddi
  • 3
  • 2
7 Comments
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 16925691
0
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 16925694
use C / C++  or Delphi instead of  VB
0
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 500 total points
ID: 16926602
or use http://www.vbadvance.com/ to wrap vb project as standard dll, which extended procedure should be.
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 16926614
or, as a workaround, create activex object in vb6 and call it from tsql using sp_OAMethod. If your activex returns an array, it wil l be taken as resultset see description of sp_oamethod for details.
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 17627940
Objection. No offense at all, but it seems to me that aneeshattingal did not provide the solution that was requested. The request was to make it in VB, not in Delphi or C.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Server Select - find rows created in last 6 months 4 38
Query Help - MSSQL - Averages 5 27
SQL View nearest date 5 36
Tsql query 6 22
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question