Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 242207
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T20:49:05+00:00 2026-05-11T20:49:05+00:00

I am working on a windows application using c# . I want to retrieve

  • 0

I am working on a windows application using c# . I want to retrieve URL from browser. but i am unable to do this .

private void WebListLoad()
{
    ListViewItem lvi;
    Process[] prs = Process.GetProcessesByName("firefox");
    try
    {

    //int handle = int.Parse(Console.ReadLine(), NumberStyles.HexNumber);
    //int txtLength = SendMessage(handle, WM_GETTEXTLENGTH, 0, 0);
    //StringBuilder sb = new StringBuilder(txtLength + 1);
    //SendMessage(handle, WM_GETTEXT, sb.Capacity, sb);


        foreach (Process proces in prs)
        {
            if (proces.MainWindowTitle.Length > 0)
            {
                lvi = listView2.Items.Add(System.Environment.UserName);
                lvi.SubItems.Add("");
                lvi.SubItems.Add(proces.MainWindowTitle.ToString());
                lvi.SubItems.Add(proces.StartTime.ToString());
            }
        }
    }
    catch
    {
    }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T20:49:05+00:00Added an answer on May 11, 2026 at 8:49 pm

    Firefox is a multi-tabbed browser, so getting the address of each of the tabs is not going to be easy.

    You will probably need to make a Firefox plugin that communicates with your C# app and supplies it the addresses of the tabs.

    Alternatively, see this url: http://social.msdn.microsoft.com/forums/en/csharpgeneral/thread/c60b1699-9fd7-408d-a395-110c1cd4f297

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

hiii i am working on window application using c#, i want to retrieve chat
I am working on a window application using c#. i want to retrieve chat
This is a Windows application using C#. I want to capture a screen shot
I am working on a simple chat application using a System.Windows.Forms.WebBrowser Control to display
I'm working with an n-Tier application using WinForm and WCF Engine Service (Windows Service)
I am working on a Windows Forms application in VS 2008, and I want
I'm working on windows application using C#. I generated the Report using IE control.
Greetings, I'm working in windows application using C#. I have typed-dataset called packetsDBDataSet and
I wrote a windows application using C# .Net 2.0 and i want to do
I am working on a windows application where i want to display orkut user

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.