Click here to Skip to main content
15,887,416 members
Home / Discussions / C#
   

C#

 
GeneralRe: FindWindow analogue in C# Pin
J. Dunlap25-Jul-03 16:41
J. Dunlap25-Jul-03 16:41 
GeneralRe: FindWindow analogue in C# Pin
zecodela25-Jul-03 16:50
zecodela25-Jul-03 16:50 
GeneralRe: FindWindow analogue in C# Pin
J. Dunlap25-Jul-03 17:07
J. Dunlap25-Jul-03 17:07 
GeneralRe: FindWindow analogue in C# Pin
Eric Gunnerson (msft)25-Jul-03 17:26
Eric Gunnerson (msft)25-Jul-03 17:26 
GeneralRe: FindWindow analogue in C# Pin
J. Dunlap25-Jul-03 17:31
J. Dunlap25-Jul-03 17:31 
GeneralRe: FindWindow analogue in C# Pin
zecodela25-Jul-03 17:32
zecodela25-Jul-03 17:32 
GeneralRe: FindWindow analogue in C# Pin
J. Dunlap25-Jul-03 17:38
J. Dunlap25-Jul-03 17:38 
GeneralGetting frames from mshtml Pin
tstyaps25-Jul-03 14:15
tstyaps25-Jul-03 14:15 
Hi,

I am using shdocvw/mshtml to automate IE. I'm able to create an instance of IE, retrieve a document, and manipulate the document (i.e. fill in text fields, click buttons, etc).

The problem I'm having though, is working with pages that have frames. I am getting the top level page, and cannot seem to access any of the frames themselves. When I try calling the property .frames off my document, I get the error:

An unhandled exception of type 'System.InvalidCastException' occurred in UIAutomation.exe. Additional information: No such interface supported.

Does anyone know why this is? Maybe I'm assigning it improperly? When I enumerate through .all, I do see the frameset and frame elements. This problem happens on even simple pages such as:

http://www.htmlcodetutorial.com/frames/basicframeset.html

Thanks.
GeneralMilla Seconds in DateTime.Now Pin
eggie525-Jul-03 13:41
eggie525-Jul-03 13:41 
GeneralRe: Milla Seconds in DateTime.Now Pin
dynamic25-Jul-03 13:48
dynamic25-Jul-03 13:48 
GeneralRe: Milla Seconds in DateTime.Now Pin
dynamic25-Jul-03 13:52
dynamic25-Jul-03 13:52 
GeneralRe: Milla Seconds in DateTime.Now Pin
eggie525-Jul-03 14:04
eggie525-Jul-03 14:04 
GeneralRe: Milla Seconds in DateTime.Now Pin
Rocky Moore25-Jul-03 22:26
Rocky Moore25-Jul-03 22:26 
GeneralRe: Milla Seconds in DateTime.Now Pin
eggie525-Jul-03 22:40
eggie525-Jul-03 22:40 
GeneralRe: Milla Seconds in DateTime.Now Pin
leppie25-Jul-03 23:53
leppie25-Jul-03 23:53 
GeneralRe: Milla Seconds in DateTime.Now Pin
StealthyMark26-Jul-03 14:14
StealthyMark26-Jul-03 14:14 
Generalgetting the name of a passed parameter Pin
Rbledwards25-Jul-03 11:42
Rbledwards25-Jul-03 11:42 
GeneralRe: getting the name of a passed parameter Pin
albean25-Jul-03 11:48
albean25-Jul-03 11:48 
GeneralRe: getting the name of a passed parameter Pin
Rbledwards25-Jul-03 12:25
Rbledwards25-Jul-03 12:25 
GeneralRe: getting the name of a passed parameter Pin
Daniel Turini25-Jul-03 11:49
Daniel Turini25-Jul-03 11:49 
GeneralRe: getting the name of a passed parameter Pin
Jim Stewart25-Jul-03 11:54
Jim Stewart25-Jul-03 11:54 
GeneralRe: getting the name of a passed parameter Pin
Rbledwards25-Jul-03 12:26
Rbledwards25-Jul-03 12:26 
GeneralUpdating Listbox Items Pin
monrobot1325-Jul-03 10:37
monrobot1325-Jul-03 10:37 
GeneralRe: Updating Listbox Items Pin
albean25-Jul-03 11:37
albean25-Jul-03 11:37 
GeneralRe: Updating Listbox Items Pin
monrobot1326-Jul-03 6:21
monrobot1326-Jul-03 6:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.