Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Access DataGrid from other application

Access DataGrid from other application

Scheduled Pinned Locked Moved Visual Basic
csharpc++winformstesting
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cybrgeek
    wrote on last edited by
    #1

    I'm currently testing an application written in VB.NET using Mecury WinRunner. WinRunner doesn't seem to have very good support for the Windows Forms DataGrid control, so I'm planning on writing a DLL to work as a layer between WinRunner and the control. I'm not very familiar with .Net, most of the programming I do is in C++ using the Win32 API. With the Win32 API you can communicate with most controls by using the SendMessage function. Does the datagrid control respond to messages, or would it be possible for me to somehow clone the control only knowing it's HWND? I need to be able to access the data in the control, as well as be able to get/set the currently selected row, column, or cell. Any help would be greatly appreciated.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups