Click here to Skip to main content
15,886,017 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: User's Manual .... [modified] Pin
Dave Kreskowiak16-May-07 9:27
mveDave Kreskowiak16-May-07 9:27 
QuestionMissmach type Pin
Vimalsoft(Pty) Ltd16-May-07 6:55
professionalVimalsoft(Pty) Ltd16-May-07 6:55 
AnswerRe: Missmach type Pin
Dave Kreskowiak16-May-07 7:56
mveDave Kreskowiak16-May-07 7:56 
GeneralRe: Missmach type Pin
Vimalsoft(Pty) Ltd16-May-07 19:50
professionalVimalsoft(Pty) Ltd16-May-07 19:50 
AnswerRe: Missmach type Pin
nlarson1116-May-07 7:59
nlarson1116-May-07 7:59 
GeneralRe: Missmach type Pin
Dave Kreskowiak16-May-07 8:21
mveDave Kreskowiak16-May-07 8:21 
GeneralRe: Missmach type Pin
nlarson1116-May-07 8:24
nlarson1116-May-07 8:24 
GeneralRe: Missmach type Pin
Vimalsoft(Pty) Ltd16-May-07 20:24
professionalVimalsoft(Pty) Ltd16-May-07 20:24 
Everything is now Ok but i have one Problem, please tell me what should i keep in mind, about the following Errors
"Application uses Value of wrong type for the current operation"

This is th errors in vb6

Set prmNum_key = ComNum_key.CreateParameter("Num_Key", adBigInt _
, adParamInput)

Set prmExtension = ComExtension.CreateParameter("Extension", adBigInt _
, adParamInput, , txtextension.Text)

Set prmCell_ID = ComCell_ID.CreateParameter("Cell_ID", adBigInt _
, adParamInput, , txtcellid.Text)

Set prmActual_Extent = ComActual_Extent.CreateParameter("Actual_Extent", adDouble _
, adParamInput, , txtactualextent.Text)

Set prmLis_key = ComLis_key.CreateParameter("Lis_Key", adChar _
, adParamInput, 50, txtliskey.Text)

Set prmFunc_key = ComFunc_key.CreateParameter("Func_key", adBSTR _
, adParamInput, 8, txtfunckey.Text)


Here is my SQl Procedure code

Create Procedure prcInserting @Num_key varchar(10),@Extension int,@Cell_ID int,
@Actual_Extent float,@Lis_key varchar(50), @Func_key varchar(8)
,@Active bit,@Add_date datetime,@Add_User_ID int,@Spatial_ADD_Date datetime
,@Rateable bit,@Non_Discreet_Valid bit
with recompile
as
insert into Propery(Num_key,Extension,Cell_ID,Actual_Extent,Lis_key,Func_key,Active,Add_date,Add_User_ID,Spatial_ADD_Date,Rateable,Non_Discreet_Valid)
values (@Num_key,@Extension,@Cell_ID,@Actual_Extent,@Lis_key, @Func_key,0,getdate(),1,getdate(),0,0)

And its working only in vb, tell me what to keep in mind with insert procedures that are linked to vb for input

Vuyiswa

GeneralRe: Missmach type Pin
Dave Kreskowiak17-May-07 2:44
mveDave Kreskowiak17-May-07 2:44 
Questioncopy object attributes Pin
Marc Soleda16-May-07 6:05
Marc Soleda16-May-07 6:05 
AnswerRe: copy object attributes [modified] Pin
Dave Kreskowiak16-May-07 6:24
mveDave Kreskowiak16-May-07 6:24 
QuestionDevelop Audio Video Conferencing System Pin
Rupesh Kumar Swami16-May-07 5:46
Rupesh Kumar Swami16-May-07 5:46 
AnswerRe: Develop Audio Video Conferencing System Pin
Dave Kreskowiak16-May-07 6:14
mveDave Kreskowiak16-May-07 6:14 
Questioncount number of rows in table Pin
peteyshrew16-May-07 3:40
peteyshrew16-May-07 3:40 
AnswerRe: count number of rows in table Pin
kubben16-May-07 4:01
kubben16-May-07 4:01 
GeneralRe: count number of rows in table Pin
peteyshrew16-May-07 4:19
peteyshrew16-May-07 4:19 
GeneralRe: count number of rows in table Pin
peteyshrew16-May-07 4:34
peteyshrew16-May-07 4:34 
GeneralRe: count number of rows in table Pin
Dave Kreskowiak16-May-07 4:39
mveDave Kreskowiak16-May-07 4:39 
Questionsyntax error Pin
peteyshrew16-May-07 3:05
peteyshrew16-May-07 3:05 
AnswerRe: syntax error Pin
andyharman16-May-07 3:53
professionalandyharman16-May-07 3:53 
GeneralRe: syntax error Pin
peteyshrew16-May-07 4:19
peteyshrew16-May-07 4:19 
QuestionInsert Stored Procedure taking values from vb Help Pin
Vimalsoft(Pty) Ltd16-May-07 3:00
professionalVimalsoft(Pty) Ltd16-May-07 3:00 
AnswerRe: Insert Stored Procedure taking values from vb Help Pin
Dave Kreskowiak16-May-07 4:11
mveDave Kreskowiak16-May-07 4:11 
GeneralRe: Insert Stored Procedure taking values from vb Help Pin
Vimalsoft(Pty) Ltd16-May-07 4:19
professionalVimalsoft(Pty) Ltd16-May-07 4:19 
GeneralRe: Insert Stored Procedure taking values from vb Help [modified] Pin
Vimalsoft(Pty) Ltd16-May-07 4:19
professionalVimalsoft(Pty) Ltd16-May-07 4:19 

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.