Dec 1st, 2006, 12:10 AM
The thread.php?t=368471 is similar. That is:
Private Sub Control_MouseMove(ByVal sender As Object, _
ByVal e As System.Windows.Forms.MouseEventArgs) Handles mouseMove, Button1.MouseMove.
Console.WriteLine("Control_MouseMove: " & DirectCast(sender, Control).Name)
Good software like good food takes time to prepare.
Dec 1st, 2006, 12:23 AM
It might be hard though, so you'll need patience and a good bit of reading on the forums and via Google I don't have any of this in fresh memory so I can't help more than this.
Dec 1st, 2006, 04:20 AM
This seems like .NET code... If so, you'll get much better responce in the forums .NET section.
Dec 5th, 2006, 09:45 PM
While searching for information on DOM as suggested in one of the above responses, I found this:
which explains clone Method
Clones a copy of the current IXMLDOMSelection, with the same position and context.
Dim xmlDoc As New Msxml2.DOMDocument30 Dim xpath As IXMLDOMSelection Dim xpath2 As IXMLDOMSelection Dim temp1 As IXMLDOMNode Dim temp2 As IXMLDOMNode xmlDoc.loadXML ("<root><elem1>Hello</elem1><elem2>World!</elem2></root>") If (xmlDoc.parseError.errorCode <> 0) Then Dim myErr Set myErr = xmlDoc.parseError MsgBox("You have error " & myErr.reason) Else ' Create an XMLDOMSelection object from selected nodes. Set xpath = xmlDoc.selectNodes("root/elem1") ' Cache the XPath expression and context. xpath.expr = "root/elem1" Set xpath.context = xmlDoc ' Clone the XMLDOMSelection object. Set xpath2 = xpath.Clone() Set temp1 = xpath.peekNode() ' temp1 == <elem1/> MsgBox("temp1: " & temp1.xml) Set temp2 = xpath2.peekNode() ' temp2 == <elem1/> MsgBox("temp2: " & temp2.xml) ' Note that position and context are maintained. End If
I find no examples of being able to Poke text using this or similar method. Is that possible? I am not asking for code, I want a simple Yes or No on the Poke, unless the problem is more involved and someone has a ready solution.
My original question was to be able to simulate a click without having to locate the positon on the screen.
Can I somehow simulate that with a variation of the clone Method?
I need more help on this last question than a Yes Or No.
Click Here to Expand Forum to Full Width
Survey posted by VBForums.