My idea is to control IE instance by software


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: My idea is to control IE instance by software

  1. #1
    Join Date
    Dec 2005
    Posts
    17

    How to start application in parallel account fast user switch in XP

    How to start application in parallel account fast user switch in XP if patch allowing to use simultaneously PC is installed?
    How to make my application to start there in background automatically?

  2. #2
    Join Date
    Dec 2005
    Posts
    17

    My idea is to control IE instance by software

    My idea is to control IE instance by software
    I want to solve my problems in two ways

    First one is by controlling IE by mouse_event with cursorpos but not with sendmesage or postmessage API.
    I want to invisibly control IE instance and click on it where I want to by sending mouse_event, but without user notice, is there any chance?

    Is it possible to control IE for example in background while PC is idle and screensaver works?
    Or perhaps when PC is idle detect it and show JPEG screenshot and work with mouse_event on background, so to call behind the scene?
    Or perhaps in parallel user mode FAST USER SWITCH terminal service?

    I don’t want to click by parsing html code body.outerhtml, tagname ("A").click
    Any suggestions or any ideas with technical details?

    IE Controller source code here http://fresh-news.info/update/iecontrol.rar

  3. #3
    Join Date
    Dec 2005
    Posts
    17

    I want to invisibly control webbrowser control iwebbrowser2 in form

    I want to invisibly control webbrowser control iwebbrowser2 in form
    How to send a click to webbrowser control iwebbrowser2 control it clicks ok on simple html but if there is iframe or frame then it does not click on it

    Any suggestions?
    I don’t want to click by parsing html code body.outerhtml, tagname ("A").click


    Private Sub Command2_Click()

    Dim lHandle As Long
    lHandle = GetHandle(ie)
    MsgBox lHandle

    SendClick lHandle, Val(Text2.Text), Val(Text3.Text)
    End Sub

    Public Sub SendClick(lnghWND As Long, X As Long, Y As Long)
    Dim lngResult As Long
    Dim lnglParam As Long
    lnglParam = (Y * &H10000) + X
    lngResult = SendMessage(lnghWND, WM_LBUTTONDOWN, 0&, ByVal lnglParam)
    lngResult = SendMessage(lnghWND, WM_LBUTTONUP, 0&, ByVal lnglParam)
    txtlog.Text = lnghWND & " " & X & " " & Y & vbCrLf & txtlog.Text
    End Sub

Similar Threads

  1. Custom control that adds additional control
    By Ron Weller in forum VB Classic
    Replies: 5
    Last Post: 01-30-2007, 10:04 AM
  2. Replies: 2
    Last Post: 09-27-2006, 02:48 PM
  3. 5 Job Openings @ Pixar Animation Studios!
    By epalmore in forum Careers
    Replies: 0
    Last Post: 04-07-2006, 06:23 PM
  4. 3 Job Openings @ Pixar Animation Studios!
    By epalmore in forum Careers
    Replies: 0
    Last Post: 02-22-2006, 10:42 PM
  5. DockableWindow .NET Control Released
    By Actipro Software Support in forum dotnet.announcements
    Replies: 0
    Last Post: 02-11-2002, 02:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center