advanced please help! when i change onclick to on mouseover will display error messages, "Compile eorror: Procedure declaration doest not match the description off events, or procedure having the same name" how to solve it?
the function below is running properlyon my program, but my lecturer need me to do the on mouse over not onclick, Below this function is incharge the read function, when user browsing web page it can read the links on the webpage, when user click the link. but my lecturer need on mouse over to read. so please help me. thanks! This project deadline is coming soon. or contact me at MSN messenger [email protected]
coding:
Private Function g_onclick() As Boolean
On Error Resume Next
Dim messages As String
messages = g.parentWindow.event.srcElement.innerText
If messages <> "" Then
merlin.Speak messages
End If
End Function
But the coding really can run!! Just the Mouse over event through the web browser, i don't know how to write. Please help thanks! got any simple example!!!
1) Stop making posts like "Noone there?" etc.
2) I downloaded your project but i can't understand what you want to do!
I found g_OnClick public function which is not used anywhere and i can't understand where to make MouseOver event!
3) There are many vb errors on your project!
Please explain more and if you can, then we will help you!
sorry so late to reply! Actually i found what i want already, but i don't know how to get the on mouse over function to made it run properly in my browser. so anyone can help me get the on mouse over event to run well in my browser. thanks to advanced first! sorry for yesterday, because i am so nervous to find my answer, that is why i keep repost the nonsense . please apologize !
Last edited by hotwebs; Mar 13th, 2005 at 11:07 AM.
hotwebs, in VB, try Run -> Start With Full Compile (Shift+F5). This will pick up all your errors. ATM when I run the project it breaks on a whole lot of undimensioned variables.
I am generally pretty strict in my coding... Option Explicit, Option Compare Binary/Text, ByVal, ByRef... but when I sent Wokawidget one of my projects it didn't compile properly the first few times. The reason is, because as you develop the project, VB doesn't compile it every time... just the bits you have changed. But this often means other bits are affected, and VB doesn't pick that up. When it does though is when you do a full compile, i.e. Shift+F5 instead of F5. Then, all of the code is compiled at once and the errors that previously went undetected are picked up.