Click here to Skip to main content
15,891,657 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralVB SCRIPT Help required Pin
prashantnemane10-May-04 23:36
prashantnemane10-May-04 23:36 
GeneralRe: VB SCRIPT Help required Pin
mtone11-May-04 2:02
mtone11-May-04 2:02 
GeneralRe: VB SCRIPT Help required Pin
prashantnemane12-May-04 17:40
prashantnemane12-May-04 17:40 
GeneralRe: VB SCRIPT Help required Pin
mtone13-May-04 4:11
mtone13-May-04 4:11 
GeneralColumn Names in DATA GRID Pin
seemeenejaz10-May-04 22:40
seemeenejaz10-May-04 22:40 
GeneralRe: Column Names in DATA GRID Pin
Syed Abdul Khader11-May-04 1:11
Syed Abdul Khader11-May-04 1:11 
GeneralRe: Column Names in DATA GRID Pin
Nick Seng11-May-04 23:31
Nick Seng11-May-04 23:31 
Generalcalling a stored procedure from VB Pin
FASTian10-May-04 22:39
FASTian10-May-04 22:39 
i am calling a SQL stored procedure from VB
i want to be able to call the stored procedure asynchronously...
i've tried different param values but the code gets called only synchronously...
below is the sample code that i am using...


Dim  m_adoConn As new ADODB.Connection<br />
    m_adoConn.Open "DSN=ConnectionNameHere"<br />
<br />
    Dim com As ADODB.Command<br />
    Set com = New ADODB.Command<br />
            <br />
    Dim rs As New ADODB.Recordset<br />
    <br />
    com.ActiveConnection = m_adoConn<br />
    com.CommandType = adCmdStoredProc<br />
    com.CommandText = "PopulateGroup"<br />
    <br />
    com.Parameters.Append com.CreateParameter("@sTableName", adWChar, adParamInput, 15, Null)<br />
    com.Parameters("@sTableName").Value = "abcd"<br />
    <br />
    Set rs = com.Execute<br />
    Debug.Print rs(0)



any help regarding this will greatly appreciated

Thanks
GeneralRe: calling a stored procedure from VB Pin
Dave Kreskowiak11-May-04 1:27
mveDave Kreskowiak11-May-04 1:27 
GeneralRe: calling a stored procedure from VB Pin
FASTian12-May-04 0:22
FASTian12-May-04 0:22 
GeneralIE Pin
jithen_dt10-May-04 21:19
jithen_dt10-May-04 21:19 
GeneralRe: IE Pin
Colin Angus Mackay11-May-04 1:06
Colin Angus Mackay11-May-04 1:06 
GeneralRe: IE Pin
Edbert P11-May-04 16:58
Edbert P11-May-04 16:58 
GeneralIE Explorer Pin
Anonymous10-May-04 20:54
Anonymous10-May-04 20:54 
GeneralData grid with check boxes Pin
seemeenejaz10-May-04 19:18
seemeenejaz10-May-04 19:18 
GeneralRe: Data grid with check boxes Pin
Syed Abdul Khader10-May-04 22:07
Syed Abdul Khader10-May-04 22:07 
GeneralRe: Data grid with check boxes Pin
seemeenejaz10-May-04 22:37
seemeenejaz10-May-04 22:37 
GeneralRe: Data grid with check boxes Pin
Syed Abdul Khader10-May-04 22:49
Syed Abdul Khader10-May-04 22:49 
Generalneed some help making a bitmap appear Pin
kowplunk10-May-04 16:19
kowplunk10-May-04 16:19 
GeneralRe: need some help making a bitmap appear Pin
Christian Graus10-May-04 16:57
protectorChristian Graus10-May-04 16:57 
GeneralRe: need some help making a bitmap appear Pin
kowplunk10-May-04 17:08
kowplunk10-May-04 17:08 
GeneralRe: need some help making a bitmap appear Pin
Christian Graus10-May-04 17:10
protectorChristian Graus10-May-04 17:10 
GeneralRe: need some help making a bitmap appear Pin
kowplunk10-May-04 17:14
kowplunk10-May-04 17:14 
GeneralRe: need some help making a bitmap appear Pin
kowplunk11-May-04 2:46
kowplunk11-May-04 2:46 
GeneralRe: need some help making a bitmap appear Pin
Dave Kreskowiak11-May-04 3:48
mveDave Kreskowiak11-May-04 3:48 

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.