trying to get url of running mozzila from vb.net

View: New views
5 Messages — Rating Filter:   Alert me  

trying to get url of running mozzila from vb.net

by bhavin.pithawala :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi
i am trying to get url of running mozilaa though vb.net code.
can anyone let me know is it possible??
what do i need to do to achive this task?
I need guidance please help.
_______________________________________________
dev-tech-dom mailing list
dev-tech-dom@...
https://lists.mozilla.org/listinfo/dev-tech-dom

Re: trying to get url of running mozzila from vb.net

by bhavin.pithawala :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Aug 24, 2:55 am, bhavin.pithaw...@... wrote:

Please help please.
atleast let me know weather it is possible or not????
_______________________________________________
dev-tech-dom mailing list
dev-tech-dom@...
https://lists.mozilla.org/listinfo/dev-tech-dom

Re: trying to get url of running mozzila from vb.net

by Jens Sorensen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Its not going to be easy. You probably have to write a firefox
extension that gets the URL and via IPC sends it back to your .NET
application. Everything is possible :)

On Sun, Aug 24, 2008 at 11:58 AM,  <bhavin.pithawala@...> wrote:
> On Aug 24, 2:55 am, bhavin.pithaw...@... wrote:
>
> Please help please.
> atleast let me know weather it is possible or not????
> _______________________________________________
> dev-tech-dom mailing list
> dev-tech-dom@...
> https://lists.mozilla.org/listinfo/dev-tech-dom
>
_______________________________________________
dev-tech-dom mailing list
dev-tech-dom@...
https://lists.mozilla.org/listinfo/dev-tech-dom

Re: trying to get url of running mozzila from vb.net

by xsoftwerx :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Aug 24, 2:58 pm, bhavin.pithaw...@... wrote:
> On Aug 24, 2:55 am, bhavin.pithaw...@... wrote:
>
> Please help please.
> atleast let me know weather it is possible or not????

It is possible to get the url from a running instance of Firefox, but
it's also a bit of a hack...

You need to use sendkeys.

EG:
       Dim FFURL as string = string.empty
       sendkeys.sendwait("%l") ''//that's a lowercase L
       sendkeys.sendwait("%c")
       if my.computer.clipboard.containstext then
          FFURL = my.computer.clipboard.gettext
      end if

     Also, you'll need to be sure that firefox is the frontmost window
for this to work..
    Like I said, it's a bit of a hack and unfortunately the only way I
know of to get the url.
    Hope it helps you out or leads you in a better direction.
_______________________________________________
dev-tech-dom mailing list
dev-tech-dom@...
https://lists.mozilla.org/listinfo/dev-tech-dom

Re: trying to get url of running mozzila from vb.net

by bhavin.pithawala :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you.
That would be ok too.
Thanks i will use this till i found other ones.
_______________________________________________
dev-tech-dom mailing list
dev-tech-dom@...
https://lists.mozilla.org/listinfo/dev-tech-dom
LightInTheBox - Buy quality products at wholesale price!