|
Message Error show :Procedure declaration does not match description of event or procedure having the same name. This error message is showed in procedure
Private Sub adcVT_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, ByVal pError As ADODB.error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset)
With pRecordset
If bThem Then Exit Sub
If .EOF Or .BOF Then Exit Sub
txtMaVT = IIf(IsNull(!MaVT), "", !MaVT)
txtTenVT = IIf(IsNull(!TenVT), "", !TenVT)
txtDVTinh = IIf(IsNull(!DVTinh), "", !DVTinh)
txtMaVT_DVTK = IIf(IsNull(!MaVT_DVTK), "", !MaVT_DVTK)
If !LoaiVT Then
chkVattu.Value = 1
Else
chkVattu.Value = 0
End If
End With
End Sub
- I don't find procedure having same name when I check my project
- I think there 's error dll in my pc but I don't know them. Can u help me what 's error dll or why error ?
Thank u alot !
Baggio
|
|
|
|
|
Hi Baggio,
I am just guessing here because the "smile" covered up part of the error.
I think that I had this problem once. My error was located in this part of the code:
baggioberto wrote: Private Sub adcVT_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, ByVal pError As ADODB.error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset)
The problem was that I tried to type in the procedure's heading instead of selecting it from the drop down boxes. I had one letter wrong which generated the error. You can also get this error if you try to put code for a different procedure under the wrong heading.
I know that I haven't explained this very well but I'm hoping that you can figure out what I'm trying to say.
Good luck, Garner
|
|
|
|
|
Sir,
i want to know the currently logged username programically .
Thanks
|
|
|
|
|
you can get the currently logged in username with 'System.Environment.Username'
Tosch
|
|
|
|
|
|
|
A simple search would have given you lots of answers[^].
|
|
|
|
|
hello
i have to set a property map feature using google map.
and i don't get any solution that how can i link this google map with particular property.
plz help.
thanx
|
|
|
|
|
HI to all
I need a source code in any one one the following lanaguge of a program
java, VB, C, C++, VB.net
which objective is to block the web site
like diiferent "Web site blokcer"
a complete source code if any one have please please send me at
mnadeem_2000@ayahoo.com
muhammadnadeem_2002@hotmail.com
Please its URGENT
-- modified at 4:11 Friday 12th May, 2006
|
|
|
|
|
|
Hi guys
I'm implementing an application about MS Office Automation using VB.net.
How will I know that an active worksheet having some data or not in an existed excel file through our coding without specifying any cell range>
if it have some data ( ex: cell range from A1 to L8 ) then how to select the entire data?
let me know, whether we have any way to implement this.
urs
want to be best student for ever.
|
|
|
|
|
hi all,
i want to set sequence at runtime in datagrid. how can i do this. pls help
and give code also
vipin paliwal
|
|
|
|
|
hello all,
I m facing one error in my vb.net application, this error is not reproducable and pops up any time anywhere while this application is running
the error is "could not find any resources appropriate for the specified culture(or the neutral culture) on disk"
Can anybody tell me why this error popsups, and plzz give me solution to fix this error
regards,
Prasanna karandikar
|
|
|
|
|
Maybe the object you are using is destroyed
ICQ:258-235-734
|
|
|
|
|
hi,
but this doesnt happeen on specific form , this error can come up on any form, and this application is migrated from vb6 to vb.net framework 1.1, so what is the solution on this problem.
regards,
prasanna karandikar
|
|
|
|
|
follow up the scent
ICQ:258-235-734
|
|
|
|
|
I have a application which will check some data in database accroding to a timer,
I would like to show a message just like the new email/message alert box in MSN MESSAGER or OUTLOOK 2003.
How can I do that?
Besides that, how can I get the focus to my application when The checking indicate some differnece?
Thank you!
|
|
|
|
|
I have a textbox, how i can handle press "Enter" key event, i wait for help from everyone.
Thanks very much.
|
|
|
|
|
I am a newbie Just try this
Private Sub TextBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown
If e.KeyCode = Keys.Enter Then
e.Handled = True
End If
End Sub
|
|
|
|
|
Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
If e.KeyChar = Chr(13) Then
'event
End If
End Sub
ICQ:258-235-734
|
|
|
|
|
Hi,
I used this:
Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
If e.KeyChar = Chr(13) Then
'event
End If
End Sub
--> but it didn't work in my application
is there some property of the textbox that must be true or false to use this?
I can hit any other key and it works fine
but when i hit enter he does not go to this procedure
I use VS2005
what could i do, please help?
Thanks
Alwin
|
|
|
|
|
Never mind I solved it myself!
When i put off the Acceptbutton property of the form
it was OK!
Thanks Anyway
A.
|
|
|
|
|
That's Right
ICQ:258-235-734
MSN:msnadair@hotmail.com
|
|
|
|
|
Basically, what I am aiming for is to be able to take the current coordinates of the mouse onscreen and emulate a mouse click at that location by pressing a key on the keyboard.
I'm pretty much lost on locating the mouse and sending a click. Also, this needs to be able to send the click when other windows have the focus, and I don't know how to do that.
I've tried searching for this, but all I get are instructions in C#.
Thanks for taking the time to read this.
|
|
|
|
|
Hello, I am very new to Visual Basic / Visual Studio 2005 Pro and was wondering if anyone would be so kind to help me construct my first program..
I am using Microsofts sample Nwind.mdb database (With Customers and Orders in the data source window).
When I open my form I would like it to show 3 boxes - 1.The Order number box, 2.The Customer box and 3.The Freight box.
When I enter an order number and press enter it will populate the other 2 boxes.
Sorry if you get this questions all the time but the 'help' section is not helping me!!
I'd appreciate any help at all.
Thanks very much
--------------------------------------------------------------------------------
John C
-- modified at 16:56 Thursday 11th May, 2006
|
|
|
|