Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 8th, 2004, 01:50 PM
Registered User
 
Join Date: Jul 2004
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.
 
Old July 20th, 2004, 02:44 PM
Authorized User
 
Join Date: Jul 2004
Posts: 69
Thanks: 0
Thanked 1 Time in 1 Post
Default

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.



www.CoderForRent.com
Get A Computer Job!





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





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