Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 8th, 2004, 01:50 PM
Registered User
Join Date: Jul 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default simple API question (I think) - please respond

I am trying to make an application that gets the HTML source from an already open webpage, mines data using regular expressions, stores the information in an array, then puts the data from each element of the array into a specific field of the Action Request System / Remedy User application. What function(s) can I use to make the application poll the user's system to get information about the currently open apps? I want the app to assume nothing, so it needs to find out if the Remedy app is running, if not throw a message instructing the user to start the program, if it is running, I want my app to be able to access the HTML source from a webpage, then access the appropriate fields/controls in the Remedy app for populating a new profile entry. I'd like to do this in C#, but I'd rather have something quick that works, so if I need to do it in VB, I will. Any help/suggestions will be much appreciated. Please post questions for me if I need to clarify this mess.
Reply With Quote
  #2 (permalink)  
Old July 20th, 2004, 02:44 PM
Authorized User
Join Date: Jul 2004
Location: , , .
Posts: 69
Thanks: 0
Thanked 1 Time in 1 Post

The System.Threading namespace has loads of helper classes for finding running processes. See msdn for more detailed info. It is all well documented.

As for accessing the source of webpages... that is tricky if you mean the true "source code" of the page. If it is a scripted page and you don't have the login/password to the ftp server that hosts the page then it is just about impossible. But if you mean you want the HTML returned to any browser, then I would recommend you use the WebClient class found in System.Net namespace. It is really handy.

Get A Computer Job!
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
not at all simple question petergoodman XSLT 0 July 18th, 2008 08:37 AM
simple question petergoodman XSLT 8 July 18th, 2008 07:57 AM
Win API question.... RinoDM VB How-To 1 May 16th, 2007 01:52 PM
Win API question.... RinoDM Pro VB 6 0 May 16th, 2007 01:45 PM
Very Simple Question YoungLuke C# 2 May 4th, 2007 02:23 AM

All times are GMT -4. The time now is 12:55 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.