Wrox Programmer Forums
|
VB Components Issues specific to components in VB.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 30th, 2004, 01:09 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dear Vinay Bhushan,
I do not see nothing wrong in the original code! Because there was not error handling, the method will failed on the Execute statement (but andris said that it worked fine, so the sql string mu be correct.) and it will be the caller respondibility to catch the error. I do not see why an extra boolean is needed...
Marco Straforini
 
Old August 4th, 2004, 05:54 AM
Registered User
 
Join Date: Mar 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default


Hi again,

I tried all possible variants and even variant with ADODB.Command and it still doesn't work. It seems to me that there is some kind of limitation of VB, so I wouldn't be able to pass connection anyway. Probably I will try to find other solutions.
But if you have any other ideas, I am ready to listen.








Similar Threads
Thread Thread Starter Forum Replies Last Post
Query w/ arguments darkhalf Access VBA 2 March 3rd, 2008 10:04 AM
arguments relay pierre.voisin Javascript 1 February 20th, 2008 06:04 PM
Named arguments Bob Bedell C# 2 March 19th, 2006 09:25 PM
Arguments snowy0 VB.NET 2002/2003 Basics 3 September 3rd, 2004 08:40 AM
Program arguments bramtram VB How-To 1 August 14th, 2003 03:18 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.