Jump to content
Sign in to follow this  
feeney

Using IE UDF from C#

Recommended Posts

feeney

Hi,

i was wondering if anyone knows how to call an instance of $ie = _IECreate / _IENavigate from C# to Autoit as the functionality is not contained in the DLL, its contained in a serperate UDF called IE.au3.

Essentially what im trying to do is access all the functions in IE.au3 from C#???

What is the best way or how do i create IE.au3 into a DLL so then i can use it in C#?

Thankyou

Share this post


Link to post
Share on other sites
Richard Robertson

Doesn't work that way.

Also, turning IE.au3 into a dll won't happen.

In System.Windows.Forms is a control called WebBrowser. Use that. It's exactly the same thing but it's part of the framework and typesafe and all that fun stuff.

Share this post


Link to post
Share on other sites
Juvigy

You can make Executable via AutoIT doing what you need with IE.UDF and then run it with parameters from C#

Share this post


Link to post
Share on other sites
jvanegmond

Doesn't work that way.

Also, turning IE.au3 into a dll won't happen.

In System.Windows.Forms is a control called WebBrowser. Use that. It's exactly the same thing but it's part of the framework and typesafe and all that fun stuff.

I agree with what Richard said. You're not going to cheat your way out of learning how to do this in .NET.. But don't worry, it's pretty straight forward and since you already know the IE DOM a little it won't be hard.

In System.Windows.Controls is a WPF compatible WebBrowser.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×