Click here to Skip to main content
15,896,727 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionRe: How to make a Connection to a Password protected Access Database in VB.NET? Pin
Iftikhar Ali9-Feb-06 19:34
Iftikhar Ali9-Feb-06 19:34 
AnswerRe: How to make a Connection to a Password protected Access Database in VB.NET? Pin
kostasdiktia29-Feb-06 20:30
kostasdiktia29-Feb-06 20:30 
AnswerRe: How to make a Connection to a Password protected Access Database in VB.NET? Pin
Iftikhar Ali16-Feb-06 20:12
Iftikhar Ali16-Feb-06 20:12 
QuestionGet parameter count of a Stored procedure Pin
Krishnaraj Barvathaya B5-Feb-06 19:19
Krishnaraj Barvathaya B5-Feb-06 19:19 
AnswerRe: Get parameter count of a Stored procedure Pin
alien viper5-Feb-06 21:17
alien viper5-Feb-06 21:17 
AnswerRe: Get parameter count of a Stored procedure Pin
Colin Angus Mackay5-Feb-06 23:10
Colin Angus Mackay5-Feb-06 23:10 
GeneralRe: Get parameter count of a Stored procedure Pin
Krishnaraj Barvathaya B5-Feb-06 23:26
Krishnaraj Barvathaya B5-Feb-06 23:26 
GeneralRe: Get parameter count of a Stored procedure Pin
Colin Angus Mackay5-Feb-06 23:32
Colin Angus Mackay5-Feb-06 23:32 
That sould be more efficient if you did WHERE name = 'SP_Name'

Let's say you have a two stored procedures called GetData and GetDataForUser. You want to find the number of parameters for GetData. Using the code you supplied you can't tell if it will return the parameters for GetData or GetDataForUser because you gave it wild cards which say that you are looking for a procedure with GetData somewhere in the name.

I would suggest that the INFORMATION_SCHEMA.PARAMETERS way is easier to work with. If you examine the properties of the view itself, you'll see that it is just using sysobjects and syscolumns as well.

ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

GeneralRe: Get parameter count of a Stored procedure Pin
Krishnaraj Barvathaya B5-Feb-06 23:39
Krishnaraj Barvathaya B5-Feb-06 23:39 
GeneralRe: Get parameter count of a Stored procedure Pin
alien viper5-Feb-06 23:37
alien viper5-Feb-06 23:37 
QuestionCrystal Report Pin
alien viper5-Feb-06 18:10
alien viper5-Feb-06 18:10 
AnswerRe: Crystal Report Pin
shabonaa6-Feb-06 12:54
shabonaa6-Feb-06 12:54 
QuestionAdministrator Pin
dev dhoundiyal5-Feb-06 17:46
dev dhoundiyal5-Feb-06 17:46 
AnswerRe: Administrator Pin
Dave Kreskowiak6-Feb-06 2:37
mveDave Kreskowiak6-Feb-06 2:37 
QuestionHow to change the font in the title bar Pin
Chatura Dilan5-Feb-06 14:50
Chatura Dilan5-Feb-06 14:50 
AnswerRe: How to change the font in the title bar Pin
Dave Kreskowiak5-Feb-06 16:53
mveDave Kreskowiak5-Feb-06 16:53 
GeneralRe: How to change the font in the title bar Pin
Chatura Dilan5-Feb-06 23:56
Chatura Dilan5-Feb-06 23:56 
QuestionHow to solve PInvokeStackImbalance problem! Pin
JUNEYT5-Feb-06 7:23
JUNEYT5-Feb-06 7:23 
AnswerRe: How to solve PInvokeStackImbalance problem! Pin
Dave Kreskowiak5-Feb-06 7:30
mveDave Kreskowiak5-Feb-06 7:30 
GeneralI am sorry I forgot the header Pin
JUNEYT5-Feb-06 7:40
JUNEYT5-Feb-06 7:40 
GeneralRe: I am sorry I forgot the header Pin
Dave Kreskowiak5-Feb-06 7:47
mveDave Kreskowiak5-Feb-06 7:47 
GeneralI have stated it below! Thanks Pin
JUNEYT5-Feb-06 7:55
JUNEYT5-Feb-06 7:55 
GeneralRe: I have stated it below! Thanks Pin
Dave Kreskowiak5-Feb-06 8:21
mveDave Kreskowiak5-Feb-06 8:21 
Questionrandom Pin
rzvme5-Feb-06 2:12
rzvme5-Feb-06 2:12 
AnswerRe: random Pin
Guffa5-Feb-06 2:54
Guffa5-Feb-06 2:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.