Click here to Skip to main content
15,889,116 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Am working on vb 6.

Currently we are using microsoft obdc for oracle to connect with oracle database.
But i want to use oracle client...
I created DSN and used in connected string to open my data type. i'm using ADODB connection in my form.
but while executing my stored procedure its giving an error :"Parameter type not valid". (for input n output parameters am using parameter type adVarient).

Can u help me out..............??
Posted
Comments
S Houghtelin 20-Jul-11 14:30pm    
Can you provide the code where the error is generated?

1 solution

I believe you should do some googling.

Also check the following links if it can help you somewhere,

How to Use Stored Procedures in VB6[^]

http://www.vb6.us/tutorials/using-ado-and-stored-procedures-vb6[^]

http://www.vb6.us/tutorials/oracle-and-visual-basic-using-ado[^]
 
Share this answer
 
Comments
M.Ambigai 22-Jul-11 0:57am    
i've tried with all possible parameter types.
Am using varchar2 in my backend stored procedure.. i want exact parameter in my parameter in my frontend too. bcs varchar n varient sometimes give runtime exception.

In .net i used datatype varchar2 (In oracle client by jus adding reference of system.data.oracleclient).

Is there any possiblility here???

if i want to use varchar2 in vb6 wat is the reference i should add...?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900